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

dangernoodle-io / breadboard / 28603832147
100%

Build:
DEFAULT BRANCH: main
Ran 02 Jul 2026 04:00PM UTC
Jobs 1
Files 41
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

02 Jul 2026 03:59PM UTC coverage: 100.0%. Remained the same
28603832147

push

github

web-flow
feat(bb_mqtt): add receive primitive with fragmented-payload reassembly (#666)

Adds bb_mqtt_on_message()/bb_mqtt_subscribe() reconnect-safety so a
consumer can receive inbound MQTT messages (needed by the upcoming
bb_sub ingress core):

- bb_mqtt_on_message(h, cb, ctx): per-handle receive callback slot — a
  race-free redesign from the original process-wide slot (two independent
  handles, e.g. a telemetry client and an ingress client, can never splice
  bytes across each other's messages).
- fragment-reassembly is now a pure, host-compilable state machine
  (bb_mqtt_reasm_step, components/bb_mqtt/src/bb_mqtt_reassemble.c) shared
  verbatim by the espidf MQTT_EVENT_DATA glue and new host tests covering
  single-shot, 3-fragment concat, oversized-total drop, zero-length
  payload, and mid-message overflow — no test-only mirror of the logic.
- the rx reassembly buffer is per-handle and lazily heap-allocated
  (SPIRAM-preferred) on the first bb_mqtt_on_message(cb != NULL) call, so
  publish-only handles pay zero standing cost.
- bb_mqtt_subscribe() now tracks filters per handle and re-subscribes them
  on every MQTT_EVENT_CONNECTED (reconnect-safe); the tracked-filter
  compare is now truncation-aware (strcmp against the would-be-stored
  form) instead of a raw sizeof-bound strncmp.
- callback contract documented: cb runs synchronously on the esp-mqtt
  event task and must not block or take a lock that could be held
  elsewhere.
- Bump CONFIG_BB_MQTT_RX_BUFFER_BYTES default 256 -> 1024 (also sizes the
  reassembly buffer; real meta/stats payloads exceed 256B).
- Host stub: bb_mqtt_on_message + bb_mqtt_host_inject_message/
  bb_mqtt_host_inject_fragment test hooks (per-handle, same reassembly
  path as device), plus bb_mqtt_host_set_subscribe_fail to cover a
  consumer's subscribe-failure branch (needed by the upcoming
  bb_sub_mqtt commit) without a real broker.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

1884 of 1884 branches covered (100.0%)

Branch coverage included in aggregate %.

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

3226 of 3226 relevant lines covered (100.0%)

1295.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28603832147.1 02 Jul 2026 04:00PM UTC 41
100.0
GitHub Action Run
Source Files on build 28603832147
  • Tree
  • List 41
  • 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 #28603832147
  • 84bac139 on github
  • Prev Build on main (#28601944301)
  • Next Build on main (#28605775983)
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