• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chideat / valkey-operator
24%

Build:
DEFAULT BRANCH: main
Repo Added 05 Feb 2025 06:56AM UTC
Files 146
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • chore/deps-combined-2026-03-16
  • chore/resolve-deps-prs
  • copilot/add-helm-chart-support
  • copilot/fix-github-actions-permissions
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/go_modules/github.com/alicebob/miniredis/v2-2.35.0
  • dependabot/go_modules/github.com/fsnotify/fsnotify-1.8.0
  • dependabot/go_modules/github.com/fsnotify/fsnotify-1.9.0
  • dependabot/go_modules/github.com/samber/lo-1.49.1
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/gotest.tools/v3-3.5.2
  • dev
  • docs-optimize
  • docs-supported-versions-matrix
  • feat/1.1.0
  • fix-kustomize-deployment
  • fix/cluster-clusterip-pod-services
  • fix/cross-version-rolling-upgrade-data-loss
  • fix/pr-pipeline-fork-prs
  • fix/reconcile-builder-correctness-bugs
  • fix/safe-version-configmap
  • port-redis-controller-fixes
  • release-1.0
  • renovate/alpine-3.x
  • renovate/configure
  • renovate/patch-kubernetes
  • renovate/patch-patch-upgrades
  • test-fix
  • update-docs
  • update-valkey-examples
  • valkey-version-support

06 Aug 2026 02:34AM UTC coverage: 24.012% (+1.6%) from 22.384%
31065989368

push

github

web-flow
fix: controller fixes (slot guard, Pending-recovery, NodePort webhook, User phase key) (#101)

* fix(cluster): don't reassign slots a disconnected-but-intact shard owns

The engine judged shard master/slot presence via the IsJoined-gated accessors
shard.Master()/shard.Slots(), which return nil/empty when a node can't currently
see a peer. After a full restart a master that still locally owns its slots but
can't reach its peers was therefore treated as masterless/slotless, triggering
destructive EnsureSlots/Rebalance (ADDSLOTS, FAILOVER, SETSLOT) that created
epoch/slot conflicts and prevented reconvergence (risking split-brain).

Add ungated predicates (ShardAssignedSlots, ShardHasMaster, IsDisconnectedButIntact)
in internal/ops/cluster/predicate.go that judge ownership from the master node's
real local slots regardless of peer connectivity, and base the reassignment
decision on actual ownership: a disconnected-but-intact shard waits to re-MEET
instead of reassigning slots it already holds. Gated in engine check_4 and the
ensure_slots / join_node / rebalance actors.

Ported from redis-operator 7e6f6910 (RedisRole->NodeRole, type name adaptation).

* fix(cluster,failover): recover a Pending instance after a resource downscale

An instance created with oversized resources (all pods Pending) never recovered
after patching spec.resources down: with Pending pods the engine loops in
HealPod / HealMonitor and never reaches EnsureResource (the only actor that
updates the StatefulSet), so the desired resources never reach the template and
the pods stay Pending forever.

- cluster HealPod: always fall through to CommandEnsureResource, and delete
  stale-revision Pending pods so the StatefulSet recreates them from the updated
  template. valkey's cluster StatefulSet uses ParallelPodManagement + RollingUpdate,
  so the comment reflects that (not redis's OrderedReady premise).
- failover HealMonitor: return CommandEnsureResource instead of idle-waiting when
  no u... (continued)

90 of 154 new or added lines in 10 files covered. (58.44%)

48 existing lines in 3 files now uncovered.

4965 of 20677 relevant lines covered (24.01%)

0.28 hits per line

Relevant lines Covered
Build:
Build:
20677 RELEVANT LINES 4965 COVERED LINES
0.28 HITS PER LINE
Source Files on main
  • Tree
  • List 146
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31065989368 main fix: controller fixes (slot guard, Pending-recovery, NodePort webhook, User phase key) (#101) * fix(cluster): don't reassign slots a disconnected-but-intact shard owns The engine judged shard master/slot presence via the IsJoined-gated accessors... push 06 Aug 2026 02:36AM UTC web-flow github
24.01
29337488663 main fix: cluster arch on ClusterIP access, and stranded password secret finalizer (#99) * fix: create pod binded services for cluster arch on ClusterIP access ensureService switches on Access.ServiceType with cases for NodePort and LoadBalancer only... push 14 Jul 2026 01:43PM UTC web-flow github
22.38
27826361852 main chore(deps): bump actions/checkout from 6 to 7 (#95) Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob... push 19 Jun 2026 12:45PM UTC web-flow github
22.5
25423975899 main docs: refresh supported Valkey/Kubernetes version matrix (#94) * docs: refresh supported Valkey/Kubernetes version matrix Aligns README and docs with what was tested on the merged PR #84: Valkey 7.2/8.0/8.1 on K8s 1.31, 1.32, 1.33; Valkey 8.2 an... push 06 May 2026 08:15AM UTC web-flow github
22.5
25422996872 main feat: add Valkey 8.2/9.0/9.1 support, version-aware config (#84) * feat: add Valkey 8.2/9.0/9.1 support, version-aware config, downgrade protection, and comprehensive e2e tests - Extend version enum to 8.2, 9.0, 9.1 in API and CRDs - Add IsAtLea... push 06 May 2026 07:52AM UTC web-flow github
22.5
24625110776 main ci: skip secret-dependent steps for PRs from forks (#92) Fork PRs cannot access repository secrets or write-scoped tokens, so the coverage upload (COVERALLS_REPO_TOKEN) and the Docker build/push job (GH_TOKEN) always fail on them. Gate both on th... push 19 Apr 2026 08:47AM UTC web-flow github
22.36
24400300369 main chore(deps): bump azure/setup-helm from 4 to 5 (#90) Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 4 to 5. - [Release notes](https://github.com/azure/setup-helm/releases) - [Changelog](https://github.com/Azure/setup-helm/blob... push 14 Apr 2026 01:02PM UTC web-flow github
22.36
24393225636 main Add Helm chart for valkey-operator (#87) push 14 Apr 2026 10:11AM UTC web-flow github
22.36
23171490864 main chore(deps): consolidate all dependabot dependency updates (#78) * chore(deps): consolidate all dependabot dependency updates Go modules: - github.com/cert-manager/cert-manager: v1.18.2 → v1.20.0 - github.com/gomodule/redigo: v1.9.2 → v1.9.3 - g... push 16 Mar 2026 11:55PM UTC web-flow github
22.36
23149259711 main fix: correct RDS Valkey webhook registration and failover defaults (#77) Two bugs in the RDS Valkey admission webhook: 1. Webhook annotations referenced the wrong API group (rds.inst.buf.red instead of rds.valkey.buf.red), causing both the mu... push 16 Mar 2026 02:41PM UTC web-flow github
22.39
See All Builds (126)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc