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

stacklok / toolhive / 45189893852
75%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 02:13PM UTC
Jobs 1
Files 1047
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

23 Nov 2026 02:02PM UTC coverage: 73.742% (-0.003%) from 73.745%
45189893852

push

github

web-flow
Pass the JWKS auth token path to vMCP (#7221)

* Pass the JWKS auth token path to vMCP

A VirtualMCPServer whose incomingAuth.oidcConfigRef points at a
kubernetesServiceAccount MCPOIDCConfig rejected every caller with 401.
The resolver sets the pod's service-account token path for OIDC
discovery and JWKS requests, but the vMCP converter dropped it and the
vMCP config had no field for it, so discovery against an API server
that requires authentication failed with 403.

Add an optional jwksAuthTokenPath to the vMCP OIDC config, map it from
the resolved MCPOIDCConfig, and pass it to the token validator, the
same way caBundlePath is carried. MCPServer and MCPRemoteProxy already
pass this path through the runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Validate jwksAuthTokenPath like caBundlePath

Reject null bytes, path traversal, and relative paths in the new
incomingAuth.oidc.jwksAuthTokenPath, matching the existing caBundlePath
checks. Without this, a standalone config with a relative path would
resolve against the working directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Report bad OIDC file paths before vMCP starts

A relative or traversing jwksAuthTokenPath from an inline MCPOIDCConfig
was rendered into the vMCP ConfigMap and only rejected when the pod
started, so the user saw a crash loop with nothing on the
VirtualMCPServer status. The operator now runs the same path checks
right after conversion and reports a failure as AuthConfigured=False
(AuthInvalid) without writing the ConfigMap. vMCP keeps its own check.

vMCP also stats the token file before building the validator, so a
configured but missing file fails with an error that names
jwksAuthTokenPath and how to fix it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

50 of 50 new or added lines in 4 files covered. (100.0%)

18 existing lines in 7 files now uncovered.

98136 of 133081 relevant lines covered (73.74%)

879.08 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
63.89
-0.73% pkg/workloads/manager.go
3
83.93
-0.16% pkg/authserver/storage/redis.go
3
76.19
-2.38% pkg/state/local.go
2
67.14
-2.86% pkg/state/runconfig.go
1
94.24
0.0% pkg/authserver/storage/memory.go
1
88.02
-0.12% pkg/transport/proxy/transparent/transparent_proxy.go
1
81.58
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 45189893852.1 23 Nov 2026 02:13PM UTC 1047
73.74
GitHub Action Run
Source Files on build 45189893852
  • Tree
  • List 1047
  • Changed 13
  • Source Changed 5
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45189893852
  • 5e103046 on github
  • Prev Build on main (#45185253501)
  • Next Build on main (#45196115146)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc