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

dangernoodle-io / breadboard / 27473603576
100%

Build:
DEFAULT BRANCH: main
Ran 13 Jun 2026 05:18PM 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 05:17PM UTC coverage: 100.0%. Remained the same
27473603576

push

github

web-flow
fix(bb_mqtt): run reconfigure/stop on a dedicated task — was overflowing the httpd thread stack on live enable (#420)

* fix(bb_mqtt): run reconfigure/stop on a dedicated task — was overflowing the httpd thread stack on live enable

- spawn a one-shot freertos task ("mqtt_reconf", 8192-byte stack) from
  bb_mqtt_reconfigure() to perform the heavy esp-mqtt stop→destroy→init
  →start + mbedtls chain off the caller's thread
- httpd worker stack is only 6144 bytes; the synchronous path (ba77f32)
  overflows it on live patch /api/telemetry {"mqtt":{"enabled":true}}
- boot path (bb_mqtt_autoregister_init) runs on the 8192-byte main task
  and continues to call bb_mqtt_init directly — no change needed there
- reentrancy: s_reconfig_lock is taken by the caller before xTaskCreate
  and released by the worker just before vTaskDelete(NULL); rapid
  concurrent calls coalesce (find mutex taken, return BB_OK immediately)
- bb_mqtt_stop: synchronous destroy is retained (the stop path is called
  from sink teardown which runs from the bb_pub worker at 8192 bytes, not
  from httpd); no behaviour change needed for b1-275 callers
- update bb_mqtt.h docstrings to document async semantics on esp-idf
- extend host tests: deferred lifecycle trigger, reentrancy coalescing,
  enable→async-connect, disable→stop, re-enable cycles (5 new tests)
- all 2050 host tests pass

needs on-hardware confirmation: release http slot, enable mqtt live,
expect 204 + no stack-overflow panic

* fix(bb_mqtt): reconfigure lock must be a binary semaphore — cross-task give from the worker was asserting (mutex ownership)

1665 of 1665 branches covered (100.0%)

Branch coverage included in aggregate %.

2775 of 2775 relevant lines covered (100.0%)

1097.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27473603576.1 13 Jun 2026 05:18PM UTC 35
100.0
GitHub Action Run
Source Files on build 27473603576
  • 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 #27473603576
  • 452e234a on github
  • Prev Build on main (#27472076882)
  • Next Build on main (#27473833579)
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