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

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

Build:
Build:
LAST BUILD BRANCH: renovate/vitejs-plugin-react-6.x
DEFAULT BRANCH: main
Ran 12 May 2026 03:25PM UTC
Jobs 1
Files 508
Run time 2min
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

12 May 2026 03:20PM UTC coverage: 68.661% (+0.009%) from 68.652%
25744143487

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

4841 of 7608 branches covered (63.63%)

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

16 existing lines in 1 file now uncovered.

7219 of 10514 relevant lines covered (68.66%)

118.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
87.12
0.24% main/src/toolhive-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 25744143487.1 12 May 2026 03:25PM UTC 508
68.66
GitHub Action Run
Source Files on build 25744143487
  • Tree
  • List 508
  • 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 #25744143487
  • Pull Request #2217
  • PR Base - main (#25743147444)
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