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

dangernoodle-io / breadboard / 27044630464
100%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 11:03PM UTC
Jobs 1
Files 22
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

05 Jun 2026 11:02PM UTC coverage: 100.0%. Remained the same
27044630464

push

github

web-flow
feat(bb_ota_boot): gated boot-OTA progress HTTP + mDNS advertise (#346)

adds opt-in CONFIG_BB_OTA_BOOT_PROGRESS_HTTP (default n) that, during the
boot-mode OTA download window:
- serves GET /api/update/progress with CORS headers so a cross-origin SPA
  gets live percentage without polling a dead /api/update/progress on the
  runtime (which doesn't exist on boot-mode boards)
- advertises responder-only mDNS via bb_ota_boot_set_mdns_service() so the
  board stays discoverable in peers' knot tables while the OTA runs

unconditional changes (zero behavior change for existing consumers):
- pct-stash thunk: replaces direct forward to bb_ota_pull_set_progress_cb
  with boot_progress_thunk that records s_boot_phase/s_boot_pct in statics
  then calls the consumer cb (if any); negligible footprint
- bb_ota_boot_phase_str(): pure helper mapping OTA phase to JSON state string
  (downloading/complete/error); host-testable
- bb_ota_boot_set_mdns_service(): stores hostname/service_type/proto/port in
  fixed 64-byte buffers; returns BB_ERR_INVALID_ARG on null or too-long args

gated path (behind #if CONFIG_BB_OTA_BOOT_PROGRESS_HTTP):
- brings up bb_http_server_ensure_started() + registers the progress route
- calls mdns_init/mdns_hostname_set/mdns_service_add (responder-only; no browse)
  if set_mdns_service was called before run_if_pending
- logs heap (largest_block + free_internal) after server+mdns up and pre-pull

CMakeLists: unconditionally adds espressif__mdns to PRIV_REQUIRES (header
needed at compile time when flag is y; gc-sections strips mDNS code when off)

compile-gate: smoke esp32-boot-progress env (CONFIG_BB_OTA_BOOT_PROGRESS_HTTP=y
+ CONFIG_BB_OTA_STRATEGY_BOOT=y); make smoke-esp32-boot-progress green

to enable in TaipanMiner: set CONFIG_BB_OTA_BOOT_PROGRESS_HTTP=y in sdkconfig
and call bb_ota_boot_set_mdns_service("hostname", "_taipanminer", "_tcp", 80)
before bb_ota_boot_run_if_pending()

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

1364 of 1364 branches covered (100.0%)

Branch coverage included in aggregate %.

2324 of 2324 relevant lines covered (100.0%)

935.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27044630464.1 05 Jun 2026 11:03PM UTC 22
100.0
GitHub Action Run
Source Files on build 27044630464
  • Tree
  • List 22
  • 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 #27044630464
  • 3ca84979 on github
  • Prev Build on main (#27034188992)
  • Next Build on main (#27045138668)
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