fix(ci): resolve publish channel from trigger to end release 409 race #51
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/GOV-14-trigger-derived-publish-channels"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Resolve the generic-package publish channel from the workflow trigger instead of
git describe, so the two events of a release commit (push tomain+v*tag push) write disjoint channels.github.ref_type == 'tag') publishes<version>(plus thestablechannel via the existing release logic).latest.Why
The workflow triggers on both
branches: [main]andtags: [v*]. A release commit fires both events, and each previously resolved the same[<version>, latest]set fromgit describe, so the two runs raced to DELETE-then-PUT the immutable<version>generic-package file. When their publishes interleaved, the second hit409 package file already exists. This is the same intermittent release-CI failure diagnosed in CLAUDE-122; root cause and the governance-template fix are tracked in GOV-13, with this repo's rollout under GOV-14.lateststill tracks the release commit because the tag sits on the same SHA already pushed tomain.Scope
Single workflow file; no Rust or
get-tags.nuchange. Full convergence on the trigger-derivedget-tags.nu --modehelper will follow when this repo syncs the GOV-13 template.Refs GOV-14, GOV-13, CLAUDE-122.