Repository navigation
Conversation
[Low impact] The fixture changes appear safe to merge. SummaryUpdates the synthetic firmware producers without changing production limits or test assertions.
Review limits: tests were not rerun. Superseded status could not be checked because GitHub authentication was unavailable. Reviews (1) · Last reviewed commit: "test(firmware): apply the Wasm flag only..." · Reviewed by Greptile |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Additional Linux validation for
Environment caveat: ambient No full repository suite, full |
Summary
Keep the synthetic firmware producers reliable on the supported Node 22/24/26 lines without changing production resource limits or weakening test assertions.
Related to #5672: these failures were found while rerunning its cancellation fix after @CassieFox23 requested fresh verification. The recorded findings reproduced on unchanged upstream. This PR is independently based on
238914974; #5672 is the discovery context, not a dependency.Problem and expected behavior
--jitless, breaking the two exact missing-report stderr assertions.Worklist::Segment::Createout-of-memory under the existing 1 GiB address-space limit, before the intended publication/continuation assertions run.The synthetic producer should finish within the real limiter and emit its intended diagnostics.
Change and scope
--no-expose-wasmonly on Node 22, where it prevents the startup warning. Newer tested versions do not accept this option.finally, reducing chunk-allocation pressure.Contribution scope: not applicable — ordinary test-fixture maintenance within the existing boundary.
Contract and boundary impact
Evidence and regression coverage
Linux matrix, exact candidate
15c9c975:Unchanged
238914974reproduces the two Node 22 failures. The Node 26 failure is intermittent: its suite passed in this matrix, but two of three standalone producer repeats aborted; the earlier baseline suite also failed the oversized-child case.A same-runner Node 26 comparison then ran each revision 20 times under the unchanged 1 GiB limit: baseline 14 aborts/20, candidate 0/20. Every successful output was independently checked with Python for size 134,217,729 and SHA-256 matching its report. This is a bounded sample, not a failure-rate estimate.
For completed standalone Node 26 runs on that runner, peak RSS was 64,824–65,036 KiB on baseline versus 49,852–50,272 KiB on the candidate; elapsed time was 0.12–0.13 s versus 0.14–0.15 s, and user+system CPU was 0.15–0.16 s versus 0.13–0.14 s. These are
/usr/bin/time -vproducer-process measurements, not full extraction benchmarks or cold/warm cache comparisons. Agent-token costs were not measured.Validation performed
npm run test:focused --the five firmware boundary files plustests/boundary/mcp/firmwareMcp.test.ts— 66 passed on each Node version.npm run checkon Node 24/Linux — passed, including typecheck, built lint, formatting, knip, metadata and architecture guards; lint reported 0 errors and 2744 warnings.git diff --check— passed.Compatibility, safety, and release
No production or release changes. The temporary verification workflows stay on separate fork branches. Real Unblob/Binwalk and other operating systems were not exercised by this change; the MCP test uses the synthetic producer. Full-suite coverage remains with upstream CI.
Author readiness
Human owner: @Plastic-time
Before merge
type(scope): outcome.