Repository navigation
feat: retry individual release validation jobs without waiting for siblings - #156395
Conversation
Rerun one executed job as soon as its child finishes, and recover failed children without waiting for siblings. Preserve immutable plan and attempt bindings, carry valid performance guards, and prove the targeted GitHub API with the isolated broker. Related #156253.
|
🦞👀 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 real behavior proof before merge. Reviewed September 23, 2026, 6:09 AM ET / 10:09 UTC. ClawSweeper reviewWhat this changesAdds an exact-job retry command, retries completed failed validation children while siblings continue, and updates evidence verification, the proof broker, tests, and operator documentation. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: the capability remains absent from current main and the latest release. The focused implementation preserves the existing recovery owner, and no blocking introduced defect was found. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation coordinates GitHub Actions workflows that qualify release candidates. Its continuation controller consumes an immutable execution plan and job results, requests bounded retries, and verifies the final parent evidence. flowchart TD
A[Immutable validation plan] --> C[Continuation controller]
B[Current child and job results] --> C
C --> D[Exact job or failed child retry]
D --> E[Combined attempt evidence]
B --> E
E --> F[Parent collection and strict verification]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +504, Docs +31, Config 0, Other +189. Total +724 across 14 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep targeted recovery in the existing controller and complete the documented no-op broker proof after landing, preserving exact plan, job, and attempt provenance. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature request; source inspection confirms the missing targeted command and current parent-first wait ordering. Is this the best way to solve the issue? Yes. Extending the existing continuation owner avoids competing scheduling state while retaining one-shot mutations and strict final verification. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c05b74fbe153. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
ClawSweeper's completed review of
CI run 35842325927 was canceled at this exact head without a reported test failure. One failed/canceled-job rerun request was sent and GitHub confirms attempt 2; earlier successful jobs remain preserved. Native landing will continue to honor the enforced CI gate. |
|
Merged via squash auto-merge.
|
Rerun one executed job as soon as its child finishes, and recover failed children without waiting for siblings. Preserve immutable plan and attempt bindings, carry valid performance guards, and prove the targeted GitHub API with the isolated broker. Related openclaw#156253.
Rerun one executed job as soon as its child finishes, and recover failed children without waiting for siblings. Preserve immutable plan and attempt bindings, carry valid performance guards, and prove the targeted GitHub API with the isolated broker. Related openclaw#156253. (cherry picked from commit 5ed1f2d)
The FRV job-recovery cases retargeted from main's frv.release.test.ts (openclaw#156395) onto this branch's frv.test.ts declared a 'child' parameter that shadows the file-level child() fixture helper (oxlint no-shadow).
Related: #156253.
What Problem This Solves
FRV continuation waits for the entire validation graph before retrying a failed child, and operators cannot select a single job to retry.
User Impact
pnpm frv rerun --run <parent> --job "<child>:<job name>"reruns an explicitly selected executed, terminal job as soon as its child completes.continue --failedlikewise retries each failed child when it becomes terminal, while sibling children continue. The controller reseals the original parent after the complete selected evidence passes; unresolved failures remain visible instead of triggering unrelated retries.Why This Change Was Made
The existing controller owns scheduling and validates the immutable plan, exact child tuple, accepted source job ID, and current attempt immediately before each one-shot mutation. It records requested reruns, reconciles uncertain responses through reads, and never attributes another operator's attempt to its own request. Final verification retains green jobs from older attempts and validates the performance report guard at its effective successful attempt.
The fixed no-op proof broker now exercises GitHub's job-specific rerun endpoint. It handles an empty successful HTTP 201 and observes an uncertain response without sending the mutation again. It cannot publish a package, release candidate, repository ref, or real release validation graph.
Evidence
439 owner tests pass: controller 76, proof broker 55, publication CLI 106, and strict evidence verifier 202. Cases include early per-child dispatch, exact job selection, drift before mutation, uncertain responses, final sealing, and bounded publication output.
Measured costs: controller 3.08 seconds wrapper; broker 4.32 seconds wrapper; existing full publication CLI file 108.428 seconds and strict-verifier file 18.160 seconds (129.83 seconds combined wrapper). The existing CLI suite pays subprocess/auth-boundary costs; new scheduling cases use deterministic fixtures.
Script/root-test types, lint, workflow/zizmor checks, formatting, line-cap and diff checks pass. Native independent P2 review is scoped-clean.
Hosted mutation proof passed after landing: broker 35852804061 reran exact fixture job
107154896747; fixture 35853018712 intentionally failed with exit 42 at attempt 1 and succeeded at attempt 2. The receipt binds this PR, merge5ed1f2d0a1725040331350eba379ead6b1da8058, trusted workflow0c7d77cd47ab1523182c77970e9ae8c377876d9c,noop, andrefs/heads/main. One earlier broker run refused before fixture dispatch when main advanced while queued; no correlated fixture was created.On the integrated base containing the landed materialization and exclusion repairs, the 278 controller/strict-verifier cases pass in 32.66 seconds. Target implementation/test/workflow bytes remain identical to the independently reviewed change.
CI 35842325927 passed at reviewed head
cb6e8f078b9a52e17b2dbf5a1e6ebc0472f4c393, attempt 2, after restoring only the canceled/failed jobs from the canceled first attempt.