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

dangernoodle-io / breadboard / 27472076882
100%

Build:
DEFAULT BRANCH: main
Ran 13 Jun 2026 04:14PM UTC
Jobs 1
Files 35
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

13 Jun 2026 04:14PM UTC coverage: 100.0%. Remained the same
27472076882

push

github

web-flow
fix(bb_mqtt): harden bb_mqtt_reconfigure live teardown/re-init (was crashing on live enable — InstrFetchProhibited) (#419)

- add h->destroyed flag set under h->lock before esp_mqtt_client_destroy;
  mqtt_event_handler checks the flag on entry and returns immediately —
  prevents queued-but-not-yet-dispatched events from firing into freed memory
  after bb_mqtt_destroy returns (root cause of InstrFetchProhibited on live
  mqtt enable via PATCH /api/telemetry)
- guard esp_mqtt_client_stop behind h->started: calling stop on an unstarted
  client is benign in some esp-mqtt versions but triggers internal assertions
  in others; skip it when the client was never started (disabled→enabled path)
- tighten s_pending_start guard in bb_mqtt_reconfigure: add explicit NULL
  check before comparing to s_auto_client
- clarify deferred-start race window: after bb_wifi_register_on_got_ip fires
  on_got_ip_cb synchronously (s_has_ip already true), h->started is set by
  mqtt_start_once; log the deferred message only when start was truly deferred
- add bb_mqtt_stop(bb_mqtt_t *handle_p): idempotent stop+destroy+NULL for
  B1-275 telemetry sink teardown; exposed in public header and host stub
- 9 new host tests: bb_mqtt_stop lifecycle (null safety, clears handle,
  idempotent, publish-after-stop guard), enabled→disabled→enabled lifecycle,
  reconfigure from no-client (disabled-at-boot path), default-null-after-stop

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

1665 of 1665 branches covered (100.0%)

Branch coverage included in aggregate %.

2775 of 2775 relevant lines covered (100.0%)

1095.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27472076882.1 13 Jun 2026 04:14PM UTC 35
100.0
GitHub Action Run
Source Files on build 27472076882
  • Tree
  • List 35
  • 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 #27472076882
  • ba77f324 on github
  • Prev Build on main (#27469860517)
  • Next Build on main (#27473603576)
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