Skip to content

fix(release): make workflow idempotent and resilient#291

Merged
LuD1161 merged 2 commits intomainfrom
LuD1161/fix-release-workflow
Feb 16, 2026
Merged

fix(release): make workflow idempotent and resilient#291
LuD1161 merged 2 commits intomainfrom
LuD1161/fix-release-workflow

Conversation

@LuD1161
Copy link
Copy Markdown
Contributor

@LuD1161 LuD1161 commented Feb 16, 2026

Summary

  • Make the "Create GitHub Release" step idempotent — updates existing releases instead of failing on re-runs
  • Add continue-on-error: true to the version bump step so the workflow reports success when Docker images are pushed, even if the PR creation has issues

Context

When re-running the release workflow for v0.2.1, the softprops/action-gh-release action would overwrite manually written release notes. Replaced it with gh CLI that checks if a release exists first and updates it. Also, the version bump step failure was causing the entire workflow to be marked as failed even though Docker images were pushed successfully.

Test plan

  • Trigger a release via workflow_dispatch and verify it succeeds end-to-end
  • Re-trigger the same release and verify it updates (not fails) the GitHub release

- Replace softprops/action-gh-release with gh CLI to handle existing
  releases (update instead of fail on re-runs)
- Add continue-on-error to version bump step so Docker image pushes
  aren't marked as failed when the PR step has issues

Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: db9f37fed9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/release.yml Outdated
Append workflow run ID to the bump branch name so re-running the
release for the same version doesn't fail due to branch conflicts.
Also cleans up any stale bump branches from previous runs.

Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
@LuD1161 LuD1161 force-pushed the LuD1161/fix-release-workflow branch from db9f37f to 8327ddc Compare February 16, 2026 00:13
@LuD1161 LuD1161 merged commit a5b295e into main Feb 16, 2026
3 checks passed
@LuD1161 LuD1161 deleted the LuD1161/fix-release-workflow branch February 16, 2026 00:17
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