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

Alan-Jowett / sonde / 23477546911
82%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 07:15AM UTC
Jobs 1
Files 74
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

24 Mar 2026 03:55AM UTC coverage: 85.742% (-0.1%) from 85.852%
23477546911

push

github

web-flow
fix(gateway): reconnect on modem serial disconnect (#450)

* docs(gateway): serial disconnect recovery in spec trifecta

Requirements (GW-1103):
- Add criteria 3-5: serial disconnect triggers reconnection with
  exponential backoff, gateway resumes after \MODEM_READY\, process
  does not exit on transient USB-CDC disconnects.

Design (§4.2):
- Document serial disconnect recovery: backoff loop, startup
  re-execution, channels remain open during reconnection.

Validation:
- Add T-1104a: serial disconnect → reconnection with backoff.
- Add T-1104b: frame loop survives reconnection.

Fixes #442.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(gateway): reconnect on modem serial disconnect (GW-1103)

Wrap the modem transport construction + frame/BLE processing loops in
a retry loop with exponential backoff (1s → 30s cap).  When the serial
reader task exits due to USB-CDC disconnect (OS error 995), the gateway
logs a warning and attempts to reopen the port and re-execute the
modem startup sequence instead of exiting.

The gRPC admin server is recreated each iteration with the new
transport reference.  Shutdown signal breaks the outer loop cleanly.

Fixes #442.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: clippy redundant_closure_call in serial port open

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

0 of 135 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

21450 of 25017 relevant lines covered (85.74%)

164.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
135
0.0
0.0% crates/sonde-gateway/src/bin/gateway.rs

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% crates/sonde-gateway/src/bin/gateway.rs
Jobs
ID Job ID Ran Files Coverage
1 23477546911.1 24 Mar 2026 07:15AM UTC 74
85.74
GitHub Action Run
Source Files on build 23477546911
  • Tree
  • List 74
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23477546911
  • 9ba48845 on github
  • Prev Build on main (#23471824381)
  • Next Build on main (#23498448823)
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