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

dangernoodle-io / TaipanMiner / 24923968429
90%

Build:
DEFAULT BRANCH: main
Ran 25 Apr 2026 05:50AM UTC
Jobs 1
Files 15
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 05:48AM UTC coverage: 92.864% (+0.2%) from 92.669%
24923968429

push

github

web-flow
test(stratum): extract reconnect backoff state machine (TA-234) (#191)

fourth target of the TA-234 seam-for-testability pass. stratum's
exponential backoff (5s→60s cap, reset on success, reset+wifi-kick at
5 consecutive failures) was inline in the connect loop with two
file-scope statics. extract to stratum_backoff.{c,h} as a pure state
machine taking stratum_backoff_t * — no FreeRTOS dependency.

6 host tests cover:
- init defaults
- first-failure sleep + pre-doubled delay
- 5/10/20/40 progression then kick
- 60s cap clamp
- reset clears both fields
- post-kick + reset restarts cleanly

unblocks the TA-232 fix (cap at 30s, fast-recovery on first SYN
success) — those policy tweaks become trivial diffs in
stratum_backoff.c with regression coverage.

stratum.c: drops s_reconnect_delay_ms / s_connect_fail_count /
STRATUM_WIFI_KICK_THRESHOLD; uses s_backoff struct via the helper.
the late-loop reconnect path (after handshake/timeout failures)
also calls stratum_backoff_on_fail and respects the kick outcome,
which the inline version did not — minor behavior fix bundled.

232 of 288 branches covered (80.56%)

Branch coverage included in aggregate %.

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

744 of 763 relevant lines covered (97.51%)

545063.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24923968429.1 25 Apr 2026 05:50AM UTC 15
92.86
GitHub Action Run
Source Files on build 24923968429
  • Tree
  • List 15
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24923968429
  • 37ca1447 on github
  • Prev Build on main (#24918237250)
  • Next Build on main (#24924240826)
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