Skip to content

ci: harden release verification against reruns and API failures - #2730

Merged
rafa-stacks merged 1 commit into
mainfrom
work/release-yml-hardening-589b67
Oct 25, 2026
Merged

rafa-stacks merged 1 commit into
mainfrom
work/release-yml-hardening-589b67

Conversation

@rafa-stacks

Copy link
Copy Markdown
Collaborator

Hardens the release workflow so concurrent or repeated dispatches for the same version are serialized and rejected when a tag or draft release already exists, and so GitHub API failures abort the run instead of being silently ignored.

@rafa-stacks
rafa-stacks requested a balanced review from Copilot October 25, 2026 21:01
@rafa-stacks
rafa-stacks marked this pull request as ready for review October 25, 2026 21:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused workflow changes implement the stated safeguards, with no unresolved blocking issues identified.

No open issues 🎉

What changed in this PR

Hardens release verification to prevent duplicate same-version releases and stop workflow execution when GitHub API calls fail.

Changes:

  • Serializes same-version runs without canceling an active release.
  • Rejects existing tags or releases, including drafts, with write access for draft visibility.
  • Separates command assignments from exports so release-note generation failures propagate.
File Description
.github/​workflows/​release.yml Adds release concurrency controls, duplicate checks, and reliable API failure handling.

Review effort: Balanced

@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rafa-stacks
rafa-stacks merged commit 93bf19f into main Oct 25, 2026
26 checks passed
@rafa-stacks
rafa-stacks deleted the work/release-yml-hardening-589b67 branch October 25, 2026 21:06
@github-project-automation github-project-automation Bot moved this to ✅ Done in API Board Oct 25, 2026

This branch was successfully deployed

1 active deployment
Production — c250712b Deployed Oct 25, 2026 by rafa-stacks via build-publish #3864
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants