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

stacklok / toolhive / 24350821129
66%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2026 03:12PM UTC
Jobs 1
Files 617
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

13 Apr 2026 03:06PM UTC coverage: 65.618% (-0.007%) from 65.625%
24350821129

push

github

web-flow
Remove enforceServers and image validation from MCPRegistry (#4776)

* Remove enforceServers and image validation from MCPRegistry

The enforceServers feature and its image validation code have been
broken since PR #2568 removed the data sources from the operator. The
{name}-registry-storage ConfigMap that image validation reads from is
never created — nothing populates it. As a result, enforceServers has
silently done nothing: the ConfigMap lookup returns NotFound and
checkImageInRegistry returns false for every check.

Remove the entire feature rather than attempting to fix it:
- Remove EnforceServers field from MCPRegistrySpec CRD
- Remove GetStorageName() helper (dead since sources removal)
- Delete image_validation.go and its tests
- Remove image validation call sites from MCPServer and
  EmbeddingServer controllers
- Remove ConditionImageValidated and related status constants
- Remove getConfigMapName from registryapi
- Delete the enforcing example
- Regenerate CRD manifests

Fixes #4717

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

* Remove enforceServers references from documentation

Update REGISTRY.md, architecture docs, and regenerate CRD API docs
to remove all references to the removed enforceServers feature and
the stale registry-storage ConfigMap.

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

* Address PR review feedback

- Remove stale image validation troubleshooting from REGISTRY.md
- Remove stale image validation log reference from REGISTRY.md

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

* Address PR review feedback

- Remove "Provides image validation" from README.md feature list
- Replace fictional syncStatus/apiStatus status fields in REGISTRY.md
  with actual MCPRegistryStatus fields (phase, message, url,
  readyReplicas, conditions)
- Fix stale jsonpath examples in troubleshooting section

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

0 of 2 new or added lines in 1 file covered. (0.0%)

26 existing lines in 3 files now uncovered.

56838 of 86620 relevant lines covered (65.62%)

59.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
8.24
0.18% cmd/thv-operator/main.go

Coverage Regressions

Lines Coverage ∆ File
19
41.81
-0.8% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
1
8.24
0.18% cmd/thv-operator/main.go
Jobs
ID Job ID Ran Files Coverage
1 24350821129.1 13 Apr 2026 03:12PM UTC 617
65.62
GitHub Action Run
Source Files on build 24350821129
  • Tree
  • List 617
  • Changed 15
  • Source Changed 7
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24350821129
  • 64378ce2 on github
  • Prev Build on main (#24349889678)
  • Next Build on main (#24355338225)
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