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

stacklok / toolhive / 18689955159
47%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2025 04:03PM UTC
Jobs 1
Files 286
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

21 Oct 2025 03:58PM UTC coverage: 47.611% (+0.06%) from 47.551%
18689955159

push

github

web-flow
MCPGroup support in k8s (#2247)

* MCPGroup types and controller

Implements MCPGroup types and k8s controller per [this proposal](https://github.com/stacklok/toolhive/blob/73707af47/docs/proposals/kubernetes-mcpgroup-crd.md).

The MCP group controller reconciles MCPGroup resources and watches for changes to MCPServer resources. When the latter happens, it requests reconciliation of the server's referenced MCPGroup.

The MCP server controller checks the groupRef during reconciliation and sets status conditions accordingly (no fatal error if the groupRef is invalid).

Generated code and manifests.
```console
toolhive % task operator-generate
toolhive % task task operator-manifests
```

Added unit, integration, and e2e (chainsaw) tests.
```console
toolhive % task operator-test
toolhive % task operator-test-integration
toolhive % task operator-e2e-test
```

* Address PR feedback

- Add observedGeneration to status updates
- Add finalizer to MCPGroup
- Add conflict handling to status updates
- Sort server names for MCPGroup spec
- Update MCPServer status immediately after groupRef validation
- Add 'Ready' to MCPGroup printer columns
- Fix inconsistent constant naming
- Add MCPGroup short names to CRD
- Add field selector support

* Regenerate deepcopy and manifests

* Fix PR checks

- Linter errors
- CRD docs
- Helm chart versions

163 of 310 new or added lines in 5 files covered. (52.58%)

18597 of 39060 relevant lines covered (47.61%)

15.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
0.0
0.0% cmd/thv-operator/main.go
56
68.18
cmd/thv-operator/controllers/mcpgroup_controller.go
71
0.0
0.0% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go
Jobs
ID Job ID Ran Files Coverage
1 18689955159.1 21 Oct 2025 04:03PM UTC 286
47.61
GitHub Action Run
Source Files on build 18689955159
  • Tree
  • List 286
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18689955159
  • 79194e6b on github
  • Prev Build on main (#18688818084)
  • Next Build on main (#18696949295)
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

© 2025 Coveralls, Inc