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

stacklok / toolhive / 24734423166
66%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2026 04:42PM UTC
Jobs 1
Files 655
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

21 Apr 2026 04:36PM UTC coverage: 66.214% (+0.1%) from 66.1%
24734423166

push

github

web-flow
Propagate auth errors through stale cache fallback (#4981)

refreshCache() was returning stale cached data for any API error,
including auth failures (401/403 from registry and OAuth flow timeouts).
Users saw previously-cached registry content with no error after their
credentials expired or the OAuth browser flow timed out.

Fix in two parts:
- auth.Transport.RoundTrip now wraps all Token() errors with
  ErrRegistryAuthRequired, classifying token-acquisition failures as auth
  errors regardless of the underlying cause.
- refreshCache() checks for ErrRegistryAuthRequired/ErrRegistryUnauthorized
  before the stale-cache fallback; transient errors (network, 5xx) still
  degrade gracefully.

Fixes #4950

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

8 of 8 new or added lines in 2 files covered. (100.0%)

58562 of 88443 relevant lines covered (66.21%)

62.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24734423166.1 21 Apr 2026 04:42PM UTC 655
66.21
GitHub Action Run
Source Files on build 24734423166
  • Tree
  • List 655
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24734423166
  • 63ee62aa on github
  • Prev Build on main (#24730769715)
  • Next Build on main (#24738304706)
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