Skip to content

feat(cache): upgrade Redis client to v9 - #4891

Merged
asim merged 1 commit into
masterfrom
codex/4890-upgrade-redis-v9
Aug 19, 2026
Merged

feat(cache): upgrade Redis client to v9#4891
asim merged 1 commit into
masterfrom
codex/4890-upgrade-redis-v9

Conversation

@asim

@asim asim commented Aug 19, 2026

Copy link
Copy Markdown
Member

Summary

  • upgrade the Redis cache client from the unmaintained v8 module to the canonical github.com/redis/go-redis/v9 module at v9.22.0
  • update Redis cache implementation and test imports for v9
  • tidy module checksums and transitive dependencies

Testing

  • go build ./...
  • go vet ./...
  • go test ./cache/redis
  • go test ./... (environment failures: loopback connections are blocked and the credential-free AtlasCloud conformance request returned HTTP 400)
  • golangci-lint run ./... (environment limitation: installed binary was built with Go 1.24 but the module targets Go 1.25.12)

Closes #4890

Copilot AI lite review requested due to automatic review settings August 19, 2026 14:40
@asim asim added the codex label Aug 19, 2026
@asim
asim merged commit 95280ad into master Aug 19, 2026
12 checks passed

Copilot AI 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.

Pull request overview

Upgrades the project’s Redis cache dependency from the deprecated github.com/go-redis/redis/v8 module to the maintained github.com/redis/go-redis/v9 module, updating the cache implementation and associated tests accordingly.

Changes:

  • Switch root module dependency to github.com/redis/go-redis/v9 v9.22.0 and remove github.com/go-redis/redis/v8.
  • Update cache/redis implementation and tests to import the v9 module path.
  • Refresh go.sum to reflect the new dependency graph after go mod tidy.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Drops go-redis/v8 and adds redis/go-redis/v9 (plus indirect tidy changes).
go.sum Updates checksums to match the v9 dependency set and tidied transitive deps.
cache/redis/redis.go Updates Redis client import to v9 for the cache implementation.
cache/redis/options.go Updates Redis client import to v9 for options/client construction.
cache/redis/options_test.go Updates Redis client import to v9 for tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go.mod
Comment on lines 31 to 34
github.com/prometheus/client_model v0.6.1
github.com/rabbitmq/amqp091-go v1.10.0
github.com/redis/go-redis/v9 v9.22.0
github.com/stretchr/objx v0.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Upgrade github.com/go-redis/redis from v8 to v9

3 participants