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

stacklok / toolhive / 24904854536
67%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 06:20PM UTC
Jobs 1
Files 664
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

24 Apr 2026 06:13PM UTC coverage: 66.255% (-0.01%) from 66.267%
24904854536

push

github

web-flow
Treat 401/403 from auth-configured backends as healthy (#4935)

Health probes run as background system checks with no user context, so
they cannot carry the per-user upstream tokens that upstream_inject
backends require. For OAuth-protected backends, a 401/403 challenge is
the expected response to an unauthenticated probe and proves the backend
is reachable, its auth layer works, and the network path is sound.

Map auth errors to BackendHealthy when the backend has an outgoing auth
strategy configured; keep BackendUnauthenticated only as a narrower
misconfiguration signal (backend demands auth, none configured). This
unblocks discovery from excluding OAuth-protected backends from
capability aggregation (resolves the TODO at discovery/middleware.go).

Drop the `|| BackendUnauthenticated` clause from /status since the state
now represents misconfig rather than routability. Legacy PR #4866
routability semantics in monitor.go are left in place with a TODO for a
follow-up revert; they touch operator controllers and warrant a separate
PR.

Closes #4920

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

23 of 24 new or added lines in 3 files covered. (95.83%)

25 existing lines in 6 files now uncovered.

59203 of 89356 relevant lines covered (66.26%)

62.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.28
0.0% pkg/vmcp/health/monitor.go

Coverage Regressions

Lines Coverage ∆ File
9
22.99
-5.17% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
4
51.22
-0.38% pkg/workloads/manager.go
3
70.0
-3.33% pkg/state/local.go
2
94.77
-1.31% pkg/vmcp/composer/dag_executor.go
1
75.0
8.33% pkg/process/kill_unix.go
Jobs
ID Job ID Ran Files Coverage
1 24904854536.1 24 Apr 2026 06:20PM UTC 664
66.26
GitHub Action Run
Source Files on build 24904854536
  • Tree
  • List 664
  • Changed 14
  • Source Changed 5
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24904854536
  • 46a1b1f8 on github
  • Prev Build on main (#24903886531)
  • Next Build on main (#24923697630)
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