• 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 / 26943648296
71%
main: 71%

Build:
Build:
LAST BUILD BRANCH: fix/auto-2316
DEFAULT BRANCH: main
Ran 04 Jun 2026 09:40AM UTC
Jobs 1
Files 522
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

04 Jun 2026 09:36AM UTC coverage: 70.544% (+0.04%) from 70.508%
26943648296

Pull #2304

github

peppescg
fix(startup): address Copilot review feedback

- `toolhive-manager.ts`: capture `toolhiveSocketPath` into a local const
  before the readiness probe runs (it can be cleared by `child.on('exit')`
  on fast-fail). Unref the `setTimeout` timers in `probeSocket` and the
  `waitForSocketReady` polling loop so they don't keep the Electron main
  event loop alive during shutdown. Export both functions so they can be
  tested independently.

- `toolhive-manager.test.ts`: add 6 tests covering the readiness probe —
  connect/error/timeout for `probeSocket`, success/early-exit/eventual-
  success for `waitForSocketReady`. Mock `net.connect` with a default
  ENOENT-on-next-tick stub so existing `startToolhive` tests (which now
  trigger a detached readiness probe inside the Sentry.withScope mock)
  don't fail with `undefined.once` access.

- `renderer/index.html`: add `role="status"`, `aria-live="polite"`,
  `aria-busy="true"` to the splash container so screen readers announce
  the loading state. Mark the decorative spinner `aria-hidden="true"`.
  Respect `prefers-reduced-motion: reduce` by disabling the spin
  animation for users with vestibular sensitivities.
Pull Request #2304: fix(startup): eliminate cold-start window flash by awaiting socket readiness

5216 of 8014 branches covered (65.09%)

29 of 35 new or added lines in 2 files covered. (82.86%)

7738 of 10969 relevant lines covered (70.54%)

115.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
86.43
-0.99% main/src/toolhive-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 26943648296.1 04 Jun 2026 09:40AM UTC 522
70.54
GitHub Action Run
Source Files on build 26943648296
  • Tree
  • List 522
  • 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 #26943648296
  • Pull Request #2304
  • PR Base - main (#26939312166)
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