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

stacklok / toolhive / 20152399778

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

67.42
/cmd/thv-operator/controllers/virtualmcpserver_controller.go


Source Not Available

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