Repository navigation
fix(release): resume after delayed npm readback - #163082
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. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 7:32 PM ET / 23:32 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR lets final release verification reuse the npm resume owner's narrow delayed-readback exception for an exact historical publisher attempt and adds acceptance and rejection regressions. Merge readiness✅ Ready for maintainer review This remains a useful, necessary follow-up to the merged resume fix: current main still rejects the admitted historical publisher at final verification. No introduced correctness or security defect was found, and the MEMBER-authored PR must remain open for the normal landing workflow. Priority: P2 Review scores
Verification
How this fits togetherRelease publication checks npm package identity and workflow evidence before completing Docker and GitHub Release publication. The final verifier consumes the original publisher identity recovered from package provenance. flowchart TD
A[Published npm package] --> B[Provenance and resume checks]
B --> C[Original publisher attempt]
C --> D[Final release verifier]
E[Workflow jobs and steps] --> D
D --> F{Only delayed readback failed?}
F -->|Yes, identity matches| G[Continue publication]
F -->|No| H[Block verification]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +44, Other +13. Total +57 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep one delayed-readback classification owner while preserving exact publisher identity, package verification, and rejection of unrelated failures throughout release recovery. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the failure: current main admits the original delayed-readback publisher during recovery, then rejects its failure conclusion during final verification. The body also identifies the affected production runs; this review did not execute them. Is this the best way to solve the issue? Yes, reusing the existing narrow predicate at the remaining verifier gate avoids competing policy and preserves unrelated failure rejection. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e1d4dcc81a5c. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Pull request was closed
|
Merged via squash.
|
What Problem This Solves
Fixes: an extended-stable publication resume stops after successful package verification when the provenance-bound original npm publisher failed only during delayed registry readback.
User Impact
User impact: maintainers can finish Docker and GitHub Release publication without weakening verification of unrelated failed jobs.
Why This Change Was Made
The npm resume owner already admits this exact historical failure from package provenance, protected-tag identity, the signed run attempt, and step-level publish evidence. The final verifier now reuses only that narrow delayed-readback predicate for the bound historical attempt; every other failed run or job remains blocking.
Evidence
pnpm test test/scripts/openclaw-npm-resume-run.test.ts test/scripts/release-beta-verifier.test.ts --maxWorkers=1: 117 passed in 56.79s wall.node scripts/check-changed.mjs --timed: passed all selected scripts, tooling, and root-test checks.fresh-exact OK) before the final generic workflow-conclusion check rejected original publisher run 36919657824.