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

dangernoodle-io / taipan-cli / 27253380940
67%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 04:34AM UTC
Jobs 1
Files 31
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 Jun 2026 04:33AM UTC coverage: 66.751% (+1.6%) from 65.196%
27253380940

push

github

web-flow
feat(update): support bb_ota_boot (boot-mode) devices in taipan update (#38)

- rework Check() to best-effort: single POST kick + single GET status,
  tolerate 404/405/network errors with new ErrCheckUnavailable sentinel
- make pre-trigger check swallowable in updateDevice: proceed to Trigger
  when ErrCheckUnavailable, only apply up_to_date/no_asset early returns
  when check actually succeeded
- branch on triggerResult.Status after Trigger:
  rebooting_for_boot_mode_ota enters dedicated handleBootModeTrigger path
  (best-effort progress poll, WaitForBoot, version verify); update_started
  enters pollPullUpdate (unchanged pull behavior)
- fix isNetworkError→success heuristic: guarded by sawProgress in
  pollPullUpdate only; boot path reaches completion via WaitForBoot,
  never via network-error shortcut
- extend isNetworkError to unwrap net.Error via errors.As and recognize
  EOF (abrupt close on device reboot)
- add tests: boot-mode trigger with check unavailable, with pre-check
  succeeded, version mismatch; network error before/after progress;
  ErrCheckUnavailable cases (404, 405, network error on kick/status)

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

106 of 130 new or added lines in 2 files covered. (81.54%)

1 existing line in 1 file now uncovered.

2361 of 3537 relevant lines covered (66.75%)

0.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
64.08
30.93% internal/cli/update.go
4
82.05
0.76% internal/ota/client.go

Coverage Regressions

Lines Coverage ∆ File
1
64.08
30.93% internal/cli/update.go
Jobs
ID Job ID Ran Files Coverage
1 27253380940.1 10 Jun 2026 04:34AM UTC 31
66.75
GitHub Action Run
Source Files on build 27253380940
  • Tree
  • List 31
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27253380940
  • 7a5f2c29 on github
  • Prev Build on main (#26733967647)
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