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

dangernoodle-io / breadboard / 27921600879
100%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 11:57PM UTC
Jobs 1
Files 36
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

21 Jun 2026 11:56PM UTC coverage: 100.0%. Remained the same
27921600879

push

github

web-flow
fix: absorb self-induced disconnect in connect-timeout re-attempt path (#493)

on connect-timeout, the FSM calls esp_wifi_disconnect() before
esp_wifi_connect(). on esp-idf, esp_wifi_disconnect() emits
WIFI_EVENT_STA_DISCONNECTED synchronously before returning, which
bb_wifi.c's event handler converts to a queued EVT_DISCONNECT. without
a guard, reconn_task processes that event via handle_disconnect(), which
calls wifi_reconn_policy_on_disconnect() — bumping generic_fail_count a
second time and issuing a second esp_wifi_connect() that races the one
already issued by the timeout path.

fix: set s_self_disconnect = true before esp_wifi_disconnect() in the
timeout path. wifi_reconn_on_disconnect() checks this flag; if set, it
clears it and returns without enqueuing EVT_DISCONNECT. the flag is
declared volatile so the compiler cannot reorder the store across the
esp_wifi_disconnect() call. the policy-layer fail count and connect
call therefore happen exactly once per timeout event.

the pure policy layer (wifi_reconn_policy.c) is untouched; no new
policy tests are needed. make test: 2409/2409 passed.

1718 of 1718 branches covered (100.0%)

Branch coverage included in aggregate %.

2845 of 2845 relevant lines covered (100.0%)

1227.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27921600879.1 21 Jun 2026 11:57PM UTC 36
100.0
GitHub Action Run
Source Files on build 27921600879
  • Tree
  • List 36
  • 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 #27921600879
  • a9251a1d on github
  • Prev Build on main (#27921487930)
  • Next Build on main (#27921998515)
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