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

dangernoodle-io / breadboard / 28735275474
100%

Build:
DEFAULT BRANCH: main
Ran 05 Jul 2026 08:49AM UTC
Jobs 1
Files 57
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

05 Jul 2026 08:48AM UTC coverage: 100.0%. Remained the same
28735275474

push

github

web-flow
feat: add bb_cache_delete + runtime eviction (B1-592 A1) (#722)

- add bb_cache_delete(key): frees an entry's owned buffer + memoized
  serialized bytes and marks the slot reusable, holding s_reg_lock across
  the whole operation (wider than find_entry_locked) so a concurrent
  register can't reuse the slot mid-delete
- add free_entry_locked() helper mirroring bb_cache_reset_for_test's
  per-entry teardown
- fix bb_cache_foreach to snapshot keys by value (not raw pointers) since
  entries are no longer add-only
- document the known bb_event topic-unregister gap (SSE-flagged keys leak
  their event topic handle on delete) as a Phase-A limitation
- fix reader-vs-delete TOCTOU/UAF: per-slot mutexes are now process-lifetime
  (created once via pthread_once, never destroyed/re-init'd) with a
  generation counter bumped on every free<->in-use transition; every reader
  (update/post/serialize_into/post_serialized/get_serialized/get_raw)
  captures (entry, generation) under s_reg_lock then re-validates both under
  the entry's own lock, closing the destroyed-mutex UB and cross-key
  cache-poisoning windows
- fix bb_cache_key_at to copy the key by value instead of returning a raw
  registry pointer (same UAF class the foreach fix closed)
- dedup bb_cache_reset_for_test's per-entry teardown via free_entry_locked
- extend the coverage gate to platform/{espidf,host}/bb_cache/ and close
  every newly-visible branch gap to 100%, including a host-only
  bb_json_host_force_serialize_fail_after() fault-injection hook
- add multi-threaded delete-vs-reader host tests proving the race is closed
  (verified against the pre-fix logic, which fails deterministically and
  crashes)
- document the bb_cache_foreach stack-budget note on the WS-connect path

2624 of 2624 branches covered (100.0%)

Branch coverage included in aggregate %.

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

4390 of 4390 relevant lines covered (100.0%)

10727.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28735275474.1 05 Jul 2026 08:49AM UTC 57
100.0
GitHub Action Run
Source Files on build 28735275474
  • Tree
  • List 57
  • 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 #28735275474
  • 9d6ccc2d on github
  • Prev Build on main (#28733304912)
  • Next Build on main (#28736192710)
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