Repository navigation
fix(release): preserve waiver context when reusing validation - #133589
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 6:52 PM ET / 22:52 UTC. ClawSweeper reviewWhat this changesThe PR passes four sealed release-plan fields into reused-evidence decision validation and expands the subprocess regression test across valid and invalid waiver cases. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessKeep open. Current main still omits the sealed waiver context at the decision-time reuse call, while this PR forwards it to the existing binding validator and adds acceptance and rejection coverage; as a maintainer-authored release-gate change, it should complete exact-head CI before merge. Priority: P2 Review scores
Verification
How this fits togetherFull release validation seals a plan, reuses eligible CI evidence, then revalidates it before emitting the Release Decision that permits publication. The decision collector sends the sealed plan and reused manifest to the binding validator, which either permits the decision or records blockers. flowchart LR
A[Sealed release plan] --> B[Reused validation evidence]
B --> C[Decision collector]
A --> C
C --> D[Waiver binding validator]
D --> E[Release Decision]
D --> F[Publication blockers]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +41, Other +4. Total +45 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the four-field forwarding after exact-head CI is green, preserving the single binding validator and its strict source-manifest checks. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main reconstructs decision-time reuse inputs without the four sealed facts, and the existing waiver-binding validator rejects the resulting mismatch. The supplied subprocess regression targets that exact path, though this read-only review did not execute it. Is this the best way to solve the issue? Yes. Passing the facts already sealed in the execution plan to the existing binding validator is narrower and safer than duplicating waiver policy or weakening manifest validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ee0d376e0fe9. LabelsLabel 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
HistoryReview history (1 earlier review cycle)
|
|
Maintainer review accepts the four-line tooling increase: the existing waiver-binding validator requires the sealed profile, rerun group, target version, and waiver. Passing those digest-bound facts preserves the single existing policy path; no validation or authority is broadened. The complete owner suite passes all 206 tests. The original collector fails the new Decision regression, and the exact retained-plan replay reproduces the hosted failure before the fix and passes afterward. ClawSweeper identified no correctness or security finding. Normal exact-head CI and canonical prepare/merge gates remain required; waived Telegram checks are not reported as passed. |
|
Merged via squash.
|
What Problem This Solves
Fixes an issue where maintainers reusing full release validation evidence with the approved 2026.8.1 Telegram waiver receive a blocked Release Decision despite a valid sealed plan. Run 33337151440 accepted changelog-only reuse, then rejected the waiver during decision revalidation.
Why This Change Was Made
The decision collector reconstructed reuse inputs without the sealed release profile, rerun group, version, or waiver. Carry those four validated plan fields forward to the existing binding validator. All owner/version/profile restrictions, source provenance, child identities, manifest equality, and final-state verification remain unchanged; no waiver is represented as a passed test.
User Impact
No runtime behavior changes. Release maintainers can complete valid evidence reuse while invalid or changed evidence continues to block publication.
Evidence
blocked_completetopassed, with no blockers or errors. This replay is diagnostic coverage, not new release qualification.node scripts/run-vitest.mjs test/scripts/full-release-validation-state.test.ts: 206 passed.git diff --checkpass. Full repository gates remain required on the exact PR head.Production/tooling delta: +4 lines. Test delta: +41 lines, extending the existing subprocess fixture rather than adding a production test seam.