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

stacklok / toolhive / 22169901697
63%

Build:
DEFAULT BRANCH: main
Ran 19 Feb 2026 05:41AM UTC
Jobs 1
Files 536
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

19 Feb 2026 05:32AM UTC coverage: 62.363% (+0.03%) from 62.334%
22169901697

push

github

web-flow
Add EmbeddingServerRef to VirtualMCPServer for optimizer integration (#3839)

* Auto-deploy EmbeddingServer with inline and reference support

Add hybrid EmbeddingServer pattern to VirtualMCPServer, enabling both
inline (1:1 auto-deployed) and reference (shared) modes. This allows
multiple VirtualMCPServers to share a single EmbeddingServer resource
via embeddingServerRef, reducing GPU/memory waste when using the same
embedding model.

Key changes:
- Add EmbeddingServerRef type and spec field (mutually exclusive with
  inline embeddingServer)
- Add webhook validation enforcing mutual exclusivity and
  optimizer/embedding co-dependency rules
- Add controller-level validation for referenced EmbeddingServer
  existence and readiness
- Add EmbeddingServer watch for reference-based reconciliation
- Add EmbeddingServerReady condition type and status reporting
- Extract runValidations helper to reduce Reconcile complexity
- Update config wiring to resolve embedding service name for both modes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* review comments - not use reflect.DeepEqual and other misc fixes

* Change the auto-populated value to be the full EmbeddingServer URL

* fix e2e tests

* small updates to examples

* Addressed PR comments - removed inline way of config

* Review comments - auto populate optimizer and change validation on EmbeddingServerRef

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

147 of 273 new or added lines in 7 files covered. (53.85%)

4 existing lines in 2 files now uncovered.

45322 of 72675 relevant lines covered (62.36%)

76.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
19.67
-1.38% cmd/thv-operator/pkg/virtualmcpserverstatus/mocks/mock_collector.go
10
34.49
-0.01% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go
19
45.71
cmd/thv-operator/controllers/virtualmcpserver_embedding.go
26
70.82
-6.11% cmd/thv-operator/controllers/virtualmcpserver_vmcpconfig.go
63
69.18
-0.67% cmd/thv-operator/controllers/virtualmcpserver_controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
69.18
-0.67% cmd/thv-operator/controllers/virtualmcpserver_controller.go
3
71.85
-1.11% pkg/ignore/processor.go
Jobs
ID Job ID Ran Files Coverage
1 22169901697.1 19 Feb 2026 05:41AM UTC 536
62.36
GitHub Action Run
Source Files on build 22169901697
  • Tree
  • List 536
  • Changed 14
  • Source Changed 8
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22169901697
  • 5a779184 on github
  • Prev Build on main (#22149086748)
  • Next Build on main (#22174031010)
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