Repository navigation
fix(release): retry failed npm qualification without restarting validation - #150991
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. Reviewed September 17, 2026, 1:45 PM ET / 17:45 UTC (Revision 3). ClawSweeper reviewWhat this changesAllows failed npm qualification jobs to retry within an existing release validation while preserving successful package preparation and diagnostic results. Merge readiness✅ Ready for maintainer review This remains a useful repair absent from current main. The previous verifier-handoff blocker is resolved, and this review found no new actionable defects. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation coordinates package preparation, qualification, and independent checks before release. Its continuation controller retries failed jobs and collects verified evidence without rebuilding previously tested packages. flowchart TD
A[Existing validation plan] --> B[Continuation controller]
C[Current GitHub run states] --> B
B --> D[Retry failed npm jobs]
E[Retained package bytes and diagnostics] --> F[Parent receipt collection]
D --> F
F --> G[Final evidence verification]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +525, Docs +19, Other +304. Total +848 across 13 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep recovery in the existing controller and receipt owners, preserving exact package bytes and using the established non-release broker for post-merge hosted verification. Do we have a high-confidence way to reproduce the issue? Yes: current main omits independent npm producers from failed-job recovery, and the linked production run exhibits failed qualification with successful preparation. No current-main execution was performed. Is this the best way to solve the issue? Yes: extending the existing continuation and receipt owners addresses the missing recovery path while retaining immutable-byte and effective-job checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a25ddae098a8. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Fixed the verifier handoff in 7dae5ed. Npm producer attempts are revalidated independently before and after verification; unknown-ID rejection is unchanged. The new continuation regression invokes the real evidence verifier and fails on the previous head. All 342 controller/summary tests and 13 affected package-acceptance cases pass; local typecheck, lint, guards, and independent review pass. Fresh CI is running. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…ation (openclaw#150991) * fix(release): reject continuation after artifact producer failure * fix(release): retry failed npm qualification and collect its receipt * fix(release): verify npm recovery outside diagnostic attempt map
What Problem This Solves
Allows retrying a failed npm qualification job on its original Full Release Validation producer run instead of rejecting continuation or restarting successful checks.
User Impact
pnpm frv continue --failedretries failed npm jobs, preserves successful package preparation and diagnostic children, and then reruns the parent collector. Non-fail-fast diagnostic drain is preserved. This replaces the original rejection-only implementation of this PR.Why This Change Was Made
The controller includes the original npm producer in failed-job recovery. Receipt collection accepts the newer successful qualification while retaining the exact earlier package bytes and successful proof jobs. Source, tooling, artifact identity, superseded-job checks, and final verification remain enforced. Final verification receives only the parent and selected diagnostic attempt IDs; the controller independently rechecks the exact successful npm producer immediately before and after verification, preserving the verifier’s rejection of unknown IDs.
Scope is the observed npm download-timeout path and carried-forward npm receipts, not a redesign of Docker/candidate partial-build recovery or late artifact-upload collisions. Frozen workflows execute their original receipt code; a local controller update cannot retrofit adoption into an older frozen workflow or clear its failed qualification by itself.
Evidence
would-rerunand selects only npm producer 35210854195; all successful diagnostic runs stay untouched. No rerun mutation sent.Original artifact producer cannot be reused, then passes after refactoring.Review and CI follow-up
validateReleaseRunEvidenceitself: it fails on the prior head withexpected run attempts contain unvalidated run IDs: 81and passes with the fix.No merge, publication, or release-run mutation. No agent transcripts included.