fix: publish release artifacts after successful image retagging - #1964
Conversation
|
Reviewed. This closes #1956 correctly and I could not find a hole in it. CI had never run on any of your seven PRs (they were sitting in I filed #1956 after asserting, wrongly and repeatedly, that pushing a tag made Checked rather than read: The workflows still load. Both parse clean with a duplicate-key-detecting loader, My first pass at this check reported 68 duplicate keys and was wrong: my detector counted The gating cannot silently skip the normal paths. The release can actually be created. Top-level permissions are Your test runs. The subtle part is right, and it is the part I would have got wrong. Not passing
What nobody can verify from a PR: the happy path only proves itself when a real tag is pushed. Given the immutability above, the first release after this merges is worth watching live rather than firing and walking away. Not a change request, just where the risk actually sits. Waiting on the CI run I just unblocked; assuming it comes back green this is good to merge. |
|
Merging, ahead of #1965 as you suggested, so that one can rebase onto the final shape of Full review is in my earlier comment. Nothing has changed since except that master has moved under it by seven commits; it still applies cleanly. |
Successful release fast paths publish image tags but never dispatch the job that creates the GitHub release and decrypt binaries. Dispatch
deploy.ymlfrom both image routes. A default-offimages_publishedinput skips E2E and image rebuilding only for an already-published tag; missing or mismatched images keep the complete fallback without requiring new inputs on older workflow definitions.Go validation still gates the release binaries, checkout and version flags retain the tagged source, and the existing release action uploads both architectures before publication. Missing binary files now fail publication.
Fixes #1956.
Validation:
node test-issue-1956-release-routing.jsexecutes the actual workflow shell steps with registry and dispatch commands stubbed. Covers matching, missing and mismatched images; failed retag and Go validation; branch/PR boundaries; and both tagged binary commands.Actual registry publication and GitHub release creation were not exercised. Existing immutable releases and old tags that contain older workflow definitions are outside this fix.
Following #1922, this is a focused release-routing PR. A separate repair for #1858 rewrites the shared frontend test runner; merging this first lets that repair retain this regression in its authoritative list. Please assess current Go and E2E job results separately from workflow-approval or staging-runner state.