Repository navigation
Installer test: async fixture build with explicit timeout diagnostics (refs #352) - #379
Merged
Merged
Conversation
… (refs #352) The synchronous 120s build reported a timeout as 'null !== 0'. Run build and pack through an async child with a 600s safety budget, and report timeout vs non-zero exit with elapsed time and child output. Co-Authored-By: Claude Sonnet 5 <[email protected]>
jimhoyd
added a commit
that referenced
this pull request
Sep 22, 2026
…352, #412) (#431) Package smoke's TypeScript probe and the installer test's installer/doctor children still used fixed 120s/180s/60s limits; they now use the same generous hung-child budgets as their siblings. The ReDoS ceiling and installer fixture build were already relaxed by #414 and #379. Co-authored-by: Claude Sonnet 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #352 (does not close it).
Evidence: build alone 1.2s; full npm test on 12 cores: first installer test (build+pack) 8.2s, 0 failures; with 48 CPU burners (4x oversubscription) build 9.3s (8x). The 128s in the issue is not reproduced here, so the fixed 120s budget is a load-sensitive guard, not a measured cost. Nothing else in test/ builds dist; CI already runs npm run build before npm test.
Change: build and npm pack in packRelease() now run through an async execFile helper (does not block the file's event loop), 600s safety budget, and failures say 'timed out after N ms (budget ...)' or 'exited with CODE after N ms' plus child output. Each installer test still uses the freshly built and packed tarball.
Other fixed spawnSync/execFileSync timeouts (10-120s) in test/ and scripts/ run the built CLI or npm pack, not builds; they share the same 'status null' failure shape but were not changed.
Verified: npm ci, npm run verify (exit 0), lint, tsc.
🤖 Generated with Claude Code