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

stacklok / toolhive / 21297033024
60%

Build:
DEFAULT BRANCH: main
Ran 23 Jan 2026 06:42PM UTC
Jobs 1
Files 469
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

23 Jan 2026 06:34PM UTC coverage: 59.918% (-0.1%) from 60.033%
21297033024

push

github

web-flow
Add EmbeddingServer CRD for deploying HuggingFace embedding models (#3323)

* Add MCPEmbedding CRD for embedding model deployment in operator

Introduces a new MCPEmbedding custom resource to deploy HuggingFace
embedding models as MCP servers in Kubernetes. This enables semantic
search and similarity features for MCP tools and resources.

Key Features:
- Custom resource definition for embedding model deployments
- Integration with HuggingFace text-embeddings-inference
- Support for model caching via PersistentVolumeClaims
- Flexible resource configuration and pod customization
- GroupRef support for organizational grouping
- Comprehensive status conditions and phase tracking

Components:
- MCPEmbedding CRD with validation and webhook support
- Controller for managing deployment lifecycle
- Generated CRD manifests and Helm chart templates
- RBAC permissions for managing embeddings
- Example configurations for various use cases

This change is based on the original commit by rebasing onto
jerm/2026-01-13-optimizer-in-vmcp to remove intermediate commits.

* Rename MCPEmbedding crd as EmbeddingServer

* Updated image and model names

* Remove unnecessary GroupRef from EmbeddingServers crd

* Fixed reconciliation loop issue causing no service creation

* Rename examples/operator/embeddings to examples/opeartor/embedding-servers

* Updated embedding server example yamls

* Bump toolhive operator version and fix linting issues

* Added e2e tests and fixed a bug

* Convert EmbeddingServer to use StatefulSets and add HuggingFace token support

This refactors the EmbeddingServer controller with the following changes:

- Convert from Deployment to StatefulSet for better persistent storage support
- Add HFTokenSecretRef field for secure HuggingFace token injection from Kubernetes secrets
- Use StatefulSet volumeClaimTemplates for model cache PVCs instead of separate PVC creation
- Remove Env field from EmbeddingDeploymentOverrides API
- Add comprehensive controll... (continued)

455 of 947 new or added lines in 4 files covered. (48.05%)

5 existing lines in 3 files now uncovered.

37818 of 63116 relevant lines covered (59.92%)

76.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
8.94
-0.34% cmd/thv-operator/main.go
121
35.73
-1.44% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go
362
52.05
cmd/thv-operator/controllers/embeddingserver_controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
8.94
-0.34% cmd/thv-operator/main.go
2
84.23
-0.28% pkg/vmcp/composer/workflow_engine.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
Jobs
ID Job ID Ran Files Coverage
1 21297033024.1 23 Jan 2026 06:42PM UTC 469
59.92
GitHub Action Run
Source Files on build 21297033024
  • Tree
  • List 469
  • Changed 12
  • Source Changed 3
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21297033024
  • 5b154189 on github
  • Prev Build on main (#21296732547)
  • Next Build on main (#21297315973)
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