Skip to content

fix(release): gate releases on the deployed pin, not upstream - #34

Merged
offendingcommit merged 1 commit into
mainfrom
fix/release-gate-on-pin
Sep 21, 2026
Merged

offendingcommit merged 1 commit into
mainfrom
fix/release-gate-on-pin

Conversation

@offendingcommit

Copy link
Copy Markdown
Owner

Unblocks the release lane, which has been failing for two weeks without anyone noticing.

What was wrong

The release workflow's hermes-contract job ran just test-contract — the upstream lane. So any upstream Hermes break blocked every release, including one this repo deliberately scoped out.

Hermes #99220 landed 2026-09-08. The last release run was 2026-08-24. The job has failed ever since and nobody saw it, because nothing ran in between — the gap only surfaced when today's merge triggered a release run.

Why the pin is the right gate

A release promises conformance at the revision the kit claims to support. Gating it on whatever upstream happens to be that morning promises something else, and blocks on news the release cannot act on.

Upstream drift now has a proper home: the scheduled hermes-drift workflow added in #30 runs daily, classifies failures against a known-drift baseline, and is not a required check. That is where a moving target belongs.

Verified both directions

pinned lane   -> contract receipt: pinned f80f453…; executed=16     EXIT=0
upstream lane -> #99220 media contract failure                      EXIT=1

The break is still caught — by the lane designed to report it rather than the one designed to block a release.

Guard

test-contract is a prefix of both test-contract-pinned and test-contract-upstream, so the existing assertion would have passed on a silent revert. It now names the pinned lane and rules out both other spellings. Mutation-tested: reverting to either fails the test.

Not addressed here

immutable-release-control also fails, and has since at least Aug 18 — missing GitHub App client-id. Pre-existing, unrelated to the contract gate, and left alone.

The release workflow's contract job ran the upstream lane, so any
upstream break blocked every release -- including one deliberately
scoped out of this repository's work.

That is not hypothetical. Hermes #99220 landed 2026-09-08 and the job
has been failing since; nobody saw it until today's release run,
because the last one was 2026-08-24. Two weeks of a blocked release
lane, invisible because nothing ran in between. The scheduled drift
workflow now closes that window to 24 hours, which is the right home
for a moving target.

A release promises conformance at the revision the kit claims to
support. Gating it on whatever upstream happens to be that morning
promises something else and blocks on news the release cannot act on.

Verified both directions: the pinned lane passes at f80f453 with
executed=16, and the upstream lane still fails on the known #99220
break -- which is now reported by the drift workflow instead of
blocking a release.

The release-contract assertion is tightened to match. `test-contract`
alone is a prefix of both lanes, so it would have passed on a silent
revert to upstream; it now names the pinned lane and rules out the
other two spellings. Mutation-tested: reverting to either fails.
@offendingcommit
offendingcommit merged commit f30a5fa into main Sep 21, 2026
6 checks passed
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