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

stacklok / toolhive / 23824039865
65%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 11:26PM UTC
Jobs 1
Files 590
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

31 Mar 2026 11:21PM UTC coverage: 65.476% (-0.03%) from 65.503%
23824039865

push

github

web-flow
Add ObservedGeneration to MCPServer, MCPGroup, and MCPRegistry status (#4473)

* Add ObservedGeneration to MCPServer, MCPGroup, and MCPRegistry status

These three CRDs were missing the standard ObservedGeneration field
that all other operator CRDs already have. Without it, clients cannot
reliably determine whether the controller has processed the latest
spec change. This is required for CRD stabilization (KEP-1623).

Implements changes for issue #4469:
- Add ObservedGeneration int64 field to MCPServerStatus, MCPGroupStatus,
  and MCPRegistryStatus structs
- Set status.ObservedGeneration = object.Generation in each controller's
  reconcile loop
- Regenerate CRD manifests and Helm chart templates
- Add unit tests verifying ObservedGeneration is set correctly

* Replace unit tests with envtest integration tests

Move ObservedGeneration assertions from fake-client unit tests into
the existing envtest integration suites for MCPServer, MCPGroup, and
MCPRegistry. Integration tests exercise the full controller reconcile
loop against a real API server, providing stronger guarantees.

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>

---------

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

8 of 14 new or added lines in 3 files covered. (57.14%)

38 existing lines in 5 files now uncovered.

53031 of 80993 relevant lines covered (65.48%)

64.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
69.41
-0.39% cmd/thv-operator/controllers/mcpgroup_controller.go
3
73.6
-0.79% cmd/thv-operator/controllers/mcpregistry_controller.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
-4.6% pkg/client/manager.go
3
82.81
0.21% pkg/vmcp/composer/workflow_engine.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
Jobs
ID Job ID Ran Files Coverage
1 23824039865.1 31 Mar 2026 11:26PM UTC 590
65.48
GitHub Action Run
Source Files on build 23824039865
  • Tree
  • List 590
  • Changed 15
  • Source Changed 6
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23824039865
  • b0a69dd5 on github
  • Prev Build on main (#23823990316)
  • Next Build on main (#23824586208)
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