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

dangernoodle-io / TaipanMiner / 25619459678
90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 04:09AM UTC
Jobs 3
Files 83
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

10 May 2026 04:09AM UTC coverage: 84.596% (+1.6%) from 83.044%
25619459678

push

github

web-flow
refactor(pool): extract state machine + helpers; add tests (#372)

* refactor(webui): extract pool page state machine

- extract PoolForm type, slotFromCurrent, slotFromForm, waitForFreshSession
  into poolHelpers.ts (pure module, 100% testable)
- extract createPoolState() factory with svelte 5 runes into
  poolState.svelte.ts; imports api wrappers + pool store directly
- pool.svelte shrinks to thin shell (~230 LOC vs 634); all state
  transitions, message strings, freeze-and-poll session logic preserved

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

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

- poolHelpers.test.ts: 100% coverage of slotFromCurrent, slotFromForm,
  waitForFreshSession, defaultForm (13 specs including fake timer tests)
- poolState.test.ts: 97.89% coverage of createPoolState() factory via
  mocked api + pool store (46 specs covering all actions, error paths,
  frozenPool lifecycle, setter round-trips)
- Pool.svelte: 82.45% statements (was 60.82%); total tests 716 (was 671)

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

---------

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

2137 of 2869 branches covered (74.49%)

Branch coverage included in aggregate %.

127 of 130 new or added lines in 3 files covered. (97.69%)

4036 of 4428 relevant lines covered (91.15%)

186481.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
74.81
23.39% webui/miner/src/pages/Pool.svelte
Jobs
ID Job ID Ran Files Coverage
1 webui - 25619459678.1 10 May 2026 04:10AM UTC 55
80.29
GitHub Action Run
2 native - 25619459678.2 10 May 2026 04:09AM UTC 28
89.19
GitHub Action Run
3 e2e - 25619459678.3 10 May 2026 04:12AM UTC 39
57.47
GitHub Action Run
Source Files on build 25619459678
  • Tree
  • List 83
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25619459678
  • 04717423 on github
  • Prev Build on main (#25619089157)
  • Next Build on main (#25619666837)
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