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

dangernoodle-io / TaipanMiner / 26204791209
90%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 04:06AM UTC
Jobs 3
Files 102
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 04:06AM UTC coverage: 89.962% (-0.03%) from 89.987%
26204791209

push

github

web-flow
refactor(webui): event-bus context; components own their SSE state machines (#424)

App.svelte previously created updateAvailableState + blockFoundState,
held a separate SseClient with an explicit eventHandlers map, and
threaded the state objects into Header / UpdateBadgeContainer /
BlockFoundBanner as props. Adding a new event topic meant editing
App.svelte to import the state, register it in eventHandlers, and pass
it down — three coupled changes for what's logically one consumer.

Replace with an event-bus context (lib/eventBus.svelte.ts):

- App.svelte instantiates the bus, setContext(EVENT_BUS_KEY, bus),
  start/stop in onMount. Nothing else about topics.
- The bus owns one SseClient over /api/events, fans out by topic, and
  rebuilds the underlying client only when a *new* topic set is
  subscribed (no churn on re-subscribes of an already-attached topic).
- BlockFoundBanner / UpdateBadgeContainer each create their own state
  machine and call bus.subscribe(TOPIC, state.handleMessage) on mount.
  Components encapsulate their topic dependency instead of asking
  App.svelte to wire it.

Adding a new event-driven UI surface is now one component change with
no App.svelte edits.

2511 of 3185 branches covered (78.84%)

Branch coverage included in aggregate %.

53 of 53 new or added lines in 5 files covered. (100.0%)

5098 of 5273 relevant lines covered (96.68%)

156607.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 e2e - 26204791209.1 21 May 2026 04:08AM UTC 55
56.52
GitHub Action Run
2 webui - 26204791209.2 21 May 2026 04:07AM UTC 73
91.24
GitHub Action Run
3 native - 26204791209.3 21 May 2026 04:06AM UTC 29
89.83
GitHub Action Run
Source Files on build 26204791209
  • Tree
  • List 102
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26204791209
  • 91571b66 on github
  • Prev Build on main (#26204242447)
  • Next Build on main (#26291713193)
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