Repository navigation
refactor!: remove deprecated redis compatibility facade - #395
Merged
Merged
Conversation
The redis package was a source-compatible shim kept after the redisconn extraction (compatibility window v0.0.44-v0.0.45). It was the only reason the root module required the redisconn modules, which forced sibling tags and a pin PR before nearly every root release. Remove the package, its go.mod requires and development replaces, and update docs. Consumers should import redisconn and the matching provider module directly. BREAKING CHANGE: github.com/stacklok/toolhive-core/redis is removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ChrisJBurns
approved these changes
Oct 19, 2026
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
Removes the deprecated
github.com/stacklok/toolhive-core/redispackage. It was a compatibility shim kept after theredisconnextraction (the planned window was v0.0.44–v0.0.45; we're at v0.0.55).It was also the only reason the root module required
redisconn,redisconn/aws,redisconn/azureandredisconn/gcp. With those requires in place,scripts/validate-release.shblocks a root tag whenever a sibling has changed since its last tag. Renovate bumps the siblings'go.modalmost weekly, so nearly every root release needed sibling tags and a pin PR first (e.g. #384, #385). After this, a root release is a single tag.Changes
redis/.go.mod: drop the fourredisconn*requires and their development-onlyreplacedirectives;go mod tidyalso dropsgo-redisandminiredis.go.workstill joins all modules for local development.redisfrom the README and CLAUDE.md package tables, and updatedocs/redisconn-extraction.md(migration notes, simplified release ordering).Consumers
Searched all Go code in the
stacklokandstackloklabsorgs for the exact import:mainalready usesredisconndirectly.Migration: import
redisconn+ the matching provider module, move connection fields intoredisconn.Config, and buildredisconn.DynamicAuthwith the provider's constructor.Test plan
go build ./...with and withoutGOWORKgo test -race ./...(root) andGOWORK=off go test ./...in eachredisconn*modulego vet ./..., license check,scripts/test-validate-release.sh,scripts/check-redisconn-modules.sh./scripts/validate-release.sh v0.0.56passes on this treeenv/mocks)🤖 Generated with Claude Code