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

stacklok / toolhive / 39973646734
73%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 03:03PM UTC
Jobs 1
Files 976
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

23 Oct 2026 02:54PM UTC coverage: 71.751% (+0.004%) from 71.747%
39973646734

push

github

web-flow
Fix vMCP incoming OIDC client secret resolution (#6904)

* Fix vMCP incoming OIDC client secret resolution

The incoming OIDC middleware built its TokenValidatorConfig without
ClientSecret, so OIDCConfig.ClientSecretEnv was ignored. The validator
then fell back to TOOLHIVE_OIDC_CLIENT_SECRET, which the operator does
not set for vMCP pods (it injects VMCP_OIDC_CLIENT_SECRET and writes
clientSecretEnv: VMCP_OIDC_CLIENT_SECRET), breaking RFC 7662
introspection for opaque tokens.

Resolve the configured environment variable when building the validator
and fail fast with a clear error if it is set but empty. Reading the
environment here keeps the CLI YAML path and the operator path in sync
and avoids putting the secret into configuration.

Signed-off-by: xianshujun <xianshupang@gmail.com>

* Strengthen OIDC client secret middleware test

Exercise an opaque token through the real middleware and assert that the
introspection endpoint receives the configured client ID and secret. This
covers the ClientSecret wiring added for #6890 instead of only checking
that middleware construction succeeds.

Signed-off-by: xianshujun <xianshupang@gmail.com>

---------

Signed-off-by: xianshujun <xianshupang@gmail.com>

22 of 22 new or added lines in 1 file covered. (100.0%)

6 existing lines in 1 file now uncovered.

89379 of 124568 relevant lines covered (71.75%)

127.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
72.34
-6.38% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 39973646734.1 23 Oct 2026 03:03PM UTC 976
71.75
GitHub Action Run
Source Files on build 39973646734
  • Tree
  • List 976
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39973646734
  • 7970d588 on github
  • Prev Build on main (#39961847053)
  • Next Build on main (#40137921395)
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