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

dangernoodle-io / breadboard / 27051136700
100%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2026 03:19AM UTC
Jobs 1
Files 23
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

06 Jun 2026 03:18AM UTC coverage: 100.0%. Remained the same
27051136700

push

github

web-flow
feat: back up wifi creds to RTC, restore + heal on NVS erase-on-corruption (#350)

* feat: add pure bb_nv creds-mirror pack/validate/crc + host tests

- add bb_nv_creds_mirror_t struct (magic, version, provisioned, pad,
  ssid[32], pass[64], crc) with portable software crc-32 (0xedb88320)
- expose pack/valid/crc api; single crc code path used by both
- wire bb_nv_creds_mirror.c into component cmake and native_scaffold
- 12 host tests covering round-trip, bit-flip detection, magic/version
  mismatch, null guard, truncation, null inputs, empty-ssid contract

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

* feat: back up wifi creds to RTC, restore + heal on NVS erase

- add CONFIG_BB_NV_CREDS_RTC_BACKUP kconfig (default y); mirrors ssid/pass/provisioned into RTC_NOINIT_ATTR bb_nv_creds_mirror_t so a crash-induced NVS erase doesn't strand a headless board
- set s_nvs_was_erased on the erase-and-retry path (bb_nv_flash_init); change log level to bb_log_e — always present under ESP_PLATFORM independent of gate
- repack mirror in set_wifi and set_provisioned after successful commit; invalidate (memset zero) in clear_wifi and clear_provisioned so deliberate factory-reset is never resurrected
- restore + heal in bb_nv_config_init: close read-only handle, reopen read-write, write-back ssid/pass/provisioned in one commit, log distinctive message; in-memory fallback if reopen fails
- add bb_nv_config_was_erased() and bb_nv_config_creds_restored() — both unconditionally defined under ESP_PLATFORM; creds_restored() returns false when gate is off
- document in CLAUDE.md bb_nv_config section

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

1402 of 1402 branches covered (100.0%)

Branch coverage included in aggregate %.

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

2386 of 2386 relevant lines covered (100.0%)

947.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27051136700.1 06 Jun 2026 03:19AM UTC 23
100.0
GitHub Action Run
Source Files on build 27051136700
  • Tree
  • List 23
  • 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 #27051136700
  • 331b9e72 on github
  • Prev Build on main (#27047923201)
  • Next Build on main (#27052112468)
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