• 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 / 25434286298
68%
main: 70%

Build:
Build:
LAST BUILD BRANCH: renovate/vitejs-plugin-react-6.x
DEFAULT BRANCH: main
Ran 06 May 2026 12:11PM UTC
Jobs 1
Files 506
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

06 May 2026 12:05PM UTC coverage: 67.232% (-0.09%) from 67.319%
25434286298

Pull #1694

github

samuv
refactor(api)!: replace THV_PORT with THV_SOCKET for external thv flow

The studio now talks to its managed thv exclusively over a UNIX socket / Windows named pipe; the renderer's hey-api fetch is forwarded over IPC. The previous 'point dev studio at an external thv on TCP' workflow no longer composes cleanly with that — and the TCP fallback path in createMainProcessFetch was dead code in every shipping configuration.

Replace THV_PORT with THV_SOCKET, expecting a socket path / named pipe address that the developer's external 'thv serve --socket=...' is listening on. Drop getToolhivePort(), the get-toolhive-port IPC channel, the electronAPI.getToolhivePort / isUsingCustomPort surfaces, and the connect-src http://localhost:<port> branch in CSP. Rename CustomPortBanner -> CustomSocketBanner; the banner now shows the socket / pipe path. THV_MCP_PORT stays because the experimental MCP backend is still TCP.

Tests updated accordingly; main 548/548, renderer 1625/1625, knip clean. docs/README has the new external-thv recipe with both POSIX and Windows examples.
Pull Request #1694: feat(api): migrate thv API transport from HTTP to UNIX socket / Windows named pipe

4682 of 7481 branches covered (62.59%)

19 of 109 new or added lines in 15 files covered. (17.43%)

21 existing lines in 4 files now uncovered.

6982 of 10385 relevant lines covered (67.23%)

120.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
48
2.04
main/src/unix-socket-fetch.ts
21
0.0
renderer/src/common/lib/ipc-fetch.ts
6
0.0
renderer/src/common/components/custom-socket-banner.tsx
3
0.0
0.0% main/src/ipc-handlers/toolhive.ts
3
82.27
-8.03% main/src/toolhive-manager.ts
2
68.79
0.23% main/src/chat/agents/builtin-agent-tools/skills.ts
2
0.0
0.0% renderer/src/renderer.tsx
1
0.0
0.0% main/src/app-events/block-quit.ts
1
16.67
2.38% main/src/app-events/process-signals.ts
1
1.64
0.05% main/src/app-events/when-ready.ts
1
3.7
0.03% main/src/chat/settings-storage.ts
1
0.0
0.0% renderer/src/lib/client-config.ts

Coverage Regressions

Lines Coverage ∆ File
16
82.27
-8.03% main/src/toolhive-manager.ts
3
75.0
-1.92% renderer/src/features/chat/components/chat-interface.tsx
1
1.64
0.05% main/src/app-events/when-ready.ts
1
0.0
0.0% renderer/src/lib/client-config.ts
Jobs
ID Job ID Ran Files Coverage
1 25434286298.1 06 May 2026 12:11PM UTC 506
67.23
GitHub Action Run
Source Files on build 25434286298
  • Tree
  • List 506
  • Changed 15
  • Source Changed 15
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25434286298
  • Pull Request #1694
  • PR Base - main (#25423616338)
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