fix: use iovalkey Cluster for Valkey cluster mode

Signed-off-by: Shamil Ganiev <ganiev@pm.me>
This commit is contained in:
Shamil Ganiev
2026-04-14 15:30:31 +03:00
parent 7bc057e8b6
commit d00a44bc12
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.