Repository navigation
fix(release): bind every child receipt to candidate - #165455
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 October 5, 2026, 4:49 AM ET / 08:49 UTC. ClawSweeper reviewWhat this changesThe PR requires every release-validation child receipt to match the exact candidate commit, replacing role-specific main-ancestry checks and updating regression coverage. Merge readiness✅ Ready for maintainer review This remains a useful, focused repair: current main still rejects independent child receipts for valid release-branch candidates. No introduced correctness or security defect was found. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation dispatches child workflows to check a frozen release candidate. The receipt sealer records their workload results for later evidence verification and reuse; publication authorization remains with independently trusted admission and publication tooling. flowchart TD
A[Frozen release candidate] --> B[Parent validation workflow]
B --> C[Child workload]
C --> D[Check run and candidate identity]
D --> E[Seal workload receipt]
E --> F[Independent evidence verification]
F --> G[Publication gates]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -2, Other -12. Total -14 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Use one exact-candidate receipt rule while retaining independent admission, workload verification, and publication authorization. Do we have a high-confidence way to reproduce the issue? Yes, from source: an independent child at a valid candidate outside main ancestry reaches the remaining ancestry rejection. GitHub confirms the corresponding hosted sealing failure; this review did not execute a current-main reproduction. Is this the best way to solve the issue? Yes. The change aligns the existing producer with the documented frozen-candidate contract and the parent dispatcher without introducing another trust owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 524352933470. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
(cherry picked from commit a337e10)
(cherry picked from commit a337e10)
Problem
Full Release Validation
37280523889ran its frozen candidate withQ=C. The independent plugin prerelease workload completed successfully, but its receipt sealer rejected the child workflow SHA because the release-branch candidate is intentionally not amainancestor:The workflow dispatcher already requires every child run to use the parent workflow SHA, and under the frozen qualification contract that SHA is the exact target candidate. The existing role split treated only candidate-phase release/plugin jobs as candidate-owned, leaving normal CI and independent-phase jobs unable to seal on a release branch.
Solution
workflowSha === targetShafor every Full Release Validation child receipt.mainancestry lookup.Publication tooling trust remains owned by the parent admission workflow and immutable protected
Pref.Evidence
37281158294, job111680365341.pnpm test test/scripts/full-release-child-evidence.test.ts --maxWorkers=1: 18/18 passed; 5.38s test command wall time.git diff --check: passed.