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

dangernoodle-io / TaipanMiner / 26204242447
90%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 03:49AM UTC
Jobs 3
Files 101
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 May 2026 03:47AM UTC coverage: 89.987% (-0.002%) from 89.989%
26204242447

push

github

web-flow
refactor(webui): multiplex /api/events through a single SseClient (#423)

Each /api/events SSE topic used to open its own EventSource — the
dashboard alone held two persistent sockets (update.available,
block.found) on top of polling, and the pattern was about to grow
linearly as we add more topics. On firmware that's another open socket
per topic counted against CONFIG_LWIP_MAX_SOCKETS, and another
select_cb sitting in httpd_server's select() — both of which have a
known cliff under load (lwip asserts on the freed netconn / select_cb
that breadboard B1-224 hardens against).

Switch to one connection, multiplexed:

- SseClient gains an `eventHandlers: Record<topic, fn>` option that
  registers each topic as a named addEventListener on the underlying
  EventSource. One ES instance = one TCP connection regardless of
  topic count.
- Each state machine (updateAvailableState, blockFoundState) drops its
  own SseClient and exposes a `handleMessage(data)` method plus an
  exported `*_TOPIC` constant.
- App.svelte owns the single SseClient and wires
  { [UPDATE_AVAILABLE_TOPIC]: ..., [BLOCK_FOUND_TOPIC]: ... }.

New topics added to the stream drop into the eventHandlers map without
adding sockets or further fan-out boilerplate.

2500 of 3166 branches covered (78.96%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 4 files covered. (100.0%)

5058 of 5233 relevant lines covered (96.66%)

157803.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 webui - 26204242447.1 21 May 2026 03:49AM UTC 72
91.3
GitHub Action Run
2 native - 26204242447.2 21 May 2026 03:49AM UTC 29
89.83
GitHub Action Run
3 e2e - 26204242447.3 21 May 2026 03:50AM UTC 54
56.22
GitHub Action Run
Source Files on build 26204242447
  • Tree
  • List 101
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26204242447
  • 9a898dce on github
  • Prev Build on main (#26203939363)
  • Next Build on main (#26204791209)
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