Repository navigation
fix(release): size FRV helper git output for extended-stable lag - #182050
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR raises the release helper’s captured local-command output limit to 256 MiB so large extended-stable comparisons can complete. Example: Validate the 2026.9.34 extended-stable candidate with 52,542 changed paths relative to main.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes a concrete release-helper failure still present on current main, with no introduced correctness or security defect found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe operator-facing full-release CLI reads candidate and main Git data, validates release contracts, and dispatches exact-SHA qualification workflows. flowchart LR
A[Release operator] --> B[Full release CLI]
B --> C[Local command runner]
C --> D[Git candidate comparison]
D --> E[Tooling lag warning]
E --> F[Qualification checks]
F --> G[GitHub workflow dispatch]
Technical reviewBest possible solution: Use the existing command runner with the explicit output ceiling while preserving the complete lag diagnostic and qualification checks. Do we have a high-confidence way to reproduce the issue? The PR records a real CLI failure, and current-main source confirms the unbounded changed-path listing reaches execFileSync’s default output limit; no target code was executed during this review. Is this the best way to solve the issue? This is a small, complete repair for the observed buffer overflow using the existing owner, without hiding errors or weakening release qualification. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 237fdc662d90. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther +4. Total +4 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 23, 2026, 8:58 PM ET / October 24, 2026, 00:58 UTC. |
|
Merged via squash.
|
Problem
pnpm ci:full-releasecrashes withspawnSync git ENOBUFSbefore dispatching extended-stable validation.warnCandidateToolingLagrunsgit diff --name-only <candidate> <main>throughrun(), which usesexecFileSync's 1 MiB default buffer. An extended-stable candidate (2026.9.34 onextended-stable/2026.9.33) trails main by ~16k commits and ~52.5k changed paths, so the path list overflows the buffer and the warning-only check aborts the whole dispatch.Solution
Give the helper's local
run()an explicit 256 MiB output ceiling. Behavior is otherwise unchanged.Evidence
node scripts/full-release-validation-at-sha.mjs --sha 67e2c23… --target-ref extended-stable/2026.9.33 … --dry-run→FAILED: spawnSync git ENOBUFSatwarnCandidateToolingLag(scripts/full-release-validation-at-sha.mts).15976 non-merge commit(s) behind main … 52542 net changed path(s)) and dispatch proceeds; FRV 40045960541 is running.Release-tooling fix for the 2026.9.34 extended-stable release. It will be cherry-picked to the release line in the next patch, not into the current frozen candidate.