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

dangernoodle-io / breadboard / 26002222338
100%

Build:
DEFAULT BRANCH: main
Ran 17 May 2026 08:45PM UTC
Jobs 1
Files 17
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

17 May 2026 08:44PM UTC coverage: 100.0%. Remained the same
26002222338

push

github

web-flow
fix(bb_event_ring): right-size replay snapshot to ring->max_entry (#256)

The snapshot allocation in bb_event_ring_subscribe_with_replay was over-allocating
by 2x due to a fixed 512-byte payload per entry. With the default ring capacity of
16 and max_entry of 256, this consumed 8384 bytes (16 × 524) instead of the optimal
4288 bytes.

Replace the fixed-size snapshot_entry_t with a flat two-buffer design:
- snapshot_header_t array: metadata only (id, size)
- Separate payload buffer: sized to capacity × max_entry

Byte allocation before: 16 capacity × (4 bytes id + 8 bytes size + 512 bytes payload) = 8384 bytes
Byte allocation after: (16 × 12 bytes headers) + (16 × 256 bytes payloads) = 4288 bytes
Reduction: ~49% smaller allocation, fixes OOM on constrained devices (bitaxe-650).

Adds tests for the second-alloc-failure cleanup branch and for the
bb_event_routes_attach_ex retained=true path (the latter introduced in #255
and uncovered until this PR exercised it).

Fixes B1-203.

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

958 of 958 branches covered (100.0%)

Branch coverage included in aggregate %.

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

1717 of 1717 relevant lines covered (100.0%)

1018.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26002222338.1 17 May 2026 08:45PM UTC 17
100.0
GitHub Action Run
Source Files on build 26002222338
  • Tree
  • List 17
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26002222338
  • 8f4caab5 on github
  • Prev Build on main (#26001579243)
  • Next Build on main (#26002470278)
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