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

chideat / valkey-operator
24%
main: 22%

Build:
Build:
LAST BUILD BRANCH: fix/reconcile-builder-correctness-bugs
DEFAULT BRANCH: main
Repo Added 05 Feb 2025 06:56AM UTC
Files 145
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 fix/reconcile-builder-correctness-bugs
branch: fix/reconcile-builder-correctness-bugs
CHANGE BRANCH
x
Reset
  • fix/reconcile-builder-correctness-bugs
  • 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/cross-version-rolling-upgrade-data-loss
  • fix/pr-pipeline-fork-prs
  • fix/safe-version-configmap
  • main
  • 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

21 Jun 2026 01:47AM UTC coverage: 23.586% (+1.1%) from 22.496%
27890096313

Pull #96

github

chideat
refactor(test): share FailoverInstance/ValkeyNode fakes; simplify size guard

Addresses code-review follow-ups (all test-only / no production behavior change):

- add internal/testutil with configurable FakeFailoverInstance and
  FakeValkeyNode, replacing three near-identical per-package mocks
  (failoverbuilder, ops/failover/actor, valkey/failover/monitor). The
  certmetav1.ObjectReference deprecation now surfaces once instead of 3x.
- simplify exceedsConfigMapSizeLimit to take a single dataSize (oldTotal and
  oldData always cancelled to 0 at the only call site); behavior unchanged.

Verified: ACL-rule validation is fully handled by pkg/types/user.Rule.Validate
(user webhook + pkg/security/acl), so the earlier dead-code removal left no gap.

Full unit suite incl. envtest 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%)

4844 of 20538 relevant lines covered (23.59%)

0.27 hits per line

Relevant lines Covered
Build:
Build:
20538 RELEVANT LINES 4844 COVERED LINES
0.27 HITS PER LINE
Source Files on fix/reconcile-builder-correctness-bugs
  • Tree
  • List 145
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27890096313 fix/reconcile-builder-correctness-bugs refactor(test): share FailoverInstance/ValkeyNode fakes; simplify size guard Addresses code-review follow-ups (all test-only / no production behavior change): - add internal/testutil with configurable FakeFailoverInstance and FakeValkeyNode, r... Pull #96 21 Jun 2026 01:51AM UTC chideat github
23.59
27888620996 fix/reconcile-builder-correctness-bugs style: gofmt test mocks Align the mock method tables with gofmt so the new/modified test files pass the format check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Pull #96 21 Jun 2026 12:39AM UTC chideat github
23.58
27875628579 fix/reconcile-builder-correctness-bugs 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 th... Pull #96 20 Jun 2026 03:34PM UTC chideat github
23.58
See All Builds (119)
  • Repo on GitHub
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