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

stacklok / toolhive / 38710011267
71%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 09:10AM UTC
Jobs 1
Files 953
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

15 Oct 2026 09:02AM UTC coverage: 71.298%. Remained the same
38710011267

push

github

web-flow
Add dcrConfig.rotationKey to re-register upstream DCR clients (#6825)

Add rotationKey for upstream DCR re-registration

An embedded auth server resolves its upstream RFC 7591 registration once
per process start and then serves the cached client_id from the credential
store forever: the only invalidation is client_secret_expires_at, which
public-client upstreams never send. When the upstream drops the
registration, the rejection surfaces only in the user's browser, the proxy
keeps presenting the dead client_id on every start, and the sole remedy is
deleting the Redis row by hand and restarting.

Add dcrConfig.rotationKey, an optional operator-chosen label that is folded
into the DCR cache identity (DCRKey, the Redis key, the persisted row, the
memory map key and the singleflight key) only when non-empty and is never
sent to the upstream. Bumping it makes the next start register a fresh
client; an empty value addresses exactly the pre-existing key, so existing
rows need no migration. The run-config validates the same alphabet and
length the CRD markers enforce, and the cache-hit and registration logs
carry the key so operators can confirm which generation a replica runs.

Related to #6821 (automatic recovery), #6496, #6508.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>

20 of 20 new or added lines in 6 files covered. (100.0%)

20 existing lines in 3 files now uncovered.

86691 of 121590 relevant lines covered (71.3%)

126.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
59.0
-1.14% pkg/workloads/manager.go
6
19.87
-3.97% pkg/client/manager.go
3
61.43
-4.29% pkg/state/runconfig.go
Jobs
ID Job ID Ran Files Coverage
1 38710011267.1 15 Oct 2026 09:10AM UTC 953
71.3
GitHub Action Run
Source Files on build 38710011267
  • Tree
  • List 953
  • Changed 17
  • Source Changed 10
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38710011267
  • 14c6066a on github
  • Prev Build on main (#38634734985)
  • Next Build on main (#38733852931)
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