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

edgehog-device-manager / edgehog / 23585184560
76%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 08:43AM UTC
Jobs 1
Files 190
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

26 Mar 2026 07:54AM UTC coverage: 17.361% (-61.3%) from 78.698%
23585184560

push

github

OmarBrbutovic
fix: Defer WebSocket creation to avoid close-before-connect warning

React StrictMode double-invokes effects in
development: `mount → unmount → remount`.
When the WebSocket was created synchronously inside the Observable
factory, the immediate unmount called ws.close() on a socket still
in CONNECTING state, producing an unavoidable browser-level warning
("WebSocket is closed before the connection is established").

Defer socket creation with setTimeout(0) so the cleanup function
can call clearTimeout() before any socket is ever opened, completely
eliminating the spurious connection attempt.

Signed-off-by: Omar <omar.brbutovic@secomind.com>

627 of 4402 branches covered (14.24%)

Branch coverage included in aggregate %.

0 of 28 new or added lines in 1 file covered. (0.0%)

1168 of 5937 relevant lines covered (19.67%)

1.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
28
9.35
frontend/src/api/index.ts
Jobs
ID Job ID Ran Files Coverage
1 23585184560.1 26 Mar 2026 08:43AM UTC 190
17.36
GitHub Action Run
Source Files on build 23585184560
  • Tree
  • List 190
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23585184560
  • 6f69ea8f on github
  • Prev Build on main (#12061EE6...)
  • Next Build on main (#23596931224)
  • Delete
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