Commit Graph

4 Commits

Author SHA1 Message Date
pulse-triage[bot]
25457f31e7 Raise lifecycle pulse-agent build timeout for contended CI shards
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
2026-11-28 17:49:01 +00:00
pulse-triage[bot]
08156df97d Share the real action runner build across installer checks
The same required installer race slice builds an identical runner for
atomic cancellation, self-revocation and recovered transport trust. Reuse one
source build per test process with a private executable copy for each caller.
Keep the real binary, original trust assertions and existing collector build
deadline; do not share state, trust configuration or earlier verdicts.

Contract-Neutral: Installer test fixture build reuse only; product behavior, coverage, required CI, and runtime contracts are unchanged.
Change-source: pulse-maintainer
2026-11-19 11:20:03 +00:00
pulse-triage[bot]
75e44cc8ab Reuse the real agent build in installer admission and removal tests
Build the exact checkout's agent once per installer test process via the existing lifecycle fixture. Give the URL and saved-transport tests their own executable copies and retain their three-minute build bound and existing assertions. No application code, test cases or CI check selection changes.

Change-source: pulse-maintainer
2026-11-19 01:52:20 +00:00
pulse-triage[bot]
4c67df5dbd Build the lifecycle agent once per installer test process
Keep the exact-source build and a private executable for every test while avoiding repeated compilation and linking. Cache failures, clean the build directory, and test concurrent reuse, copy isolation and fail-stop behaviour.

Contract-Neutral: test-only lifecycle binary fixture reuse; product behaviour and safety assertions are unchanged.
Change-source: pulse-maintainer
2026-10-29 13:08:12 +00:00