Repository navigation
fix(release): show postpublish network failure details - #178147
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR prints bounded nested error causes when publication verification fails. Example: A registry read fails with a nested getaddrinfo ENOTFOUND registry.npmjs.org error.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it makes release failures more actionable, remains necessary on current main, and introduces no identified blocking defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe publication verifier checks release artifacts and registry visibility, then reports failures to release operators through stderr. flowchart TD
A[Release operator] --> B[Publication verifier CLI]
B --> C[Registry and artifact read owners]
C --> D[Error with nested causes]
D --> E[Bounded error formatter]
E --> F[Operator stderr]
Technical reviewBest possible solution: Keep cause rendering in the existing dependency-free script error owner and use it at the publication verifier’s final error boundary. Do we have a high-confidence way to reproduce the issue? Source inspection establishes that read owners preserve nested causes while the current-main CLI prints only the outer message; no target code was executed during this read-only review. Is this the best way to solve the issue? The change addresses the diagnostic loss at its final rendering boundary, reuses the existing formatting owner, and bounds traversal without altering other callers’ output. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 23c99ef87404. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +26, Other +14. Total +40 across 3 files. Added test files: 1. 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 Reviewed October 20, 2026, 2:23 AM ET / 06:23 UTC. |
Co-authored-by: RomneyDa <[email protected]>
c60bbb8 to
fb57bb7
Compare
|
CI repair: classified the new dependency-light cause formatter in the coercion-helper declaration guard. |
* fix(release): retain postpublish failure causes (#178147) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(release): make FRV no-op commands succeed (#178149) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(release): reuse admitted changelog descendants Co-authored-by: RomneyDa <[email protected]> * fix(release): show readable SDK acknowledgement diff Co-authored-by: RomneyDa <[email protected]> * fix(release): retry unstarted FRV reruns after 5xx (#178160) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(release): report FRV plan sealing state Co-authored-by: RomneyDa <[email protected]> * fix(release): declare FRV plan lifecycle APIs Declare the plan lifecycle helpers consumed by the TypeScript tests so NodeNext resolution checks the new exports. Co-authored-by: RomneyDa <[email protected]> * fix(release): recover every failed artifact producer Account for npm, Docker, and candidate producer jobs during failed release continuation, binding each recovery to the authenticated workflow and exact dispatch evidence. Co-authored-by: RomneyDa <[email protected]> * fix(release): retain discovered artifact producers Co-authored-by: RomneyDa <[email protected]> * fix(release): audit backport companion closure Add a bounded, evidence-only audit for later same-path commits, PR companions, neighbor tests, reference candidates, and candidate file/content differences. Co-authored-by: RomneyDa <[email protected]> * fix(release): satisfy companion scanner lint Co-authored-by: RomneyDa <[email protected]> * fix(release): gate integrated branch pushes Validate a captured release SHA from an immutable detached checkout, then push that exact SHA only after static, type, dead-code, and changed-test gates pass. Co-authored-by: RomneyDa <[email protected]> * fix(release): gate stable branch pushes Co-authored-by: RomneyDa <[email protected]> * fix(release): recover FRV before plan seal Checkpoint exact attempt-one preparation inputs before execution-plan sealing so a retry can recover pre-seal failures without rebuilding authority from live state. Bind the eventual sealer attempt into the immutable plan and authenticate it at publication and cancellation boundaries. Co-authored-by: RomneyDa <[email protected]> * fix(release): keep plan cache writes attempt-scoped Co-authored-by: RomneyDa <[email protected]> * test(release): complete batch backport fixtures Co-authored-by: RomneyDa <[email protected]> * fix(release): validate admitted descendant reuse at seal Co-authored-by: RomneyDa <[email protected]> * fix(release): accept backport companion separator Co-authored-by: RomneyDa <[email protected]> * fix(release): accept orchestrated stable push shape Co-authored-by: RomneyDa <[email protected]> * fix(release): retain legacy npm recovery Co-authored-by: RomneyDa <[email protected]> * fix(release): authenticate preseal checkpoint layout Co-authored-by: RomneyDa <[email protected]> * fix(release): adopt recovered artifact attempts Co-authored-by: RomneyDa <[email protected]> * fix(release): recheck producers before rerun retries Co-authored-by: RomneyDa <[email protected]> * test(release): type cached plan fixture explicitly Co-authored-by: RomneyDa <[email protected]> * fix(release): keep candidate recovery fail closed * fix(release): adopt retried Docker architectures * test(release): cover Docker producer jobs --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
* fix(release): retain postpublish failure causes (#178147) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(release): make FRV no-op commands succeed (#178149) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(release): reuse admitted changelog descendants Co-authored-by: RomneyDa <[email protected]> * fix(release): show readable SDK acknowledgement diff Co-authored-by: RomneyDa <[email protected]> * fix(release): retry unstarted FRV reruns after 5xx (#178160) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(release): report FRV plan sealing state Co-authored-by: RomneyDa <[email protected]> * fix(release): declare FRV plan lifecycle APIs Declare the plan lifecycle helpers consumed by the TypeScript tests so NodeNext resolution checks the new exports. Co-authored-by: RomneyDa <[email protected]> * fix(release): recover every failed artifact producer Account for npm, Docker, and candidate producer jobs during failed release continuation, binding each recovery to the authenticated workflow and exact dispatch evidence. Co-authored-by: RomneyDa <[email protected]> * fix(release): retain discovered artifact producers Co-authored-by: RomneyDa <[email protected]> * fix(release): audit backport companion closure Add a bounded, evidence-only audit for later same-path commits, PR companions, neighbor tests, reference candidates, and candidate file/content differences. Co-authored-by: RomneyDa <[email protected]> * fix(release): satisfy companion scanner lint Co-authored-by: RomneyDa <[email protected]> * fix(release): gate integrated branch pushes Validate a captured release SHA from an immutable detached checkout, then push that exact SHA only after static, type, dead-code, and changed-test gates pass. Co-authored-by: RomneyDa <[email protected]> * fix(release): gate stable branch pushes Co-authored-by: RomneyDa <[email protected]> * fix(release): recover FRV before plan seal Checkpoint exact attempt-one preparation inputs before execution-plan sealing so a retry can recover pre-seal failures without rebuilding authority from live state. Bind the eventual sealer attempt into the immutable plan and authenticate it at publication and cancellation boundaries. Co-authored-by: RomneyDa <[email protected]> * fix(release): keep plan cache writes attempt-scoped Co-authored-by: RomneyDa <[email protected]> * fix(release): adapt batch backport to stable train Co-authored-by: RomneyDa <[email protected]> * fix(release): validate admitted descendant reuse at seal Co-authored-by: RomneyDa <[email protected]> * fix(release): accept backport companion separator Co-authored-by: RomneyDa <[email protected]> * fix(release): accept orchestrated stable push shape Co-authored-by: RomneyDa <[email protected]> * fix(release): retain legacy npm recovery Co-authored-by: RomneyDa <[email protected]> * fix(release): authenticate preseal checkpoint layout Co-authored-by: RomneyDa <[email protected]> * fix(release): adopt recovered artifact attempts Co-authored-by: RomneyDa <[email protected]> * fix(release): recheck producers before rerun retries Co-authored-by: RomneyDa <[email protected]> * test(release): type cached plan fixture explicitly Co-authored-by: RomneyDa <[email protected]> * fix(release): keep candidate recovery fail closed * fix(release): adopt retried Docker architectures * test(release): cover Docker producer jobs * test(release): align 2026.10.6 CI contracts Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
* fix(release): retain postpublish failure causes (#178147) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f47d5d7) * fix(release): make FRV no-op commands succeed (#178149) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 29587f5) * fix(release): retry unstarted FRV reruns after 5xx (#178160) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit fadee60) * fix(release): show readable SDK acknowledgement diff (#178158) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f6c0066) * fix(release): report FRV plan sealing state (#178172) * fix(release): report FRV plan sealing state Co-authored-by: RomneyDa <[email protected]> * fix(release): declare FRV plan lifecycle APIs Declare the plan lifecycle helpers consumed by the TypeScript tests so NodeNext resolution checks the new exports. Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 4b065f5) * fix(release): gate integrated branch pushes (#178202) * fix(release): gate integrated branch pushes Validate a captured release SHA from an immutable detached checkout, then push that exact SHA only after static, type, dead-code, and changed-test gates pass. Co-authored-by: RomneyDa <[email protected]> * fix(release): gate stable branch pushes Co-authored-by: RomneyDa <[email protected]> * fix(release): accept orchestrated stable push shape Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 2afc8db) * fix(release): audit backport companion closure (#178188) * fix(release): audit backport companion closure Add a bounded, evidence-only audit for later same-path commits, PR companions, neighbor tests, reference candidates, and candidate file/content differences. Co-authored-by: RomneyDa <[email protected]> * fix(release): satisfy companion scanner lint Co-authored-by: RomneyDa <[email protected]> * fix(release): accept backport companion separator Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 0f2b5e9) * ci(release): retain live failure diagnostics (#179097) * ci(release): retain live failure diagnostics Co-authored-by: RomneyDa <[email protected]> * test(release): isolate live cache shell replay Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 89ee777) * feat(release): add fast backport conflict probe (#179104) * feat(release): add fast backport conflict probe Co-authored-by: RomneyDa <[email protected]> * fix(release): parse backport probe separator Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 3c1d486) * fix(release): print release note verifier errors (#179077) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 2219999) * fix(release): verify extended stable notes context (#179083) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 7de3a4b) * feat(release): fetch compatibility inputs from registry (#179093) * feat(release): fetch compatibility inputs from registry Co-authored-by: RomneyDa <[email protected]> * docs(release): clarify offline inventory checks Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit a819d2b) * fix(release): close extended-stable FRV retry helper Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Related: https://github.com/openclaw/maintainers/blob/main/release/retrospectives/issue-ledger.md#rri-008
What Problem This Solves
Fixes: postpublish verification reports only a top-level
fetch failedmessage when the read owner attached the endpoint and lower-level transport cause.User Impact
User impact: release operators can identify the failed read and its network cause without repeating publication or reconstructing the error from surrounding logs.
Why This Change Was Made
The publication verifier now renders the bounded
Error.causechain already produced by release read owners. It does not change retry behavior, publication state, or release authority.Evidence
node scripts/run-vitest.mjs test/scripts/error-format.test.ts test/scripts/release-verify-publish.test.ts --maxWorkers=1— 8 tests passed across 2 shards.node scripts/run-oxlint.mjs --tsconfig tsconfig.json scripts/lib/error-format.mts scripts/release-verify-publish.ts test/scripts/error-format.test.ts— 0 warnings/errors.pnpm exec oxfmt --check scripts/lib/error-format.mts scripts/release-verify-publish.ts test/scripts/error-format.test.ts— clean.codexexecutable.