Skip to content

fix(sdk-release-workflows): use moving backend origin tags - #46

Merged
gavinsharp merged 5 commits into
mainfrom
gavinsharp/prefix-sha-tags
Jul 10, 2026
Merged

fix(sdk-release-workflows): use moving backend origin tags#46
gavinsharp merged 5 commits into
mainfrom
gavinsharp/prefix-sha-tags

Conversation

@gavinsharp

@gavinsharp gavinsharp commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

SDK origin release tags now use a stable backend-origin/... namespace so finalization no longer tries to create GitHub tags that begin with raw 40-character SHAs.

Changes & impact

SDK repos using the shared release gate will receive moving backend-origin/<originGitCommit> origin tags, and the old origin-tag-prefix input is removed from the reusable workflow contract.

Details

  • sdk-release-finalize advances backend-origin tags to newer release commits and leaves already-newer tags in place
  • Moving backend-origin tag updates are force-pushed with a lease against the freshly observed remote tag, so concurrent finalizers cannot overwrite newer remote state from stale local refs
  • sdk-release-gate and sdk-release-finalize reject tag names that still start with a 40-character SHA before publish/finalization proceeds
  • README documents the new origin tag shape

Testing

  • git diff --check
  • actionlint .github/workflows/sdk-release-gate.yml .github/workflows/sdk-release-finalize.yml

🤖 Generated with Claude Code

Comment thread .github/workflows/sdk-release-finalize.yml
@gavinsharp gavinsharp changed the title fix(sdk-release-gate): prefix origin release tags fix(sdk-release-workflows): use moving backend origin tags Jul 10, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2ba99d0. Configure here.

Comment thread .github/workflows/sdk-release-finalize.yml Outdated
@gavinsharp
gavinsharp merged commit b2c3715 into main Jul 10, 2026
2 checks passed
@gavinsharp
gavinsharp deleted the gavinsharp/prefix-sha-tags branch July 10, 2026 22:56
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