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

dangernoodle-io / breadboard / 25289699009
100%

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

03 May 2026 08:16PM UTC coverage: 100.0%. Remained the same
25289699009

push

github

web-flow
feat: add streaming JSON array response API (bb_http_resp_json_arr_*) (#196)

New public API for handlers emitting JSON arrays without building the full
tree in memory. On ESP-IDF, items stream in true chunked chunks (only one
per-item subtree in memory). On Arduino/host, items buffer for compatibility.
Same external behavior; single API for all platforms.

- bb_http_resp_json_arr_begin: open array and Content-Type header
- bb_http_resp_json_arr_emit: append one item (caller retains ownership)
- bb_http_resp_json_arr_end: close array and finish response

Stream holds sticky-error semantics: first failed emit poisons the stream;
end() returns that error and always closes the response. Single-use (_open
guard prevents re-use after end).

Implementations:
- ESP-IDF: true streaming via chunked transfer-encoding
- Arduino: buffered array (single client.write rule)
- Host: buffered array (test backend)

Tests added: 12 host tests covering null-arg rejection, state guards,
sticky-error behavior, empty/single/multi-item streams.

CLAUDE.md note added: prefer streaming API over building large trees for
handlers emitting N small objects.

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

336 of 336 branches covered (100.0%)

Branch coverage included in aggregate %.

557 of 557 relevant lines covered (100.0%)

509.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25289699009.1 03 May 2026 08:17PM UTC 10
100.0
GitHub Action Run
Source Files on build 25289699009
  • Tree
  • List 10
  • 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 #25289699009
  • 6cc5088b on github
  • Prev Build on main (#25285776578)
  • Next Build on main (#25299482514)
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