Repository navigation
ci: release all modules together from a VERSION file - #396
Merged
Merged
Conversation
Replace the manual, per-module tag process with the release-PR flow used by toolhive and toolhive-registry-server: - create-release-pr.yml bumps VERSION via releaseo and opens a release PR - create-release-tag.yml tags the merged commit for all five Go modules at the same version and creates the GitHub Release - release.yml now runs on the published release and uploads the schemas Drop the development-only redisconn replace directives from the provider modules so GOWORK=off CI builds them against the published redisconn they require, and remove validate-release.sh, its test script and fixtures, which only guarded against drift those replaces could hide. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ChrisJBurns
approved these changes
Oct 19, 2026
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches toolhive-core to the release flow used by toolhive and toolhive-registry-server, extended to release all five Go modules with one version.
Releasing after this:
gh workflow run create-release-pr.yml -f bump_type=patch).releaseobumpsVERSIONand opens aRelease vX.Y.ZPR.vX.Y.Z,redisconn/vX.Y.Z,redisconn/aws/vX.Y.Z,redisconn/azure/vX.Y.Zandredisconn/gcp/vX.Y.Z, then creates the GitHub Release with generated notes.No more per-module tags, release ordering, or pin PRs.
Changes
VERSION(0.0.56, the current release),create-release-pr.yml,create-release-tag.yml.release.yml: runs onrelease: publishedinstead of tag pushes. It keeps the go-sdk pre-release warning and the schema upload; the preflight job and manual dispatch inputs are gone.replace github.com/stacklok/toolhive-core/redisconn => ..fromredisconn/aws,azureandgcp.go.workstill links the modules for local development. CI'sGOWORK=offruns now build each provider against the publishedredisconnit requires (v0.0.4), which is what consumers get. That's the guaranteevalidate-release.shused to enforce at tag time; now it's checked on every PR.scripts/validate-release.sh,scripts/test-validate-release.sh,scripts/testdata/, and their references intest.yml,Taskfile.ymlandrenovate.json.docs/redisconn-extraction.md.check-redisconn-modules.sh(the no-cloud-SDKs-in-core budget) and the per-module CI runs are unchanged.Notes
RELEASE_APP_CLIENT_IDvariable and theRELEASE_APP_PRIVATE_KEYsecret. The App token is needed because a release created withGITHUB_TOKENdoesn't triggerrelease.yml.redisconn/awsv0.0.8) to the shared version on the next release. Go allows gaps.git push.redisconnAPI and a provider together now fails the provider'sGOWORK=offCI until a release ships the new core. Release first, then bump the provider. This has never happened so far (every sibling release was a dependency bump).Test plan
Release v0.0.57 (#400)and.../release/v0.0.57, rejectsRelease v0.0.570and non-release commitsGOWORK=offtidy/verify/test/vet for all fourredisconn*modules;check-redisconn-modules.shgo test -race ./..., license check🤖 Generated with Claude Code