Repository navigation
fix(release): honor reviewed supersession in pending fence - #7667
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean operational-script change with no blocking findings.
This PR modifies scripts/check-release-state.cjs to add a pending-fence supersession escape hatch and adds coverage in tests/release-supersession.test.cjs (+55/-2, 2 files). The reviewer confirmed the escape hatch is fail-closed: it fires only when artifacts exist and the reviewed marker passes check-release-supersession.cjs verify; unmarked stranded bundles still require a published tag; the marker lifecycle is bounded (deleted on the next cut by version-packages.mjs); the new branch is covered by the added tests; and the operational script correctly ships without a changeset.
No Critical/High/Medium findings were reported.
Gate checks: no schema/docs surface touched, so no changeset/coherence/oneOf concerns apply. gated_paths is false, high_risk is false, no no-auto-approve team match, and no prior decision. With zero findings, none of decision rows 1–8 fire, so this falls through to row 9 → approve. (review_decision: REVIEW_REQUIRED only matters when gated_paths is true, which it is not here.)
Summary
mainremains at the tested SHA after the supersession proofWhy
RC6 verification passed, but the Changesets transaction fence stopped before PR generation because it treated the intentionally unpublished RC5 artifacts as a normal stranded release and required an RC5 tag. No release ref or PR was created.
Validation
node --test --test-force-exit --test-timeout=30000 tests/release-supersession.test.cjs(2/2)node --test --test-force-exit --test-timeout=30000 tests/release-publication-ordering.test.cjs tests/release-workflow-immutability.test.cjs(47/47)mainSHA5300e381fe778d19b7943d772facadee4fabf319git diff --check