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

stacklok / toolhive / 23857036405
65%

Build:
DEFAULT BRANCH: main
Ran 01 Apr 2026 03:43PM UTC
Jobs 1
Files 596
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 Apr 2026 03:37PM UTC coverage: 65.598% (+0.04%) from 65.561%
23857036405

push

github

web-flow
Add migration window fallback to ScopedProvider (#4386)

* Surface bare-key backend errors in migration fallback

Previously, if the bare-key fallback lookup returned a real backend
error (connection failure, auth error), the error was silently discarded
and the caller received the original scoped-key "not found" error,
making backend problems invisible.

Now we distinguish the two cases:
- bare key not found → fall through to the original scoped-key error
- bare key lookup fails with a real error → surface it wrapped so the
  caller can diagnose the root cause

Also adds a doc comment to IsNotFoundError documenting which backend
error message forms it matches, so future backend authors know the
contract.

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

* fix lintint

* Introduce ErrSecretNotFound sentinel and update IsNotFoundError

Define a package-level ErrSecretNotFound sentinel so built-in backends
return a typed error that callers can check with errors.Is rather than
relying on string matching.

Update EncryptedManager and EnvironmentProvider to wrap the sentinel
with %w. Update IsNotFoundError to prefer errors.Is and keep substring
matching only as a legacy fallback for third-party backends (e.g.
1Password SDK) that cannot wrap the sentinel. Remove the now-redundant
strings.Contains call in ValidateEnvironmentProvider.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

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

14 of 14 new or added lines in 5 files covered. (100.0%)

12 existing lines in 2 files now uncovered.

53346 of 81322 relevant lines covered (65.6%)

64.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
22.99
-0.57% pkg/client/manager.go
3
70.0
-3.33% pkg/state/local.go
Jobs
ID Job ID Ran Files Coverage
1 23857036405.1 01 Apr 2026 03:43PM UTC 596
65.6
GitHub Action Run
Source Files on build 23857036405
  • Tree
  • List 596
  • Changed 12
  • Source Changed 5
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23857036405
  • adabad1b on github
  • Prev Build on main (#23855733480)
  • Next Build on main (#23859324499)
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