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

dangernoodle-io / breadboard / 27095132544
100%

Build:
DEFAULT BRANCH: main
Ran 07 Jun 2026 02:21PM UTC
Jobs 1
Files 26
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

07 Jun 2026 02:20PM UTC coverage: 100.0%. Remained the same
27095132544

push

github

web-flow
feat(bb_http): generic route-extender registry (migrate /api/info + /api/health onto it) (#357)

* feat(bb_http): generic route-extender registry + schema assembly

Add a portable, route-keyed extender registry to bb_http so any route
(not just /api/info and /api/health) can accept runtime extender callbacks
and JSON-Schema properties fragments.

- new components/bb_http/src/bb_http_extender.c — portable C, compiles on
  both espidf and host; no platform-specific code
- new components/bb_http/include/bb_http_extender.h — public API:
  bb_http_register_route_extender, bb_http_route_run_extenders,
  bb_http_route_assemble_schema, bb_http_extender_freeze
- new components/bb_http/include/bb_http_extender_test.h — test hooks
  under BB_HTTP_TESTING: reset, freeze, get_assembled_schema per route_id
- route keying: fixed table of BB_HTTP_EXTENDER_MAX_ROUTES=8 slots,
  strcmp; BB_HTTP_EXTENDER_MAX_PER_ROUTE=8 per route
- freeze semantics: bb_http_extender_freeze() gates all subsequent
  registration attempts with BB_ERR_INVALID_STATE
- host build: bb_http entry in native_scaffold.py gains the new source;
  BB_HTTP_TESTING added to platformio.ini build_flags

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* refactor(bb_info): migrate /api/info + /api/health onto bb_http route extenders

Migrate bb_info's hardcoded per-route extender tables and schema assembly
onto the new generic bb_http_extender facility.

- bb_info_register_extender[_ex] and bb_health_register_extender[_ex] are
  now thin wrappers over bb_http_register_route_extender("info"/"health")
- assemble_schema local function and s_extenders/s_health_extenders tables
  removed from both espidf and host implementations
- bb_info_init() calls bb_http_route_assemble_schema("info"/...,"health"/...)
  and publishes results into s_info_responses[0].schema and
  s_health_responses[0].schema (load-bearing OpenAPI publish preserved)
- bb_http_extender_freeze() called alongside the capability freeze a... (continued)

1494 of 1494 branches covered (100.0%)

Branch coverage included in aggregate %.

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

2515 of 2515 relevant lines covered (100.0%)

944.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27095132544.1 07 Jun 2026 02:21PM UTC 26
100.0
GitHub Action Run
Source Files on build 27095132544
  • Tree
  • List 26
  • 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 #27095132544
  • c9b4b3a7 on github
  • Prev Build on main (#27084707800)
  • Next Build on main (#27095727623)
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