Repository navigation
ci(platform): give the Type check job a 6 GiB Node heap - #4007
Merged
Merged
Conversation
Several uncached platform checks reached V8's default heap limit near 4 GiB. Set the Type check job's Node old-space budget to 6 GiB and report its runtime, heap limit and available resources. Pass extended diagnostics to the existing compiler tasks and capture GNU time peak RSS when available. Keep compiler programs and strictness unchanged. A hosted run must establish actual task execution and result; the changed argument alone does not prove a cold cache. Refs #4005, #4000
Contributor
Author
|
Accepted the exact published tree and normally squash-merged as
The compiler's reported memory is a completion snapshot; native RSS is not aggregate concurrent job memory. This demonstrates the resource repair at this source, without claiming that partial historical measurements ruled out all type growth or that future cache hits prove execution. PRs #4003 and #4001 now have ordinary expected-head updates to this accepted main and still require their own fresh normal validation. Prior failed attempts remain preserved. |
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.
Uncached platform typechecks in #4003 and #4001 reached V8's default heap limit near 4 GiB and exited 137. Other hosted runs, including #4004, completed, so this evidence establishes a fragile memory boundary without isolating every contributor to whole-program typechecking cost.
Give the existing Type check job a 6 GiB Node old-space budget. Log its resolved Node/V8 runtime, effective heap limit and runner resources; pass
--extendedDiagnosticsto the existing compiler tasks and report peak RSS through GNU time when available. Compiler programs, strictness, the job timeout and the other jobs remain unchanged. Document the budget and cache distinction in the repository contract.Verification on the exact two-file patch:
git diff --check: passed.These local checks used retained dependencies, Bun 1.3.10 and Node 22.22.0; CI pins Bun 1.4.2. A complete local platform typecheck was not run. The author's parse/bind-only
--noCheckmeasurement and scoped typechecks do not prove the absence of whole-program type expansion. The diagnostics argument changes Turbo's task inputs but does not guarantee a cold hosted result. Normal hosted validation must show the actual platform task execution/cache status, effective heap, diagnostics and result before this repair is accepted as demonstrated.Closes #4005. Refs #4000.