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

stacklok / toolhive / 25218379205
65%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 02:41PM UTC
Jobs 1
Files 711
Run time 2min
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

01 May 2026 02:35PM UTC coverage: 64.525% (+0.05%) from 64.48%
25218379205

push

github

web-flow
Allow standalone Redis in auth server storage (#4994)

* Allow standalone Redis in auth server: update validateConfig

Add Addr field to RedisConfig for standalone mode (e.g., GCP Memorystore,
AWS ElastiCache), making it mutually exclusive with SentinelConfig.
Update validateConfig to enforce the mutual exclusion and require exactly
one connection mode. Update NewRedisStorage to branch between
redis.NewClient (standalone) and redis.NewFailoverClient (sentinel).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Allow standalone Redis in auth server: add Addr to RunConfig and update converter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Allow standalone Redis in auth server: update CRD RedisStorageConfig

Add an Addr field for standalone Redis mode and make SentinelConfig
optional. A CEL XValidation rule enforces that exactly one of addr
(standalone) or sentinelConfig (Sentinel) is set. Regenerate deepcopy,
CRD manifests, and API reference docs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Allow standalone Redis in auth server: update operator buildStorageRunConfig

Replace the Sentinel-only requirement with support for either a standalone
addr or a SentinelConfig, matching the new RedisStorageConfig.Addr field
added to the CRD in earlier tasks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix review issues in standalone Redis implementation

- Fix CEL XValidation rule Unicode curly quote bug in RedisStorageConfig
  (replaced U+201D right double quotation mark with ASCII single quotes)
- Add mutual exclusivity guard when both addr and sentinelConfig are set
  in buildStorageRunConfig
- Add test case covering the addr+sentinelConfig conflict error path
- Update RedisStorage doc comment to describe both standalone and Sentinel modes
- Use t.Cleanup instead of defer in withRedisStorage parallel test helper
- Use non-default ACL username in TestNewRedisStorage_Standalone_WithMiniredis
- Regenera... (continued)

120 of 131 new or added lines in 3 files covered. (91.6%)

15 existing lines in 5 files now uncovered.

61855 of 95862 relevant lines covered (64.53%)

59.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
89.2
0.52% pkg/authserver/runner/embeddedauthserver.go
4
83.46
0.67% pkg/authserver/storage/redis.go
2
92.68
0.14% cmd/thv-operator/pkg/controllerutil/authserver.go

Coverage Regressions

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
73.7
0.74% pkg/ignore/processor.go
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
2
73.63
-0.64% pkg/runner/config.go
1
89.2
0.52% pkg/authserver/runner/embeddedauthserver.go
Jobs
ID Job ID Ran Files Coverage
1 25218379205.1 01 May 2026 02:41PM UTC 711
64.53
GitHub Action Run
Source Files on build 25218379205
  • Tree
  • List 711
  • Changed 13
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25218379205
  • dc745881 on github
  • Prev Build on main (#25216196995)
  • Next Build on main (#25228591736)
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