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

dangernoodle-io / TaipanMiner / 24934538032
90%

Build:
DEFAULT BRANCH: main
Ran 25 Apr 2026 03:46PM UTC
Jobs 1
Files 20
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

25 Apr 2026 03:44PM UTC coverage: 93.188% (+0.1%) from 93.048%
24934538032

push

github

web-flow
test(mining): extract pause/resume state model (TA-234) (#197)

tenth target of the TA-234 seam-for-testability pass. mining_pause /
mining_resume / mining_pause_check were wired through 3 semaphores
plus 2 raw boolean statics. extract the boolean state transitions to
mining_pause_state.{c,h} as a pure model:

  request           — caller sets pause_requested
  on_check          — task observes; returns true → park, sets active
  on_resume         — caller clears requested; returns whether to signal
  on_resumed        — task exits park; clears active
  on_ack_timeout    — caller aborts; clears requested

semaphores stay in mining.c; the helper just owns the flag transitions.
~10 host tests cover init, individual ops, the full happy path, and the
"resume-before-check" race.

ties into the recent TA-216/TA-217/TA-225 pause-handshake fixes — those
behaviors are now testable without a FreeRTOS scheduler.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

261 of 320 branches covered (81.56%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 1 file covered. (100.0%)

806 of 825 relevant lines covered (97.7%)

504104.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24934538032.1 25 Apr 2026 03:46PM UTC 20
93.19
GitHub Action Run
Source Files on build 24934538032
  • Tree
  • List 20
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24934538032
  • f06023f9 on github
  • Prev Build on main (#24933474060)
  • Next Build on main (#24934764610)
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