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

stacklok / toolhive / 18217162937
51%

Build:
DEFAULT BRANCH: main
Ran 03 Oct 2025 08:32AM UTC
Jobs 1
Files 278
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

03 Oct 2025 08:27AM UTC coverage: 45.639% (+0.04%) from 45.599%
18217162937

push

github

web-flow
Refactor status collector architecture with structured errors (#2016)

* Refactor status collector architecture with structured errors

* added deriver to codespell ignore list

* more test coverage

Signed-off-by: Daniele Martinoli <dmartino@redhat.com>

* review comment

Signed-off-by: Daniele Martinoli <dmartino@redhat.com>

* Add MCPRegistry status management improvements

- Removed the `Idle` phase from `SyncPhase` and updated related logic to ensure only `Syncing`, `Complete`, and `Failed` phases are used.
- Enhanced the `ShouldSync` method to avoid syncing when the requeue timeout did not elapse.
- Avoid updating sync status at all if sync is not needed (it would cause a new reconciliation)

Signed-off-by: Daniele Martinoli <dmartino@redhat.com>

* chart version bump

Signed-off-by: Daniele Martinoli <dmartino@redhat.com>

* Update cmd/thv-operator/pkg/mcpregistrystatus/types.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

95 of 319 new or added lines in 9 files covered. (29.78%)

12 existing lines in 4 files now uncovered.

16603 of 36379 relevant lines covered (45.64%)

15.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
0.0
0.0% cmd/thv-operator/pkg/registryapi/mocks/mock_manager.go
17
56.2
-8.4% cmd/thv-operator/pkg/registryapi/manager.go
45
67.76
-6.41% cmd/thv-operator/pkg/sync/manager.go
65
0.0
0.0% cmd/thv-operator/controllers/mcpregistry_controller.go
92
0.0
0.0% cmd/thv-operator/pkg/mcpregistrystatus/mocks/mock_collector.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
0.0
0.0% cmd/thv-operator/controllers/mcpregistry_controller.go
2
56.2
-8.4% cmd/thv-operator/pkg/registryapi/manager.go
4
0.0
0.0% cmd/thv-operator/pkg/mcpregistrystatus/mocks/mock_collector.go
4
67.76
-6.41% cmd/thv-operator/pkg/sync/manager.go
Jobs
ID Job ID Ran Files Coverage
1 18217162937.1 03 Oct 2025 08:32AM UTC 278
45.64
GitHub Action Run
Source Files on build 18217162937
  • Tree
  • List 278
  • Changed 9
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18217162937
  • 43b1efb3 on github
  • Prev Build on main (#18197180827)
  • Next Build on main (#18218791265)
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