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

dangernoodle-io / TaipanMiner / 28249033874
90%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2026 03:49PM UTC
Jobs 3
Files 107
Run time 6min
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

26 Jun 2026 03:48PM UTC coverage: 90.226%. Remained the same
28249033874

push

github

web-flow
fix: ota push readiness grace + pending-not-failed verify; --mark-valid force (TA-457) (#582)

* fix: post-OTA readiness grace + PENDING-not-FAILED push verify (TA-457)

root cause: push() called _basic_verify() immediately after wait_for_boot()
returned (first HTTP response), with no grace for mining to spin up.
hashrate=0 at that instant caused healthy=False -> ok=False false-negative.
additionally, reset_reason='software' (expected OTA reboot) was not in
_BAD_RESET_REASONS but the instant check caught hashrate=0 before mining
resumed, producing FAILED on a fully successful push.

changes:
- add _POST_OTA_READINESS_TIMEOUT (120s) constant for post-reboot grace
- add _post_boot_verify(): always calls wait_until_ready with real timeout,
  regardless of --settle; waits for mining to spin up (hashrate>0) and heap
  to stabilise before judging health
- distinguish PENDING (healthy mining + validated:false) from real FAILED:
  reset_reason='software' after OTA reboot is expected, not a fault; only
  panic/brownout/wdt are abnormal; pending result reports ok=True, pending=True
- add _check_validated(): reads /api/health validated field; absent => assume ok
- add do_mark_valid param to push(): when True, POST mark-valid after readiness
  then confirm validated:true; default False (let firmware self-validate)
- pull() also switched to _post_boot_verify for consistency
- VerifyResult gains pending: bool field to carry PENDING state
- update test_cmd_ota.py fake_push signature for new do_mark_valid kwarg

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

* feat: --mark-valid flag for ota push (TA-457)

- add --mark-valid flag to 'ota push' subcommand (default off)
- when set, cmd_ota_push passes do_mark_valid=True to ota.push()
- cmd_ota_push prints PENDING / OK (VALIDATED) / FAILED verdicts
  matching the new pending/ok distinction from VerifyResult
- dry-run plan now mentions mark-valid intent when flag is set
- dry-run plan updated: 'firmware self-... (continued)

2886 of 3627 branches covered (79.57%)

Branch coverage included in aggregate %.

5385 of 5540 relevant lines covered (97.2%)

149095.46 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.75
0.0% webui/miner/src/lib/settingsState.svelte.ts
Jobs
ID Job ID Ran Files Coverage
1 native - 28249033874.1 26 Jun 2026 03:49PM UTC 27
91.42
GitHub Action Run
2 e2e - 28249033874.2 26 Jun 2026 03:51PM UTC 56
57.49
GitHub Action Run
3 webui - 28249033874.3 26 Jun 2026 03:50PM UTC 80
91.29
GitHub Action Run
Source Files on build 28249033874
  • Tree
  • List 107
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28249033874
  • 281f35d1 on github
  • Prev Build on main (#28245080786)
  • Next Build on main (#28250151820)
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