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

stacklok / toolhive / 24203869826
66%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 05:30PM UTC
Jobs 1
Files 616
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

09 Apr 2026 05:24PM UTC coverage: 65.008% (-0.03%) from 65.034%
24203869826

push

github

web-flow
Add vMCP MCPServerEntry static backend support (#4707)

* Add vMCP MCPServerEntry static backend support

Enable vMCP static mode to parse and connect to MCPServerEntry-type
backends from ConfigMap configuration, routing MCP traffic directly to
remote servers without proxy pods.

- Add BackendType constants (container, proxy, entry) to vmcp types
- Extend StaticBackendConfig with Type and CABundlePath fields
- Propagate entry backend fields through discoverer to Backend
- Add custom CA bundle support to HTTP client transport (per-backend)
- Add config validation for entry backend type and CA bundle paths
- Add unit tests for all new functionality (19 test cases)

Closes #4658

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

* Address review feedback: harden path validation and TLS config

- Strengthen CA bundle path validation with null byte check,
  path traversal rejection, and absolute path requirement to match
  existing patterns in pkg/git/client.go and pkg/server/discovery/
- Clone TLS config instead of replacing it to preserve existing
  settings (e.g. NextProtos for HTTP/2 ALPN) from the cloned transport
- Add backward-compatibility comments to unused BackendType constants
- Add test cases for null bytes and relative paths in CA bundle path

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

* Remove duplicate CABundlePath from StaticBackendConfig

Main gained a CABundlePath field (after Metadata) via #4698 while this
branch added one (before Metadata, alongside Type). Remove the duplicate
to fix the build.

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

* Regenerate CRD manifests and API docs

Update VirtualMCPServer CRD schema to include the new Type field on
StaticBackendConfig. Regenerated with task operator-manifests and
task crdref-gen.

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

---------

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

45 of 69 new or added lines in 4 files covered. (65.22%)

36 existing lines in 4 files now uncovered.

56138 of 86355 relevant lines covered (65.01%)

61.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
63.44
0.2% pkg/vmcp/client/client.go
2
76.72
0.68% pkg/vmcp/config/validator.go

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
68.83
-14.29% pkg/client/discovery.go
8
20.11
-2.87% pkg/client/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
Jobs
ID Job ID Ran Files Coverage
1 24203869826.1 09 Apr 2026 05:30PM UTC 616
65.01
GitHub Action Run
Source Files on build 24203869826
  • Tree
  • List 616
  • Changed 12
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24203869826
  • a4e4c1ce on github
  • Prev Build on main (#24201737681)
  • Next Build on main (#24207149021)
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