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

stacklok / toolhive-studio / 30289556341
72%

Build:
DEFAULT BRANCH: main
Ran 27 Jul 2026 05:36PM UTC
Jobs 1
Files 559
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

27 Jul 2026 05:30PM UTC coverage: 72.394% (+0.03%) from 72.368%
30289556341

push

github

web-flow
fix: make thv startup resilient to SQLite failures (#2526)

* fix: make thv startup resilient to SQLite failures

Guard readSetting('isTelemetryEnabled') during startToolhive so a
better-sqlite3 dlopen failure cannot prevent thv from spawning. Also
await the Sentry.withScope body and clear the socket path when startup
throws before the process is running.

Fixes the app-bricking half of #2509 on Ubuntu 22.04 when SQLite is
unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: format startup errors for Sentry instead of JSON.stringify

Error objects serialize to {} with JSON.stringify, losing the message
that explains why thv failed to start.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: respect telemetryStore opt-out when SQLite read fails

On DB failure, read isTelemetryEnabled from electron-store instead of
failing open. Also gate fatal Sentry/tray updates in the startup catch
on !isToolhiveRunning() so post-spawn throws do not mark thv as down.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

5606 of 8299 branches covered (67.55%)

60 of 62 new or added lines in 1 file covered. (96.77%)

8313 of 11483 relevant lines covered (72.39%)

148.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.35
0.32% main/src/toolhive-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 30289556341.1 27 Jul 2026 05:36PM UTC 559
72.39
GitHub Action Run
Source Files on build 30289556341
  • Tree
  • List 559
  • 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 #30289556341
  • aaad58cb on github
  • Prev Build on main (#30268984615)
  • Next Build on main (#30342084505)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc