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

stacklok / toolhive / 24510042617
66%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 12:30PM UTC
Jobs 1
Files 631
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

16 Apr 2026 12:24PM UTC coverage: 66.01% (+1.9%) from 64.072%
24510042617

push

github

web-flow
Use scoped secrets provider for registry auth (#4893)

After secret scope migration runs, registry tokens are moved from bare
keys (REGISTRY_OAUTH_*) to the scoped namespace (__thv_registry_*).
The factory and API login/logout handlers were still using the bare
provider, so token lookups failed after migration and returned 401.

Switch factory.go and the API registry auth handler to use
CreateProvider with WithScope(ScopeRegistry). ScopedProvider.GetSecret
falls back to bare keys during the migration window, and all new
reads/writes go through the scoped namespace consistently.

Also fix EncryptedManager.DeleteSecret to return ErrSecretNotFound
(matching GetSecret) so callers relying on IsNotFoundError handle
delete-not-found correctly.

Fix #4892

1 of 3 new or added lines in 3 files covered. (33.33%)

44 existing lines in 6 files now uncovered.

57254 of 86735 relevant lines covered (66.01%)

62.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
47.4
0.0% pkg/api/v1/registry.go
1
62.67
0.0% pkg/registry/factory.go

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
68.83
-14.29% pkg/client/discovery.go
8
23.56
-4.6% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
79.38
-0.26% pkg/transport/proxy/httpsse/http_proxy.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 24510042617.1 16 Apr 2026 12:30PM UTC 631
66.01
GitHub Action Run
Source Files on build 24510042617
  • Tree
  • List 631
  • Changed 10
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24510042617
  • d9447746 on github
  • Prev Build on main (#24509077251)
  • Next Build on main (#24510354959)
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