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

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

Build:
Build:
LAST BUILD BRANCH: fix/auto-2316
DEFAULT BRANCH: main
Ran 21 Apr 2026 10:49AM UTC
Jobs 1
Files 474
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

21 Apr 2026 10:45AM UTC coverage: 66.33% (+0.02%) from 66.308%
24718153824

Pull #2058

github

samuv
refactor(telemetry): drop dual-write in sentry IPC handlers

`sentry.is-enabled`, `sentry.opt-in`, and `sentry.opt-out` wrote to
both electron-store and SQLite and read back from electron-store.
Now that `main/src/sentry.ts` reads exclusively from SQLite (via the
shared `getIsTelemetryEnabled` helper), the dual-write is dead weight.

- `sentry.is-enabled` delegates to `getIsTelemetryEnabled()`
- `sentry.opt-in` / `sentry.opt-out` write the new value via
  `writeSetting` only and return the boolean directly
- Drop the `telemetryStore` and `log` imports along with the
  `try/catch` that guarded the SQLite side of the dual-write

`main/src/telemetry-store.ts` is retained for now; it is only
consumed by `main/src/db/reconcile-from-store.ts` for the one-time
electron-store → SQLite migration, matching how `autoUpdateStore`,
`quitConfirmationStore`, and friends are handled.
Pull Request #2058: refactor(telemetry): migrate Sentry main-process telemetry gate to SQLite

3844 of 6339 branches covered (60.64%)

0 of 11 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

5983 of 9020 relevant lines covered (66.33%)

119.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
0.0
main/src/telemetry-settings.ts
4
0.0
0.0% main/src/ipc-handlers/telemetry.ts
2
0.0
0.0% main/src/sentry.ts

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% main/src/sentry.ts
Jobs
ID Job ID Ran Files Coverage
1 24718153824.1 21 Apr 2026 10:49AM UTC 474
66.33
GitHub Action Run
Source Files on build 24718153824
  • Tree
  • List 474
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24718153824
  • Pull Request #2058
  • PR Base - main (#24717623940)
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