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

stacklok / toolhive-studio / 25700062916
69%
main: 70%

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

11 May 2026 10:05PM UTC coverage: 67.974% (+0.02%) from 67.958%
25700062916

Pull #2217

github

reyortiz3
fix(main): prevent orphaned thv serve when parent exits before SIGKILL timer

stopToolhive() nulled the module-level toolhiveProcess reference immediately
after sending SIGTERM and schedule SIGKILL via setTimeout. When Electron's
parent process exited before the 2s timer fired, the synchronous
process.on('exit') handler called stopToolhive({ force: true }) but it
short-circuited on !toolhiveProcess, leaving the child alive and blocking
the next launch's port.

Hold the reference until the child's 'exit' event fires (tracked via a new
isStopping flag for isToolhiveRunning) so the synchronous parent-exit force
kill actually SIGKILLs the orphaned PID. Guard the exit handler against
clobbering a fast-restart's new spawn.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2217: fix(main): prevent orphaned thv serve when parent exits before SIGKILL timer

4716 of 7483 branches covered (63.02%)

16 of 16 new or added lines in 1 file covered. (100.0%)

8 existing lines in 1 file now uncovered.

7038 of 10354 relevant lines covered (67.97%)

120.52 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
90.65
0.35% main/src/toolhive-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 25700062916.1 11 May 2026 10:09PM UTC 505
67.97
GitHub Action Run
Source Files on build 25700062916
  • Tree
  • List 505
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25700062916
  • Pull Request #2217
  • PR Base - main (#25665880344)
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