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

stacklok / toolhive / 24473565393
66%

Build:
DEFAULT BRANCH: main
Ran 15 Apr 2026 07:24PM UTC
Jobs 1
Files 631
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

15 Apr 2026 07:18PM UTC coverage: 65.767%. Remained the same
24473565393

push

github

web-flow
Add resourceUrl field to MCPOIDCConfigReference (#4855)

* Add resourceUrl field to MCPOIDCConfigReference

When a VirtualMCPServer is exposed via Ingress, the protected resource
metadata (RFC 9728) must advertise the public URL, not the internal
Kubernetes service URL. Without this, oidcConfigRef is unusable for any
externally-exposed server because MCP clients receive an unreachable
internal address.

Add an optional resourceUrl field to MCPOIDCConfigReference that
overrides the derived service URL. When empty, the existing fallback to
the internal service URL is preserved.

Closes #4851

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

* Add integration test for oidcConfigRef resourceUrl override

Verify end-to-end that when a VirtualMCPServer sets resourceUrl on its
oidcConfigRef, the generated ConfigMap contains the explicit public URL
instead of the internal Kubernetes service URL.

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

* Strengthen OIDC integration tests to assert all resolved fields

The existing ConfigMap assertion only checked Issuer and Audience.
Expand it to also verify ClientID, Scopes, and the derived Resource URL,
ensuring full field propagation from MCPOIDCConfig + MCPOIDCConfigReference
through to the generated runconfig. The resourceUrl override test now also
asserts all fields, not just Resource.

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

* Consolidate OIDC integration tests into single context

Fold the resourceUrl override test into the existing VirtualMCPServer
context instead of duplicating the full setup. The first context now
sets ResourceURL on the ref and asserts all resolved fields including
the explicit resource URL.

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

* Update cmd/thv-operator/test-integration/mcp-oidc-config/mcpoidcconfig_virtualmcpserver_integration_test.go

* Address review feedback: fix comment, add fall... (continued)

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

8 existing lines in 2 files now uncovered.

57232 of 87023 relevant lines covered (65.77%)

62.62 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
72.35
-1.29% pkg/runner/config.go
2
93.94
-6.06% pkg/foreach/foreach.go
Jobs
ID Job ID Ran Files Coverage
1 24473565393.1 15 Apr 2026 07:24PM UTC 631
65.77
GitHub Action Run
Source Files on build 24473565393
  • Tree
  • List 631
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24473565393
  • 300d6598 on github
  • Prev Build on main (#24469361499)
  • Next Build on main (#24473572887)
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