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

stacklok / toolhive / 23961481522
65%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 08:47PM UTC
Jobs 1
Files 604
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

03 Apr 2026 08:41PM UTC coverage: 65.172% (+0.005%) from 65.167%
23961481522

push

github

web-flow
Wire in-process JWKS key resolution for vMCP embedded auth server (#4526)

When the embedded auth server is active in vMCP (VirtualMCPServer), token validation was failing silently because the OIDC middleware fetched JWKS keys over HTTP from the proxy's own endpoint — a self-referential HTTP round-trip that required operators to set `insecureAllowHTTP` and/or `jwksAllowPrivateIP` just to make token validation work. These are insecure workarounds, and the failures were difficult to diagnose.

This PR extends the fix for the runner and proxy runner to vMCP. The embedded auth server's `KeyProvider` is now extracted in `runServe` and passed through to the OIDC middleware factory, where it is wired into the `TokenValidator` for in-process key resolution. HTTP JWKS fetch is retained as a fallback for key-ID misses and external OIDC providers.

7 of 10 new or added lines in 2 files covered. (70.0%)

46 existing lines in 3 files now uncovered.

54593 of 83768 relevant lines covered (65.17%)

63.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
3.15
-0.01% cmd/vmcp/app/commands.go

Coverage Regressions

Lines Coverage ∆ File
43
90.08
-0.15% pkg/vmcp/health/monitor.go
2
82.6
-0.21% pkg/vmcp/composer/workflow_engine.go
1
3.15
-0.01% cmd/vmcp/app/commands.go
Jobs
ID Job ID Ran Files Coverage
1 23961481522.1 03 Apr 2026 08:47PM UTC 604
65.17
GitHub Action Run
Source Files on build 23961481522
  • Tree
  • List 604
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23961481522
  • ffef2439 on github
  • Prev Build on main (#23959989489)
  • Next Build on main (#23979882227)
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