Repository navigation
ci: fetch release tag into frozen-SHA checkouts for local verification - #2
Merged
Merged
Conversation
First live dispatch (dbowm91/wg-basic release-eggpack run 38112750263) failed in resolve: every job checks out by frozen SHA with fetch-tags disabled, so refs/tags/<tag> is absent and _resolve-release / _verify-source --expected-tag fail closed with 'source tag does not resolve to release plan revision'. Unit tests never caught it because local repos carry tags. checkout_snippet now emits 'Fetch release tag for local verification' after each frozen checkout when a staging policy exists: validate the tag ref shape, fetch exactly that tag ref, and assert it peels to the frozen revision before Eggpack runs. Tag value arrives via env only; no workflow expression in the run body. Goldens regenerated via m003b_regenerate_goldens; m003c asserts fetch/frozen pairing.
dbowm91
pushed a commit
to dbowm91/wg-basic
that referenced
this pull request
Oct 25, 2026
First live v0.1.0 dispatch failed closed in resolve: frozen-SHA checkouts never fetch tags while the tool requires the tag locally. Producer fix (eggstack/eggpack@a0fec98, PR eggstack/eggpack#2, CI 8/8) fetches the exact tag and peel-asserts it to the frozen SHA. Sanctioned regenerate (ci check: match), all release fixtures green. v0.1.0 tag source unchanged; re-dispatch from fixed main.
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.
First live dispatch of the M003k workflow (dbowm91/wg-basic release-eggpack run 38112750263, tag v0.1.0) failed in resolve: jobs check out by frozen SHA with fetch-tags disabled, so refs/tags/ is absent and _resolve-release / _verify-source --expected-tag fail closed. Producer unit tests never caught it because local repos carry tags.
This change makes checkout_snippet emit a fetch-and-peel-assert step after each frozen checkout when a staging policy exists. Tag arrives via env only; binding is peel == frozen SHA. Goldens regenerated via m003b_regenerate_goldens; m003c now asserts fetch/frozen pairing. Full scripts/check-local.sh green locally.