Merge pull request #33895 from ganievs/fix-valkey-cluster-client

fix: use iovalkey Cluster for Valkey cluster mode
This commit is contained in:
Patrik Oldsberg
2026-05-19 20:14:27 +02:00
committed by GitHub
6 changed files with 147 additions and 16 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/backend-defaults': patch
---
Fixed Valkey cluster mode to use `iovalkey`'s `Cluster` class instead of
`createCluster` from `@keyv/redis`. The previous implementation passed a
`@redis/client` `RedisCluster` instance to `@keyv/valkey`, which expects an
`iovalkey` `Cluster` instance. This caused the cluster client to not be
recognized correctly, as the two libraries have incompatible object models.