You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Full test suite can time out installer fixture build under parallel load #352
test/install.test.ts builds the package once through synchronous node scripts/build.ts in packRelease(), with a 120,000 ms timeout.
While the full Node test runner is executing its many other files, that child build exceeded the timeout (127,997 ms observed). spawnSync() therefore returned status: null.
All five installer tests fail at the common assertion on line 33 before their individual installer behavior runs.
Expected: a machine that can complete the build should not fail all installer tests merely because the full suite is busy.
Actual: the shared fixture has a fixed 120-second synchronous build timeout and reports null !== 0.
Relevant output
✖ installer verifies the published checksum before installing (127997ms)
AssertionError: null !== 0
at test/install.test.ts:33
ℹ tests 677
ℹ pass 671
ℹ fail 5
The other four failures are the same shared packRelease() failure. The normal strict TypeScript check passed.
Possible fixes: raise or make the timeout load-aware; serialize/isolated-package this fixture so it does not compete with the full suite; or prepare a candidate archive once in a dedicated package-test step while retaining a test that verifies a fresh archive. Preserve the intent that the test does not depend on pre-existing dist/.
This is a test-harness/CI reliability finding; I did not verify it on GitHub Actions or a quiet machine.
Progress: PR #379 opened: the installer fixture build runs through an async execFile with a 600 s hang safety net and a clear timeout/exit message; could not reproduce the original 128 s build under 4x CPU oversubscription.
Merged in #379: the installer fixture's build and pack now run through an async execFile with a 600 s hang safety net, and a timeout or non-zero exit reports 'installer fixture build timed out after N ms' or 'exited with CODE after N ms' plus the child's output, instead of 'null !== 0'. The original 128 s build could not be reproduced (a quiet build takes ~1.2 s; 4x CPU oversubscription made it ~9 s), so the root cause of that one observation is unconfirmed. Keeping this open to see whether it recurs; other fixed spawnSync timeouts in test/ and scripts/ can fail with the same status-null shape and were left alone.
Activity
jimhoyd commentedon Sep 21, 2026
Progress: an agent has started on this; a PR will be linked here when it opens.
jimhoyd commentedon Sep 21, 2026
Progress: PR #379 opened: the installer fixture build runs through an async execFile with a 600 s hang safety net and a clear timeout/exit message; could not reproduce the original 128 s build under 4x CPU oversubscription.
Make the installer fixture build async with an explicit timeout error…
jimhoyd commentedon Sep 21, 2026
Merged in #379: the installer fixture's build and pack now run through an async execFile with a 600 s hang safety net, and a timeout or non-zero exit reports 'installer fixture build timed out after N ms' or 'exited with CODE after N ms' plus the child's output, instead of 'null !== 0'. The original 128 s build could not be reproduced (a quiet build takes ~1.2 s; 4x CPU oversubscription made it ~9 s), so the root cause of that one observation is unconfirmed. Keeping this open to see whether it recurs; other fixed spawnSync timeouts in test/ and scripts/ can fail with the same status-null shape and were left alone.
Bound remaining fixed subprocess timeouts with shared budgets (#413, #…