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

stacklok / toolhive / 20849166714
50%

Build:
DEFAULT BRANCH: main
Ran 09 Jan 2026 10:37AM UTC
Jobs 1
Files 426
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

09 Jan 2026 10:36AM UTC coverage: 50.069% (+0.01%) from 50.059%
20849166714

push

github

web-flow
Implement BackendReconciler for vMCP dynamic backend discovery (#3212)

* Implement BackendReconciler for vMCP dynamic backend discovery

Add BackendReconciler that watches MCPServer and MCPRemoteProxy resources
in Kubernetes and updates the DynamicRegistry when backends change. This
enables vMCP servers to dynamically discover backends without restarts.

Closes: #3001

* Add comprehensive dynamic backend discovery lifecycle E2E tests

Enhance VirtualMCPServer lifecycle testing with three new test cases that
verify BackendReconciler behavior for dynamic backend discovery:

1. Discovery of new backends added to the group - verifies backends
   appear in vMCP /status endpoint after creation
2. Removal of deleted backends from the group - verifies backends
   are removed from vMCP /status after deletion
3. GroupRef filtering and isolation - verifies backends from different
   groups are not discovered, ensuring proper security isolation

These tests validate the K8s manager infrastructure and ensure the
BackendReconciler correctly updates the DynamicRegistry as backends
change at runtime.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Fix ci

* fixes from review

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>

127 of 226 new or added lines in 3 files covered. (56.19%)

5 existing lines in 1 file now uncovered.

29141 of 58202 relevant lines covered (50.07%)

57.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
73.11
3.88% pkg/vmcp/k8s/manager.go
93
51.05
pkg/vmcp/k8s/backend_reconciler.go

Uncovered Existing Lines

Lines Coverage ∆ File
5
76.56
-8.51% cmd/thv-operator/controllers/virtualmcpserver_vmcpconfig.go
Jobs
ID Job ID Ran Files Coverage
1 20849166714.1 09 Jan 2026 10:37AM UTC 426
50.07
GitHub Action Run
Source Files on build 20849166714
  • Tree
  • List 426
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20849166714
  • f8a78416 on github
  • Prev Build on main (#20848746172)
  • Next Build on main (#20852704080)
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