Repository navigation
fix(release): gate releases on the deployed pin, not upstream - #34
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblocks the release lane, which has been failing for two weeks without anyone noticing.
What was wrong
The release workflow's
hermes-contractjob ranjust 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-driftworkflow 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
The break is still caught — by the lane designed to report it rather than the one designed to block a release.
Guard
test-contractis a prefix of bothtest-contract-pinnedandtest-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-controlalso fails, and has since at least Aug 18 — missing GitHub Appclient-id. Pre-existing, unrelated to the contract gate, and left alone.