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

stacklok / toolhive / 20152399778
59%

Build:
DEFAULT BRANCH: main
Ran 12 Dec 2025 12:51AM UTC
Jobs 1
Files 403
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

12 Dec 2025 12:49AM UTC coverage: 49.743% (+0.2%) from 49.589%
20152399778

push

github

web-flow
Enable MCPRemoteProxy discovery in MCPGroup and VirtualMCPServer (#2970)

* add MCPRemoteProxy support in MCPGroup and VirtualMCPServer

* use list instead of get in loop

* refactor and change the name

* operator crds bump

* fix unit tests

* updated crd-ref gen

* SetupWithManager add a Watches() call for MCPRemoteProxy resources

* test coverage for findReferencingMCPRemoteProxies, findMCPGroupForMCPRemoteProxy, updateReferencingRemoteProxiesOnDeletion

* consolidating status updates at the end of reconciliation

* clear both status after entering failed status

* removed GroupRefValidated condition when the groupRef is empty to remove any stale data

* adding test cases for: MCPRemoteProxy discovery, Mixed groups (both MCPServer and MCPRemoteProxy), mcpRemoteProxyToBackend conversion

* adding test cases with WorkloadTypeMCPRemoteProxy to verify the aggregator handles both workload types correctly

* adding backend.Metadata[workload_type] = mcp_server in mcpServerToBackend as well.

* unit tests to verify the adapter correctly converts workload types

* consolidate the discoverRemoteProxyAuthConfig and discoverAuthConfig

* bump version

* operator-crds version bump

---------

Co-authored-by: Jakub Hrozek <jakub.hrozek@posteo.se>

384 of 589 new or added lines in 11 files covered. (65.2%)

5 existing lines in 4 files now uncovered.

27277 of 54836 relevant lines covered (49.74%)

57.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
81.0
0.0% pkg/vmcp/aggregator/discoverer.go
5
0.0
0.0% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go
6
0.0
0.0% pkg/vmcp/workloads/mocks/mock_discoverer.go
14
0.0
0.0% cmd/thv-operator/main.go
16
58.4
-0.25% cmd/thv-operator/controllers/virtualmcpserver_deployment.go
30
59.05
-2.47% cmd/thv-operator/controllers/mcpremoteproxy_controller.go
30
72.99
3.16% pkg/vmcp/workloads/k8s.go
50
67.42
-0.25% cmd/thv-operator/controllers/virtualmcpserver_controller.go
53
69.8
1.62% cmd/thv-operator/controllers/mcpgroup_controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
67.42
-0.25% cmd/thv-operator/controllers/virtualmcpserver_controller.go
1
58.4
-0.25% cmd/thv-operator/controllers/virtualmcpserver_deployment.go
1
0.0
0.0% cmd/thv-operator/main.go
2
69.8
1.62% cmd/thv-operator/controllers/mcpgroup_controller.go
Jobs
ID Job ID Ran Files Coverage
1 20152399778.1 12 Dec 2025 12:51AM UTC 403
49.74
GitHub Action Run
Source Files on build 20152399778
  • Tree
  • List 403
  • Changed 14
  • Source Changed 12
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20152399778
  • 6b820308 on github
  • Prev Build on main (#20149805679)
  • Next Build on main (#20160701556)
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