Repository navigation
fix(release): recover every failed artifact producer - #178179
Conversation
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]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs real behavior proof before merge. What this changesThis PR extends authenticated release continuation to failed Docker producers while preserving successful architecture artifacts and keeping candidate recovery disabled. Example: Docker producer run 82 fails on arm64 after amd64 succeeds in attempt 1.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep open: this maintainer-authored PR addresses a real Docker continuation gap, and the earlier artifact-adoption finding is resolved in the reviewed code. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe FRV controller consumes frozen workflow contracts and dispatch evidence, retries authenticated artifact producers, and returns their sealed evidence to parent release verification. flowchart TD
A[Frozen FRV plan] --> B[Authenticated dispatch discovery]
B --> C[Producer identity checks]
C --> D[Failed producer retry]
D --> E[Docker architecture sealing]
E --> F[Parent evidence verification]
Technical reviewBest possible solution: Retain the existing controller and artifact owners, adopt authenticated per-architecture attempts, and establish the final-effect authorization boundary before merging. Do we have a high-confidence way to reproduce the issue? Current-main source exposes the failure path: recovery discovers npm only, and Docker sealing compares architecture metadata against one producer attempt; no target code was executed during this read-only review. Is this the best way to solve the issue? The patch uses the existing recovery controller and artifact owners, preserves legacy npm behavior, and supplies the missing Docker adoption path without claiming recovery for undispatched candidate consumers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e213fdbeef1c. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: No concrete authorization bypass was found, but the expanded recovery boundary still needs final-effect authority proof. EvidenceSecurity concerns:
What I checked:
Likely related people:
PR surfaceTests +350, Config +5, Other +200. Total +555 across 9 files. Added test files: 0. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. 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 (6 earlier review cycles)
Reviewed October 20, 2026, 7:23 PM ET / 23:23 UTC (Revision 7). |
Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review Addressed the mixed producer-state finding in
Validation: all 104 |
|
🦞👀 Re-review progress:
|
Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review Repaired the integration fixture to provide the structured artifact-recovery workflow contract and canonical dispatch witness. The full |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
|
Addressed the stale Docker adoption finding in 79dbcc2 with authenticated per-architecture producer attempts, and fixed the follow-up CI type error in 4118f3a. Validation: the exact failing root-scripts type shard passes, and all 33 Docker artifact tests pass. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
* 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]> * test(release): exercise structured artifact recovery Co-authored-by: RomneyDa <[email protected]> * fix(release): retain legacy npm recovery Co-authored-by: RomneyDa <[email protected]> * fix(release): adopt recovered artifact attempts Co-authored-by: RomneyDa <[email protected]> * fix(release): keep candidate recovery fail closed * fix(release): adopt retried Docker architectures * test(release): type Docker retry producer entries Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Preserve the tested pinned-P unit from 9961d25. Source lineage: #178179, #179112, #174693, #166083 and #172883. No registry or release publication. Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Summary
Fixes RRI-118.
Testing
pnpm format:check -- .github/workflows/full-release-validation.yml scripts/frv.mjs test/scripts/frv.test.tsnode scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.scripts.json scripts/frv.mjs test/scripts/frv.test.tsOPENCLAW_LOCAL_CHECK=0 node scripts/run-tsgo-core-test-shards.mjs --root-stripe 2/4pnpm exec vitest run test/scripts/frv.test.ts test/scripts/full-release-artifacts.test.ts(148 tests).github/workflows/full-release-validation.ymlwith the pinnedyamlpackageReview