• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

stacklok / toolhive-studio / 24833690810
66%
main: 71%

Build:
Build:
LAST BUILD BRANCH: fix/auto-2316
DEFAULT BRANCH: main
Ran 23 Apr 2026 11:56AM UTC
Jobs 1
Files 463
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

23 Apr 2026 11:52AM UTC coverage: 65.951% (-0.7%) from 66.696%
24833690810

Pull #2086

github

samuv
fix(mcp-optimizer): harden startup cleanup against edge cases

Addresses review feedback on #2086:

- useMcpOptimizerStartupCleanup no longer latches `hasRunCleanup` before
  awaiting ToolHive readiness. If the 60s readiness wait times out the hook
  can now retry on a subsequent effect re-fire. An `inFlight` ref still
  prevents concurrent starts.
- useCleanupMetaOptimizer parses ALLOWED_GROUPS defensively (trim, first
  non-empty comma entry) and only restores clients when the target group
  still exists in the fetched groups list. Unregister + group delete still
  proceed regardless, so the optimizer state never lingers.
- mcp-optimizer-startup-cleanup.spec.ts bumps the cleanup poll timeout
  from 60s to 120s so slow CI runners don't flake when the app-side
  readiness wait consumes most of the original budget.

Adds a regression test that asserts restoration is skipped when
ALLOWED_GROUPS points to a group that no longer exists.

Made-with: Cursor
Pull Request #2086: refactor(mcp-optimizer): remove the feature and migrate legacy users on startup

3804 of 6271 branches covered (60.66%)

38 of 70 new or added lines in 11 files covered. (54.29%)

2 existing lines in 2 files now uncovered.

5867 of 8896 relevant lines covered (65.95%)

117.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
28
0.0
renderer/src/common/hooks/use-mcp-optimizer-startup-cleanup.ts
2
90.48
-3.27% renderer/src/common/hooks/use-cleanup-meta-optimizer.ts
1
91.67
-0.33% renderer/src/features/mcp-servers/components/local-mcp/form-fields-base.tsx
1
0.0
0.0% renderer/src/routes/__root.tsx

Coverage Regressions

Lines Coverage ∆ File
1
80.95
-4.76% renderer/src/features/mcp-servers/hooks/use-mutation-update-workload.ts
1
0.0
0.0% renderer/src/routes/__root.tsx
Jobs
ID Job ID Ran Files Coverage
1 24833690810.1 23 Apr 2026 11:56AM UTC 463
65.95
GitHub Action Run
Source Files on build 24833690810
  • Tree
  • List 463
  • Changed 32
  • Source Changed 31
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24833690810
  • Pull Request #2086
  • PR Base - main (#24826863670)
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