Skip to content

fix(release): honor reviewed supersession in pending fence - #7667

Merged
bokelley merged 1 commit into
mainfrom
fix/rc-supersession-pending-fence
Sep 23, 2026
Merged

bokelley merged 1 commit into
mainfrom
fix/rc-supersession-pending-fence

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • let the pending-release fence recognize committed artifacts only when the exact reviewed supersession marker passes the full supersession verifier
  • re-check that main remains at the tested SHA after the supersession proof
  • retain the existing published-tag requirement for every unmarked committed bundle

Why

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)
  • full pre-commit suite (1,081 root tests plus lint/typecheck gates)
  • live pending-fence reproduction against exact main SHA 5300e381fe778d19b7943d772facadee4fabf319
  • git diff --check

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.)

@bokelley
bokelley merged commit 5841cda into main Sep 23, 2026
44 of 46 checks passed
@bokelley
bokelley deleted the fix/rc-supersession-pending-fence branch September 23, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant