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

dangernoodle-io / breadboard / 28562091915
100%

Build:
DEFAULT BRANCH: main
Ran 02 Jul 2026 02:57AM UTC
Jobs 1
Files 40
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 02:56AM UTC coverage: 100.0%. Remained the same
28562091915

push

github

web-flow
refactor(bb_arena_tls): rename bb_heap_arena and rebuild on generic bb_arena (B1-478 PR B) (#653)

- rename components/bb_heap_arena -> bb_arena_tls (header, Kconfig, CMakeLists,
  platform/{espidf,host} impls, host test) and bb_heap_arena_* symbols ->
  bb_arena_tls_*
- ESP-IDF and host impls now allocate the static backing buffer once and hand
  it to bb_arena_init() (generic bump-alloc primitive from B1-478 PR A)
  instead of hand-rolling a multi_heap/bump allocator per platform
- behavior-neutral at BB_ARENA_TLS_BYTES=0 (default): mbedTLS calloc/free
  route straight to the fallback path, same as before the rename
- #610's fallback routing through bb_calloc_internal/bb_mem_free is
  preserved verbatim on both platforms
- bb_mqtt Kconfig/header/espidf comments updated to the new name; no API
  change (bb_mqtt never called bb_heap_arena_* directly)
- fix critical regression: bb_arena is a bump allocator that never reclaims
  on free, so once the arena filled on the first mbedTLS handshake it never
  served another handshake for the rest of device uptime. Track outstanding
  arena allocations and call bb_arena_reset() once the count drains to zero
  (arena fully drained between handshakes), restoring multi-handshake reuse
  while staying safely in fallback if anything remains pinned
- Kconfig help text corrected to describe reset-on-drain semantics and to
  size BB_ARENA_TLS_BYTES for a handshake's cumulative allocation, not peak
  concurrent bytes
- add test_arena_tls_reuse_after_free_all covering the drain-and-reuse path
- guard the process-wide calloc/free hooks with a pthread mutex held across
  the entire body of both (ESP-IDF and host impls) so concurrent TLS
  handshakes (telemetry sink + OTA/update-check, WPA-supplicant) cannot
  corrupt the bump offset or race the outstanding counter into a premature
  reset (UAF)
- make bb_arena_tls_init() idempotent on both platforms: a second call no
  longer zeros the outstanding counter or rewinds the a... (continued)

1840 of 1840 branches covered (100.0%)

Branch coverage included in aggregate %.

3167 of 3167 relevant lines covered (100.0%)

1291.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28562091915.1 02 Jul 2026 02:57AM UTC 40
100.0
GitHub Action Run
Source Files on build 28562091915
  • Tree
  • List 40
  • 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 #28562091915
  • d3548609 on github
  • Prev Build on main (#28560892169)
  • Next Build on main (#28563196129)
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