Pulse/internal/dockeragent
pulse-triage[bot] 6d7854724e test(dockeragent): protect CPU baseline routing across modules
Issue #1894 exposed CPU sampling interference between host and Docker reporting loops. Existing tests cover independent collectors and host routing but do not exercise Docker's production dependency entry points.

Interleave the real host, Docker and package-level collectors over synthetic procfs counters. Alternate Docker's include and no-include paths and require each loop to retain a full-interval 5 percent baseline. Production behaviour is unchanged.

Validation: focused test passed; reverting either Docker route to the package-level collector made it fail. After restoration, three focused CPU tests passed with -race -count=3 across dockeragent, hostagent and hostmetrics. git diff --check passed.

Change-source: pulse-maintainer
2026-09-05 06:03:18 +01:00
..
action_runtime.go Separate agent remediation runtime 2026-08-29 23:48:28 +01:00
agent.go Log rootless admission fallback reasons 2026-09-01 18:39:23 +01:00
agent_collect_test.go Bound container stats response bodies 2026-09-01 08:47:51 +01:00
agent_concurrency_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
agent_cpu_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
agent_flow_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
agent_flushbuffer_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
agent_http_test.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
agent_image_digest_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
agent_integration_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
agent_internal_test.go Log rootless admission fallback reasons 2026-09-01 18:39:23 +01:00
agent_log_test.go Improve agent update logging and installer warnings (related to #737) 2025-11-23 22:07:37 +00:00
agent_report_coverage_test.go Bound stopped-container Docker inspection cadence 2026-08-28 19:05:40 +01:00
cleanup.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
cleanup_coverage_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
collect.go Bound container stats response bodies 2026-09-01 08:47:51 +01:00
container_lifecycle_typed.go fix(patrol): require Docker health recovery 2026-08-27 20:43:54 +01:00
container_lifecycle_typed_test.go fix(patrol): require Docker health recovery 2026-08-27 20:43:54 +01:00
container_update.go Fix Docker agent test JSON-marshal race by making the hook per-Agent 2026-07-28 17:16:06 +01:00
container_update_contract_test.go Prepare v6.1.2 stable patch release 2026-07-26 20:38:42 +01:00
container_update_integration_test.go Ensure Docker lifecycle lab removes fixtures 2026-07-23 22:06:57 +01:00
container_update_test.go Backfill agent-lifecycle governance for the marshal-hook race fix 2026-07-28 22:33:55 +01:00
container_update_typed.go Gate Patrol actions on agent preflight 2026-08-14 01:12:49 +01:00
container_update_typed_test.go fix outstanding integration and agent regressions 2026-07-29 22:10:04 +01:00
deps.go Isolate host and Docker CPU sampling baselines (#1894) 2026-09-04 22:29:32 +01:00
deps_coverage_test.go feat(dockeragent): improve test coverage and refactor registry dependencies 2025-12-29 09:57:45 +00:00
docker_client.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00
env_mask_test.go feat: Display environment variables for Docker containers 2025-12-25 23:52:57 +00:00
hardening.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
hardening_test.go fix(dockeragent): bound the collect cycle with a watchdog and pin hung-daemon deadline behavior 2026-07-17 23:37:41 +01:00
helper_inventory.go Surface typed helper container degradation 2026-08-31 15:53:50 +01:00
helper_inventory_test.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
http_limits.go Bound container stats response bodies 2026-09-01 08:47:51 +01:00
hung_daemon_deadline_test.go fix(dockeragent): bound the collect cycle with a watchdog and pin hung-daemon deadline behavior 2026-07-17 23:37:41 +01:00
image_ref_test.go fix: Docker container update detection showing false positives 2025-12-29 13:49:04 +00:00
issue1894_cpu_routing_test.go test(dockeragent): protect CPU baseline routing across modules 2026-09-05 06:03:18 +01:00
multi_target_test.go Fix bounded Docker update checks 2026-07-23 21:38:20 +01:00
registry.go Fix false self-container update reports 2026-08-25 18:37:57 +01:00
registry_coverage_test.go Handle registry responses without digest headers 2026-08-11 16:39:36 +01:00
registry_credentials.go Read host Docker credentials for private registry update checks 2026-08-13 10:06:26 +01:00
registry_credentials_test.go Make native-agent test fixtures path-portable on Windows 2026-08-21 22:36:52 +01:00
registry_http_test.go Fix false self-container update reports 2026-08-25 18:37:57 +01:00
registry_manifest_test.go Handle registry responses without digest headers 2026-08-11 16:39:36 +01:00
registry_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
report_size_test.go Fix Docker report size contract drift 2026-07-23 23:57:42 +01:00
rootless_endpoint_linux.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
rootless_endpoint_linux_test.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
rootless_endpoint_other.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
runtime_coverage_test.go Integrate typed helper container summaries 2026-08-30 21:29:11 +01:00
runtime_reconnect.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
self_update.go Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
self_update_test.go Make native agent tests Windows-safe 2026-07-09 23:51:50 +01:00
signature.go Require signed unified agent release assets 2026-04-22 02:00:29 +01:00
signature_test.go Require signed unified agent release assets 2026-04-22 02:00:29 +01:00
swarm.go Use node-local task counts for node-scoped swarm services 2026-06-04 10:16:09 +01:00
swarm_coverage_test.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00
swarm_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
system.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
system_coverage_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
systemd_test.go Make native agent tests Windows-safe 2026-07-09 23:51:50 +01:00
test_helpers_test.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00
update_all.go Fix Docker agent test JSON-marshal race by making the hook per-Agent 2026-07-28 17:16:06 +01:00
update_all_decode_branchcov0723am_test.go Fix Docker agent test JSON-marshal race by making the hook per-Agent 2026-07-28 17:16:06 +01:00
version.go Harden unified agent update preflight 2026-06-02 23:54:48 +01:00