Pulse/internal/dockeragent
rcourtman ebb08e0de2 Make native-agent test fixtures path-portable on Windows
The dockeragent credential-store tests keyed their fake filesystem and
path-bearing env seams on POSIX literals, while dockerConfigCredentials
builds candidate config paths with filepath.Join. On Windows every lookup
therefore missed the fixture and the nine credential-expecting
TestDockerConfigCredentials_* cases failed with a nil credential; the
hostagent PULSE_PCT_PATH override test likewise asserted a POSIX path that
is not absolute on Windows. Map fixture keys and env values through
filepath.FromSlash and anchor the override on t.TempDir().

Taken from PR #1755 (ff96aed8c) so the correction lands on main instead of
a parked agent branch. The unified-agent-native Windows x64 job has been
red on every push run since these tests landed on 2026-08-13; the
intervening green runs were pull_request events exercising that PR's own
corrected fixtures.

Contract-Neutral: test fixtures only, no production runtime change.
2026-08-21 22:36:52 +01:00
..
agent.go Read host Docker credentials for private registry update checks 2026-08-13 10:06:26 +01:00
agent_collect_test.go Expose Docker health-check dependencies to Patrol 2026-08-16 16:58:44 +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 Fix Docker agent test JSON-marshal race by making the hook per-Agent 2026-07-28 17:16:06 +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 Read host Docker credentials for private registry update checks 2026-08-13 10:06:26 +01:00
agent_log_test.go
agent_report_coverage_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
cleanup.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
cleanup_coverage_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
collect.go Expose Docker health-check dependencies to Patrol 2026-08-16 16:58:44 +01:00
container_lifecycle_typed.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00
container_lifecycle_typed_test.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +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 Allow agents to include filtered disk mounts 2026-08-11 16:37:37 +01:00
deps_coverage_test.go
docker_client.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00
env_mask_test.go
hardening.go fix(dockeragent): bound the collect cycle with a watchdog and pin hung-daemon deadline behavior 2026-07-17 23:37:41 +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
http_limits.go feat: Pulse v6 release 2026-03-18 16:06:30 +00: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
multi_target_test.go Fix bounded Docker update checks 2026-07-23 21:38:20 +01:00
registry.go Read host Docker credentials for private registry update checks 2026-08-13 10:06:26 +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 Route Pulse images through product update checks 2026-08-11 16:39:12 +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
runtime_coverage_test.go Migrate Docker integrations to maintained Moby modules 2026-04-18 11:40:38 +01:00
runtime_reconnect.go Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00
self_update.go Keep self-update preflight tokens out of argv 2026-04-22 08:12:35 +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