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

chideat / valkey-operator / 27875628579
24%
main: 22%

Build:
Build:
LAST BUILD BRANCH: fix/reconcile-builder-correctness-bugs
DEFAULT BRANCH: main
Ran 20 Jun 2026 03:34PM UTC
Jobs 1
Files 145
Run time 1min
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

20 Jun 2026 03:31PM UTC coverage: 23.584% (+1.1%) from 22.496%
27875628579

Pull #96

github

chideat
fix: correct a batch of reconcile/builder correctness bugs with tests

Surgical, behavior-preserving fixes (no new logic), each with a unit test.

- ops/failover patch-labels: add missing `return` so a Monitor().Master()
  error no longer falls through to a nil-pointer panic
- valkey/failover manual monitor: return nil on successful promotion instead
  of falling through to the "No available node to failover" error
- clientset UpdatePod: submit the merged oldPod (with server ResourceVersion),
  not the caller's stale pod argument
- builder configmap (cluster+failover): fix memory-sizing guard `&&`->`||` so
  the Limits->Requests memory fallback actually fires
- controller failover: return after finalizer removal so it is not re-added to
  an object being deleted (mirrors cluster_controller)
- config.Getenv: return the matched non-empty default, not always defaults[0]
- rds webhook: correct the inverted "spec.resources is required" message
- builder statefulset (cluster+failover): set PVC OwnerReferences via index so
  RetainAfterDeleted is honored (range-copy bug)
- helper sync: fix etcd object-size guard constant (~1Gi -> ~1Mi) via a small
  pure `exceedsConfigMapSizeLimit` helper
- remove dead util.CheckRule/CheckUserRuleUpdate/AuthConfig and their tests

Full unit suite incl. envtest (controller/webhook) is green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Pull Request #96: fix: reconcile/builder correctness bugs with unit tests

15 of 17 new or added lines in 11 files covered. (88.24%)

6 existing lines in 1 file now uncovered.

4844 of 20539 relevant lines covered (23.58%)

0.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
1.58
1.58% cmd/helper/sync/controller.go

Coverage Regressions

Lines Coverage ∆ File
6
1.58
1.58% cmd/helper/sync/controller.go
Jobs
ID Job ID Ran Files Coverage
1 27875628579.1 20 Jun 2026 03:34PM UTC 145
23.58
GitHub Action Run
Source Files on build 27875628579
  • Tree
  • List 145
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #96
  • PR Base - main (#27826361852)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc