Skip to content

Relax pre-release go-sdk release guard to a warning - #199

Merged
JAORMX merged 1 commit into
mainfrom
worktree-relax-gosdk-release-guard
Jul 28, 2026
Merged

Relax pre-release go-sdk release guard to a warning#199
JAORMX merged 1 commit into
mainfrom
worktree-relax-gosdk-release-guard

Conversation

@samuv

@samuv samuv commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The Publish Release Artifacts job hard-fails whenever go.mod pins a pre-release go-sdk (v1.7.0-pre.3 currently), which blocked tag v0.0.34 from https://github.com/stacklok/toolhive-core/actions/runs/30162943590/job/89691111577
  • Since go-sdk v1.7.0 final hasn't shipped yet, this turns the hard failure into a non-blocking ::warning, so releases can still go out while the pre-release dependency is visibly flagged
  • Once go-sdk v1.7.0 final ships and go.mod is bumped, this warning naturally stops firing

Test plan

  • Re-run/tag a release and confirm the job succeeds with a warning annotation instead of failing

Releases pinned to a go-sdk pre-release are still surfaced via an
Actions warning, but no longer block tagging while go-sdk v1.7.0
final hasn't shipped yet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@JAORMX
JAORMX merged commit e8a9770 into main Jul 28, 2026
5 checks passed
@JAORMX
JAORMX deleted the worktree-relax-gosdk-release-guard branch July 28, 2026 12:49
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.

2 participants