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

dangernoodle-io / breadboard / 25263751792
100%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 10:45PM 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

02 May 2026 10:44PM UTC coverage: 100.0%. Remained the same
25263751792

push

github

web-flow
feat(bb_mdns): periodic browse refresh for stable peers (B1-87) (#178)

IDF's mdns_browse only invokes the notify callback on PTR state
changes (initial discovery, removal). Active advertisers re-announcing
with the same TTL are silently absorbed by IDF's cache, so consumers
never see "still alive" events for stable peers — knot's last_seen_us
stagnates and the UI shows good devices as stale.

Add a periodic browse-refresh timer that walks s_subs[], calls
mdns_browse_delete + mdns_browse_new for each in-use slot, and forces
a fresh PTR scan. Each responder produces a fresh on_peer; peers that
don't reply within the new query window fire on_removed before any
subsequent on_peer.

CONFIG_BB_MDNS_BROWSE_REFRESH_INTERVAL_S (default 60s, 0 disables)
controls cadence. Timer is started after lifecycle start in
bb_mdns_on_got_ip, and torn down alongside s_announce_timer in
bb_mdns_on_disconnect / bb_mdns_shutdown so it can't fire against
torn-down state. Refresh callback uses the same lock-snapshot-then-
release pattern as bb_mdns_re_arm_browses to avoid blocking the
dispatch task across IDF calls.

Header doc comment updated to call out the freshness contract:
on_peer fires on add + scheduled refresh, refresh churn (on_removed
followed by on_peer) is normal, finer freshness needs consumer-side
bb_mdns_query_txt. Smoke envs (esp32, esp32c3, tdongle, elecrow-p4-
hmi7) build clean.

336 of 336 branches covered (100.0%)

Branch coverage included in aggregate %.

557 of 557 relevant lines covered (100.0%)

477.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25263751792.1 02 May 2026 10:45PM UTC 10
100.0
GitHub Action Run
Source Files on build 25263751792
  • 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 #25263751792
  • 13e8cf38 on github
  • Prev Build on main (#25263655219)
  • Next Build on main (#25264745780)
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