mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-06 18:39:42 +00:00
25457f31e7
PR #5419 (run 46167305741) failed Backend tests (rest-1) twice on attempts 141049444349 and 141057010855 with: install_sh_test.go:9828: build pulse-agent lifecycle binary: signal: killed context deadline exceeded (180.04s) Backend CI restores -race build objects, not plain non-race objects. Cold plain compilation of ./cmd/pulse-agent needs ~250 CPU-seconds (scripts/run-release-backend-tests.sh), which exceeds 3 minutes when rest-1 runs internal/monitoring, internal/alerts, cmd/pulse-agent, and scripts/installtests concurrently on a 4-vCPU runner. Because newLifecycleBinaryFixture caches the first build result via sync.OnceValues, that timeout failed every subsequent lifecycle test in the shard. Raise lifecycleAgentFixture's bounded build deadline from 3 minutes to 10 minutes while preserving the real exact-source compilation, per-test executable copies, and fail-closed caching. Contract-Neutral: Test-only fixture build deadline adjustment in scripts/installtests; production code, installer behavior, and test assertions are unchanged. Change-source: pulse-maintainer