Repository navigation
fix(release): resume failed validation without repeating green jobs - #128141
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs real behavior proof before merge. Reviewed August 28, 2026, 7:21 AM ET / 11:21 UTC. ClawSweeper reviewWhat this changesThe branch adds an FRV continuation command that reuses a sealed all-group validation plan, reruns failed child workflows, and refreshes parent evidence without redispatching successful child workflows. Merge readiness⛔ Blocked until stronger real behavior proof is added - 6 items remain Keep open for a maintainer proof-sufficiency decision. The sealed-plan controller and focused tests cover same-parent recovery, but the reviewed head lacks hosted final-effect proof for its authenticated GitHub Actions rerun operations. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation dispatches release-related child workflows and records their verified outcomes for a release decision. The continuation command reads the sealed parent plan, retries eligible failed GitHub Actions work, and then reseals the parent evidence. flowchart LR
A[Release operator] --> B[Continuation command]
B --> C[Sealed parent plan]
C --> D[Child workflow attempts]
D --> E{Failed exact child?}
E -->|Yes| F[GitHub Actions rerun]
E -->|No| G[Parent evidence reseal]
F --> G
G --> H[Release decision evidence]
Decision needed
Why: The implementation has unit-level identity and recovery coverage, but exercising the final authenticated mutation requires a release-policy-approved fixture or explicit acceptance of reduced proof. Before merge
Findings
Agent review detailsSecurityNeeds attention: No concrete authorization bypass was found, but the new authenticated rerun boundary lacks exact-head final-effect evidence. PR surfaceTests +1510, Docs +96, Config +47, Other +1782. Total +3435 across 22 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use a maintainer-authorized, nonpublishing exact-head fixture that proves reruns occur only after exact parent and child identity checks and that identity drift is rejected before the GitHub mutation. Do we have a high-confidence way to reproduce the issue? Yes in controller fixtures: they model failed children, newer attempts, same-parent resealing, and identity drift; no current-head hosted continuation was executed. Is this the best way to solve the issue? Potentially yes: preserving a sealed same-parent plan avoids rerunning whole successful child workflows, but the authenticated mutation path still needs exact-head final-effect proof. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 640d73e3d452. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
Acceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (28 earlier review cycles; latest 8 shown)
|
1cb8dd8 to
2c350ee
Compare
|
@clawsweeper re-review Exact head: |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
2c350ee to
dbcb517
Compare
|
@clawsweeper re-review Exact head: This is the single reviewed restack after #128460 landed. Please review this exact head, including preservation of the sharded iOS screenshot topology and artifact contract. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
dcb1cb1 to
4faca05
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
ClawSweeper review items dispositioned on the current architecture:
The old requested live proof targeted the deleted temporary-ref architecture. No real release or FRV dispatch is required for the replacement path, and none was started. |
|
Merged via squash.
|
…penclaw#128141) * fix(release): resume failed FRV child attempts * fix(release): harden FRV continuation controller * fix(release): bind FRV continuation source evidence * fix(release): support historical FRV source evidence * fix(release): bind historical FRV source inputs * fix(release): bind historical FRV source evidence * fix(release): preserve historical FRV source identity * fix(release): align FRV continuation CI checks * fix(release): disable fail-fast for FRV continuations * test(release): align FRV fail-fast expectation * fix(release): classify missing FRV artifacts centrally * fix(release): recover FRV state from workflow artifacts * fix(release): overwrite recovered FRV plan artifact * docs(release): clarify FRV plan recovery * fix(release): harden FRV continuation recovery * fix(release): revalidate FRV tooling ref before dispatch * fix(release): authenticate historical FRV plans * fix(release): fail FRV when temporary ref cleanup fails * test(ci): update FRV workflow routing expectations * fix(release): declare FRV workflow ref helper * fix(release): keep FRV recovery on the same parent * fix(release): verify original dispatch on parent recovery
Related: #131726
What Problem This Solves
Resolves a release-operations problem where one late Full Release Validation child failure forces operators to repeat already-green, expensive work. A parent retry also needs to retain the original immutable execution plan instead of reconstructing or redispatching the release graph.
Why This Change Was Made
Continuation stays on the original FRV parent. The controller restores and validates the attempt-one execution plan, reruns only failed exact child jobs, composes child evidence across attempts, and reruns the parent whenever child evidence advances so Release Decision and Diagnostic Drain reseal against the current attempt set.
The path fails before mutation when the original parent used
fail_fast=true, when immutable plan state is missing or mismatched, or when child identity cannot be proven. Historical manifests remain readable for verification, but historical plans cannot authorize continuation. This removes the prior temporary-ref, new-parent, and historical reconstruction machinery.Final verification reads the original successful dispatch job and log during same-parent recovery only when every later parent attempt skipped that sealed dispatch slot. A later redispatch is a hard failure, preventing recovered evidence from being rebound to a different parent execution.
Candidate artifact reuse is intentionally not half-implemented here. Exact package, prerelease-plugin-registry, and image tuple sealing is tracked in #131726 and will build on this same-parent authority boundary.
User Impact
After a late release-validation failure, operators can continue the same parent and preserve valid green evidence instead of paying for the complete matrix again. Healthy first attempts are unchanged.
This change does not publish packages, create releases, tag commits, or alter release candidates. No real release or FRV run was dispatched while developing it.
Evidence
actionlintpassed for both changed workflows.git diff --checkpassed.pakodeclaration layout; the same known environment issue is outside this release-orchestration diff. Hosted exact-head CI is the canonical full-checkout proof.Production/tooling LOC: +2136/-211 (net +1925) | Tests: +1548/-38 (net +1510)
AI-assisted: yes. The maintainer reviewed the implementation, tests, and accepted autoreview findings.