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

dangernoodle-io / breadboard / 27045138668
100%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 11:19PM UTC
Jobs 1
Files 22
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 Jun 2026 11:18PM UTC coverage: 100.0%. Remained the same
27045138668

push

github

web-flow
fix(bb_http): return 404 for unregistered URIs instead of 405 (#347)

the OPTIONS /* cors preflight wildcard caused esp-idf httpd to return
405 for any unregistered non-options request, because the wildcard
"wins" the method check even when no exact handler exists.

- add `bb_http_uri_is_registered(uri)` to `route_registry.c`: iterates
  the described-route registry, applying wildcard-prefix semantics, and
  explicitly excludes the internal OPTIONS /* and GET /* catch-alls so a
  bogus path under them still reads as unregistered
- register a custom HTTPD_405_METHOD_NOT_ALLOWED error handler in
  `bb_http_server_ensure_started` that calls the predicate: unregistered
  → send 404; genuinely wrong-method on a registered uri → keep 405
- host tests: 9 cases covering exact match, bogus path, post-only route,
  wildcard route sub-path, catch-all exclusion, query-string stripping,
  null/empty inputs

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

1386 of 1386 branches covered (100.0%)

Branch coverage included in aggregate %.

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

2348 of 2348 relevant lines covered (100.0%)

930.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27045138668.1 05 Jun 2026 11:19PM UTC 22
100.0
GitHub Action Run
Source Files on build 27045138668
  • Tree
  • List 22
  • 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 #27045138668
  • 22eb09a7 on github
  • Prev Build on main (#27044630464)
  • Next Build on main (#27046424310)
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