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

dangernoodle-io / breadboard / 27068481155
100%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2026 05:04PM UTC
Jobs 1
Files 25
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

06 Jun 2026 05:03PM UTC coverage: 100.0%. Remained the same
27068481155

push

github

web-flow
feat(bb_http): serve /api/* via wildcard dispatch; constant max_uri_handlers (#354)

* feat(bb_http): pure /api dispatch table + lookup (hit/405/404) + host tests

- add bb_http_api_dispatch.{h,c}: static 64-entry table, exact path match,
  query-string stripping, HIT/METHOD_MISMATCH/MISS results, no heap, no esp
- wire into components/bb_http/CMakeLists.txt SRCS and native_scaffold.py
- add test/test_host/test_api_dispatch.c (13 cases: hit, miss, 405, method
  discrimination, query strip, exact-not-prefix, overflow, reset, null guards)
- bb_http.h is host-includable; included directly (no forward-decls needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(bb_http): serve /api/* via wildcard dispatch; constant max_uri_handlers

- register GET/POST/PUT/PATCH/DELETE /api/* wildcards at server start (before
  asset GET /*); all dispatch through api_dispatch_handler via bb_api_dispatch
- bb_http_register_route: /api/ paths feed bb_api_dispatch_add (no httpd slot
  consumed); non-/api paths keep existing httpd_register_uri_handler path
- max_uri_handlers replaced by single constant knob BB_HTTP_MAX_URI_HANDLERS
  (default 12); removes _MIN/_OVERRIDE logic
- bb_http_reserve_routes: vestigial no-op on espidf (ABI kept; body cleared);
  host backend retains counter for existing test compat
- bb_http_api_dispatch: high-watermark bb_log_w fires once at count >= CAP-8;
  reset by bb_api_dispatch_reset(); s_warned guard added
- Kconfig: add BB_HTTP_MAX_URI_HANDLERS + BB_HTTP_API_DISPATCH_CAP; remove
  BB_HTTP_MAX_URI_HANDLERS_MIN and BB_HTTP_MAX_URI_HANDLERS_OVERRIDE
- host backend: /api/ routes feed dispatch table (mirrors espidf split)
- watermark test added; 1261 tests pass, 100% coverage

note: BB_HTTP_MAX_URI_HANDLERS_MIN/_OVERRIDE removed; TM sdkconfig references
are transient non-fatal unknown-symbol until TM is updated in step 3.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <... (continued)

1444 of 1444 branches covered (100.0%)

Branch coverage included in aggregate %.

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

2439 of 2439 relevant lines covered (100.0%)

940.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27068481155.1 06 Jun 2026 05:04PM UTC 25
100.0
GitHub Action Run
Source Files on build 27068481155
  • Tree
  • List 25
  • 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 #27068481155
  • b6853d2b on github
  • Prev Build on main (#27052976033)
  • Next Build on main (#27072763044)
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