Repository navigation
fix(release): bound candidate tooling lag path count - #182047
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 counts changed paths with Git’s compact summary instead of buffering every filename. Example: Validate the 2026.10.10-beta.4 candidate with 38,551 changed paths and a 1,848,296-byte filename list.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review The earlier finding is resolved, and no introduced correctness or security defect remains. Keep this maintainer-authored PR open as a focused improvement to the release diagnostic. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe full-release CLI compares candidate and main Git revisions, emits an advisory tooling-lag warning, and continues into qualification admission and workflow dispatch. flowchart LR
A[Release operator] --> B[Full release CLI]
B --> C[Candidate and main comparison]
C --> D[Compact path count]
D --> E[Tooling lag warning]
E --> F[Qualification admission]
F --> G[Workflow dispatch]
Technical reviewBest possible solution: Keep the existing diagnostic owner and obtain its path count without materializing filenames. Do we have a high-confidence way to reproduce the issue? The original ENOBUFS failure is supported by the recorded CLI trace and original source; current main’s larger buffer accommodates that input, and no target code was executed during this review. Is this the best way to solve the issue? The compact Git summary is a small, direct repair that avoids unnecessary output while retaining the existing warning and qualification contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 77001de66da1. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +3, Other +4. Total +7 across 2 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 HistoryReview history (1 earlier review cycle)
Reviewed October 23, 2026, 9:18 PM ET / October 24, 2026, 01:18 UTC (Revision 2). |
|
@clawsweeper re-review Replaced the obsolete |
|
🦞👀 Re-review progress:
|
(cherry picked from commit 0afc988)
Problem
pnpm ci:full-releasefor the 2026.10.10-beta.4 candidate (release/2026.10.10@ed86799d836) fails before admission withspawnSync git ENOBUFS. The advisory candidate tooling-lag warning buffersgit diff --name-only <candidate> <main>; that list is 1.8 MB for this branch (38,551 changed paths), over Node's 1 MBexecFileSyncdefault buffer.Solution
Read the net changed-path count from
git diff --shortstatinstead of buffering every path name. The warning text and--dirstatarea summary are unchanged.Impact
Release candidates whose tree has drifted far from main can dispatch Full Release Validation again. No workflow, admission, or qualification behavior changes.
Evidence
[full-release-validation] FAILED: spawnSync git ENOBUFSright afterValidation SHA fetchable by bare SHA: ed86799d….git diff --no-renames --name-only ed86799d836 origin/main | wc -c→ 1,848,296;--shortstat→38551 files changed.oxfmt --checkclean.