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

dangernoodle-io / TaipanMiner / 25619949353 / 3
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 04:42AM UTC
Files 57
Run time 1s
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

10 May 2026 04:37AM UTC coverage: 82.196% (+2.1%) from 80.075%
25619949353.3

push

github

web-flow
refactor(update): extract ota state machine + helpers; add tests (#374)

* refactor(webui): extract update page state machine

- extract otaHelpers.ts: firmwareName() and minerBusy() pure helpers
- extract otaState.svelte.ts: createOtaState() runes state machine
- Update.svelte: thin shell using const os = createOtaState()
- replace $: reactive blocks with $derived; local bindings use $state
- dev mock panel stays inline in Update.svelte (out of scope to extract)
- all 716 unit tests pass; all 33 e2e tests pass

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test(webui): cover ota state machine and helpers

- otaHelpers.test.ts: 100% coverage — firmwareName (null/board variants),
  minerBusy (all rebooting/install/upload combinations)
- otaState.test.ts: ~30 specs covering initial state, handleCheck (happy
  path, pending retry, timeout, error), requestInstall/requestUpload,
  handleInstall (full flow, progress, error states, 600s deadline),
  handleUpload (full flow, progress, error), onFileSelect, onDrop,
  onDragOver/onDragLeave, setter round-trips
- Update.test.ts: rewritten to mock createOtaState; drives via global
  store state to cover UI conditional branches (install button, progress
  bars, minerBusy disabling, status messages)
- all 745 unit tests pass; all 33 e2e tests pass

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

1228 of 1624 branches covered (75.62%)

Branch coverage included in aggregate %.

2059 of 2375 relevant lines covered (86.69%)

29.26 hits per line

Source Files on job webui - 25619949353.3
  • Tree
  • List 57
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25619949353
  • 201c7004 on github
  • Prev Job for on main (#25619666837.3)
  • Next Job for on main (#25620234720.2)
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