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

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

Build:
Build:
LAST BUILD BRANCH: fix/auto-2316
DEFAULT BRANCH: main
Ran 23 Apr 2026 11:47AM 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:40AM UTC coverage: 65.958% (-0.7%) from 66.696%
24833323532

Pull #2086

github

samuv
test(e2e): cover MCP optimizer startup cleanup migration

Two-session Playwright spec that relaunches the app against the same
userDataDir to exercise the one-shot startup hook:

- Session 1 creates a custom group via the UI, then seeds __mcp-optimizer__,
  registers a client against it, and creates a meta-mcp workload pointing
  at a local test MCP server with ALLOWED_GROUPS set to the custom group.
- Session 2 polls the thv HTTP API until the optimizer group is gone, the
  client is re-registered to the custom group, and the meta-mcp workload
  returns 404 — with a best-effort thv CLI teardown in afterAll as a
  safety net.

Adds a reusable launchApp + thvFetch helper so future multi-session specs
don't have to re-implement Electron + userDataDir wiring.
Pull Request #2086: refactor(mcp-optimizer): remove the feature and migrate legacy users on startup

3797 of 6263 branches covered (60.63%)

34 of 63 new or added lines in 11 files covered. (53.97%)

2 existing lines in 2 files now uncovered.

5863 of 8889 relevant lines covered (65.96%)

117.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
0.0
renderer/src/common/hooks/use-mcp-optimizer-startup-cleanup.ts
2
89.47
-4.28% 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 24833323532.1 23 Apr 2026 11:47AM UTC 463
65.96
GitHub Action Run
Source Files on build 24833323532
  • 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 #24833323532
  • 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