Skip to content

fix(ci): serialize release creation to avoid tag race - #31

Merged
aksOps merged 1 commit into
mainfrom
fix/release-race
Aug 4, 2026
Merged

fix(ci): serialize release creation to avoid tag race#31
aksOps merged 1 commit into
mainfrom
fix/release-race

Conversation

@aksOps

@aksOps aksOps commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The three binary matrix jobs each invoked softprops/action-gh-release concurrently for the same tag. Two jobs raced to create the release: one created a draft it could not finalize (already_exists on tag_name), failed after retries, and fail-fast cancelled the remaining builds and skipped the crates.io publish (v1.0.2 run 30869942863).

Changes:

  • New create-release job creates the release once (idempotent via gh release view || create) before any build starts; binary jobs now only attach assets to the existing release.
  • fail-fast: false on the matrix so one platform failure no longer cancels the others or the publish gate.

@aksOps
aksOps merged commit 5d42c40 into main Aug 4, 2026
7 checks passed
@aksOps
aksOps deleted the fix/release-race branch August 4, 2026 01:59
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