Repository navigation
fix(release): retain workflow ref after failed validation - #114104
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 26, 2026, 9:04 AM ET / 13:04 UTC. ClawSweeper reviewWhat this changesThe branch keeps the temporary SHA-pinned Merge readinessThis PR remains necessary: it narrows the release-validation cleanup lifecycle so a failed parent GitHub Actions run keeps its SHA-pinned workflow ref available for failed-job reruns. It is also a member-authored, Priority: P1 Review scores
Verification
How this fits togetherThe full-release-validation script creates a temporary immutable workflow ref, dispatches GitHub Actions against it, waits for the parent workflow, and verifies release evidence. GitHub reruns and child workflow dispatches depend on that ref still existing after a failed parent run. flowchart LR
A[Release target SHA] --> B[Temporary SHA-pinned workflow ref]
B --> C[Dispatch parent validation workflow]
C --> D[Wait for workflow conclusion]
D -->|Success| E[Verify release evidence]
D -->|Failure or cancellation| F[Keep workflow ref for GitHub reruns]
E --> G[Delete temporary workflow ref]
F --> H[Operator reruns failed jobs]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +25, Other +26. Total +51 across 3 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the narrow cleanup predicate once release-workflow owners confirm retained refs are the intended recovery contract for failed parent runs, with the existing focused test kept as regression coverage. Do we have a high-confidence way to reproduce the issue? Unclear: the PR body identifies a specific failed validation run and the source path makes the cleanup failure credible, but the supplied review context does not include inspectable run output for an independent live confirmation. Is this the best way to solve the issue? Yes: preserving the immutable workflow ref only after non-success parent conclusions is a narrow fix at the cleanup owner, rather than changing release candidates or GitHub Actions dispatch behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6a11e4449757. LabelsLabel changes:
Label justifications:
EvidenceWhat 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
|
Summary
Keep a SHA-pinned
release-ci/*workflow ref when Full Release Validation ends unsuccessfully, so GitHub Actions failed-job reruns can dispatch child workflows from the same immutable source. Delete it only after a successful parent attempt.Evidence
Release impact
Harness-only fix; candidate
1d1f9a2a16e845bc44552ad502f84f37015ffa45remains unchanged.