|
Ran
|
Jobs
1
|
Files
286
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| 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 |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18689955159.1 | 286 |
47.61 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|