mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
813c2b6837
go test places t.TempDir under GOTMPDIR, and the preflight worker nested that under its per-run directory, so unix socket fixtures in cmd/pulse-agent-helper, internal/agenthelper, and internal/dockeragent exceeded the 108-byte sun_path limit and failed with "bind: invalid argument". GitHub runners leave GOTMPDIR unset, and the longest rootless Podman fixture sits exactly at the limit under /tmp, so the worker now leaves GOTMPDIR unset by default and only honours an explicit PULSE_RELEASE_PREFLIGHT_GO_TMP_DIR override. Two cmd/pulse-agent helper tests ran without a state directory, so the agent consulted the platform default /var/lib/pulse-agent. On a host where that path exists as a private directory the pending-update handoff lookup fails with permission denied. Give those tests an isolated state directory.