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

dangernoodle-io / breadboard / 28753851603
100%

Build:
DEFAULT BRANCH: main
Ran 05 Jul 2026 08:28PM UTC
Jobs 1
Files 70
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 Jul 2026 08:27PM UTC coverage: 100.0%. Remained the same
28753851603

push

github

web-flow
test: cover bb_pub/bb_sink core to 100% (B1-516) (#744)

Production seams added (test-only, no-op in normal operation, mirror the
existing bb_sink_http_set_malloc fn-pointer-override pattern):
- bb_pub.c: bb_pub_test_set_nv_set_u32/u8() override the interval/enabled
  NVS writers so tests can simulate an NVS write failure; bb_pub_test_set_
  pause_timeout_ms() shortens bb_pub_pause()'s bounded-wait timeout so the
  ETIMEDOUT path (including the absolute-deadline nanosecond-carry branch)
  can be exercised without a real 30s wait. Both revert via bb_pub_test_reset().
- bb_http_client_host.c: bb_http_client_host_set_session_calloc() overrides
  the allocator inside session_open to simulate an allocation failure;
  session_post now carries the mock's tls_error_code through on a mocked
  transport failure too (previously hardcoded to 0), so a TLS-handshake
  failure classification can be exercised on the failure path.

Also fixed: 4 pre-existing bb_pub_set_interval_volatile_ms tests were
defined but never registered in test_main.c's RUN_TEST list (dead code,
not a coverage-tool artifact) -- now registered and passing.

Tests added across three passes:
- bb_pub tests: telemetry registration validation, sink_info/source_info
  bounds, buffer_init_eager, deliver_to_sinks subscribe filtering, hostname
  fallback, cache_update/get_serialized failure paths, bb_json alloc/serialize
  fault-injection on the legacy source tick path, null-arg guards on
  status/metrics-prefix/buffer-stats accessors, subscription_match/
  sample_into edge cases (including NULL entries in tags/subtopics arrays),
  non-first-sink failure and per-sink subscribe-filter bookkeeping, a
  consecutive-alloc-failure log-once check, NVS-write-failure injection on
  the interval/enabled setters, and pause() bounded-wait ETIMEDOUT coverage
  (including the deadline nanosecond-carry branch)
- bb_sink_ws tests: negative-fd guards, malformed/oversized/unterminated
  subscription-array parsing, whi... (continued)

3118 of 3118 branches covered (100.0%)

Branch coverage included in aggregate %.

5016 of 5016 relevant lines covered (100.0%)

10624.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28753851603.1 05 Jul 2026 08:28PM UTC 70
100.0
GitHub Action Run
Source Files on build 28753851603
  • Tree
  • List 70
  • 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 #28753851603
  • 487be182 on github
  • Prev Build on main (#28753600268)
  • Next Build on main (#28754427858)
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