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

stacklok / toolhive / 24159722743
65%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 09:35PM UTC
Jobs 1
Files 607
Run time 2min
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

08 Apr 2026 09:30PM UTC coverage: 64.923% (-0.3%) from 65.229%
24159722743

push

github

web-flow
Align MCPRegistry CRD with registry server v2 config format (#4653)

* Align MCPRegistry CRD with registry server v2 config format

The registry server has moved to a v2 config format that separates data
sources from registry views, adds claims-based authorization, and
supports managed and Kubernetes source types. The operator's MCPRegistry
CRD was still generating v1 config (flat registries[] with inline source
configs), meaning operators deploying via the CRD got none of the v2
authorization features.

This updates the CRD spec to use separate sources[] and registries[]
fields, adds support for claims (apiextensionsv1.JSON), authz roles,
managed sources, Kubernetes sources with namespace selectors, and public
paths on auth config. The config generator now produces v2-compatible
YAML that the registry server can consume directly.

A default Kubernetes source is auto-injected when the user defines none,
preserving backward compatibility for MCP server discovery.

Closes #4572

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Regenerate CRD API reference docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Remove auto-injection of default Kubernetes source

Users should explicitly define all sources in their MCPRegistry spec,
including Kubernetes discovery sources. The auto-injection was adding
implicit behavior that would be surprising when combined with
claims-based authorization.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add MaxMetaSize, DynamicAuth, and Telemetry to MCPRegistry CRD

Add remaining v2 config fields to achieve full parity with the registry
server configuration format:

- MaxMetaSize (*int32) on DatabaseConfig for controlling metadata size
  limits
- DynamicAuth with AWS RDS IAM support on DatabaseConfig for short-lived
  database credentials
- TelemetryConfig on MCPRegistrySpec for OpenTelemetry configuration
  with tracing (sampling rate) and metrics sub-c... (continued)

114 of 524 new or added lines in 4 files covered. (21.76%)

48 existing lines in 7 files now uncovered.

54922 of 84596 relevant lines covered (64.92%)

61.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
241
33.66
-2.63% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go
169
66.21
-26.99% cmd/thv-operator/pkg/registryapi/config/config.go

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
68.42
-14.47% pkg/client/discovery.go
8
23.56
0.57% pkg/client/manager.go
7
66.21
-26.99% cmd/thv-operator/pkg/registryapi/config/config.go
3
71.85
-1.11% pkg/ignore/processor.go
3
82.81
0.21% pkg/vmcp/composer/workflow_engine.go
2
73.63
-0.64% pkg/runner/config.go
Jobs
ID Job ID Ran Files Coverage
1 24159722743.1 08 Apr 2026 09:35PM UTC 607
64.92
GitHub Action Run
Source Files on build 24159722743
  • Tree
  • List 607
  • Changed 13
  • Source Changed 5
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24159722743
  • a4434695 on github
  • Prev Build on main (#24157941814)
  • Next Build on main (#24162490397)
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