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

dangernoodle-io / breadboard / 30468854247
97%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2026 04:05PM UTC
Jobs 1
Files 204
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

29 Jul 2026 04:02PM UTC coverage: 96.575% (+0.001%) from 96.574%
30468854247

push

github

web-flow
fix: defer bb_wifi GOT_IP NVS persist writes off sys_evt task (#1132)

bb_wifi.c's IP_EVENT_STA_GOT_IP handler ran bb_settings_wifi_pending_promote/
_provisioned_mark_connected/bb_system_boot_count_reset synchronously on the
ESP-IDF default event-loop task ("sys_evt"), whose stack was measured at 140
of 2304 bytes free (94% used) with these NVS writes on its deepest call
chain -- vs 1340 B free in portal mode, where GOT_IP never fires.

- pure bb_wifi_got_ip_persist_decide() (host-tested, 100% line+branch) maps
  (pending_try, boot_count_already_cleared) to which of the three writes to
  perform
- the actual writes now run on the shared bb_timer_disp task via a
  file-static one-shot timer, re-armed (never re-created) per GOT_IP,
  mirroring floor_app.c's HW-CONFIRMED prov_reboot_work_fn precedent
- concurrent GOT_IPs merge (OR) their decision flags rather than
  overwriting, so a fast reconnect can never drop a still-pending write;
  timer-create failure falls back to applying inline rather than dropping
- boot_count_reset is now latched at most once per boot instead of on every
  GOT_IP (including every reconnect)
- update bb_settings.h's provisioned-transition seam doc: the observer now
  fires on bb_timer_disp, not the WiFi/IP event task

HW-validated: sys_evt free stack went from 140/2304 (94% used) to
~964-1020 B free. bb_timer_disp worst case measured at 2384/4096 used
(1712 B free), including the deepest path where the provisioned-flag
write and its transition notify both re-ran on the same timer callback.


Claude-Session: https://claude.ai/code/session_01KM3KoyubaoM6eoUAsw8GYr

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

7920 of 8524 branches covered (92.91%)

Branch coverage included in aggregate %.

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

13482 of 13637 relevant lines covered (98.86%)

2608.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30468854247.1 29 Jul 2026 04:05PM UTC 204
96.58
GitHub Action Run
Source Files on build 30468854247
  • Tree
  • List 204
  • 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 #30468854247
  • b9d80d1f on github
  • Prev Build on main (#30426005076)
  • Next Build on main (#30474154116)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc