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

dangernoodle-io / breadboard / 27052112468 / 1
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2026 04:07AM UTC
Files 24
Run time 0s
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

06 Jun 2026 04:05AM UTC coverage: 100.0%. Remained the same
27052112468.1

push

github

web-flow
feat: runtime WiFi reconfigure with safe rollback (PATCH /api/wifi) (#351)

* feat: add pure bb_nv wifi-pending decide/validate helper + host tests

- bb_wifi_pending_decide(): pure flag+ssid guard; no esp, no heap, no globals
- bb_wifi_pending_validate(): enforces SSID_MAX=31 / PASS_MAX=63 before staging
- wired into bb_nv CMakeLists.txt SRCS and native_scaffold.py source map
- 12 host tests covering all decide/validate branches; 100% line+branch coverage

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

* feat: bb_nv pending wifi creds slot (stage/commit/revert)

- add set/active/ssid/pass/commit/clear_wifi_pending to bb_nv
- pending creds live in s_pending (separate from s_config); live creds
  and the rtc mirror are mutated only by commit_wifi_pending
- nvs keys: wifi_ssid_p, wifi_pass_p, wifi_try (all in bb_cfg namespace)
- pending cache loaded at init time without touching the ssid[0]=='\0'
  rtc-restore gate
- all new esp logic guarded #ifdef ESP_PLATFORM; host stubs inline in
  bb_nv.h returning BB_ERR_UNSUPPORTED / false / ""

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

* feat: bb_wifi bounded pending-creds try + commit/revert + bb_wifi_reconfigure

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

* feat: PATCH /api/wifi runtime reconfigure route

- adds PATCH /api/wifi {ssid, password} handler in bb_wifi_routes.c,
  gated on CONFIG_BB_WIFI_RECONFIGURE (default y)
- valid body → 202 {"status":"rebooting_to_try_wifi"} + bb_wifi_reconfigure
  (arms ~500ms deferred restart so 202 flushes before reboot)
- invalid body / bad credentials → 400 {"error":"..."}
- route descriptor with 202/400 response schemas registered alongside GET
- bb_http_reserve_routes bumps 2→3 when CONFIG_BB_WIFI_RECONFIGURE=y
- fidelity tests for 202 and 400 response shapes added; make test: 1241 passed
- coverage maintained at 100%

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

---------

Co-authored-by: Claude Sonnet 4.6 <nor... (continued)

1418 of 1418 branches covered (100.0%)

Branch coverage included in aggregate %.

2400 of 2400 relevant lines covered (100.0%)

947.27 hits per line

Source Files on job 27052112468.1
  • Tree
  • List 24
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27052112468
  • 686763d7 on github
  • Prev Job for on main (#27051136700.1)
  • Next Job for on main (#27052459330.1)
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