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

stacklok / toolhive / 23509622591
65%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 08:03PM UTC
Jobs 1
Files 576
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

24 Mar 2026 07:59PM UTC coverage: 64.365% (-0.3%) from 64.642%
23509622591

push

github

web-flow
Add RegisterHandlers and wire embedded AS routes on vMCP mux (#4348)

* Add RegisterHandlers and wire embedded AS routes on vMCP mux

Phase 2 of the vMCP embedded authorization server (#4141):

- Add RegisterHandlers(mux) to EmbeddedAuthServer — the AS owns its
  route paths (/oauth/, /.well-known/openid-configuration, etc.)
- Add AuthServer field to vMCP server Config
- Replace /.well-known/ catch-all with explicit registrations:
  /.well-known/oauth-protected-resource (exact + subpath) is always
  registered; Mode B conditionally adds AS discovery/JWKS routes
- No commands.go changes — CLI path deferred to Phase 4

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Extract Routes() method to eliminate AS route duplication

The proxy runner and vMCP server both registered the same four
authorization server routes independently. Extract a Routes() method
on EmbeddedAuthServer that returns the canonical route map, and have
both RegisterHandlers and the proxy runner consume it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

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

18 of 27 new or added lines in 3 files covered. (66.67%)

353 existing lines in 6 files now uncovered.

50892 of 79068 relevant lines covered (64.36%)

151.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
31.53
-1.31% pkg/runner/runner.go
2
61.44
-19.34% pkg/vmcp/server/server.go
6
74.42
-15.17% pkg/authserver/runner/embeddedauthserver.go

Uncovered Existing Lines

Lines Coverage ∆ File
8
23.56
-4.6% pkg/client/manager.go
11
68.42
-14.47% pkg/client/discovery.go
14
74.44
-5.19% pkg/client/config.go
52
31.53
-1.31% pkg/runner/runner.go
69
74.42
-15.17% pkg/authserver/runner/embeddedauthserver.go
199
61.44
-19.34% pkg/vmcp/server/server.go
Jobs
ID Job ID Ran Files Coverage
1 23509622591.1 24 Mar 2026 08:03PM UTC 576
64.36
GitHub Action Run
Source Files on build 23509622591
  • Tree
  • List 576
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23509622591
  • f64d8074 on github
  • Prev Build on main (#23502257455)
  • Next Build on main (#23510630018)
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