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

stacklok / toolhive / 23824669340
65%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 11:49PM UTC
Jobs 1
Files 590
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

31 Mar 2026 11:44PM UTC coverage: 65.527% (+0.02%) from 65.512%
23824669340

push

github

web-flow
Remove deprecated fields from MCPServer and MCPRemoteProxy CRDs (#4467)

* Remove deprecated fields from MCPServer and MCPRemoteProxy CRDs

The v1alpha2 API is a breaking change and the right time to drop
deprecated fields that were retained for backward compatibility.

Remove six deprecated CRD fields and their fallback helper logic:
- MCPServer.spec.port → use proxyPort
- MCPServer.spec.targetPort → use mcpPort
- MCPServer.spec.toolsFilter → use toolConfigRef + MCPToolConfig
- InlineOIDCConfig.clientSecret → use clientSecretRef (SecretKeyRef)
- InlineOIDCConfig.thvCABundlePath → use caBundleRef (ConfigMap)
- MCPRemoteProxy.spec.port → use proxyPort

Simplify GetProxyPort() and GetMcpPort() helpers to use only the
canonical fields. Update all controllers, OIDC resolver, vMCP
converter, export logic, tests, CRD schemas, examples, and docs.

Fixes #4250

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

* Move migration guide from docs to PR description

The migration notes are better suited for the PR description where
they are visible to reviewers alongside the breaking change context.

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

---------

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

5 of 7 new or added lines in 5 files covered. (71.43%)

14 existing lines in 5 files now uncovered.

53038 of 80941 relevant lines covered (65.53%)

65.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.12
4.83% cmd/thv-operator/api/v1alpha1/mcpremoteproxy_types.go
1
70.06
0.64% pkg/vmcp/workloads/k8s.go

Coverage Regressions

Lines Coverage ∆ File
4
51.71
-0.38% pkg/workloads/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
3
83.02
0.21% pkg/vmcp/composer/workflow_engine.go
2
74.18
-0.34% cmd/thv-operator/controllers/mcpserver_runconfig.go
2
61.97
-1.41% pkg/networking/port.go
Jobs
ID Job ID Ran Files Coverage
1 23824669340.1 31 Mar 2026 11:49PM UTC 590
65.53
GitHub Action Run
Source Files on build 23824669340
  • Tree
  • List 590
  • Changed 16
  • Source Changed 9
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23824669340
  • 029ecbd1 on github
  • Prev Build on main (#23824586208)
  • Next Build on main (#23836166353)
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