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

Alan-Jowett / sonde / 24767143576
82%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 08:04AM UTC
Jobs 1
Files 113
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

21 Apr 2026 05:17PM UTC coverage: 80.729% (-0.08%) from 80.809%
24767143576

push

github

web-flow
fix(gateway): abort subsystem tasks on shutdown to avoid GW-1400 watchdog (#779)

The shutdown `select!` arm only cancelled the health monitor and broke
out of the reconnect loop, leaving `frame_loop`, `ble_loop`,
`grpc_handle`, `ble_controller`, and the modem reader task orphaned.
The tokio runtime teardown then blocked on these futures until the
5-second GW-1400 force-exit watchdog fired.

Mirror the existing cleanup from the normal-disconnect path into both
terminal-exit arms (shutdown signal and unrecoverable gRPC failure):

1. `ble_controller.cancel_and_wait().await`
2. `health_cancel.cancel()`
3. Abort and await `frame_loop`, `ble_loop`, `grpc_handle`, `health_handle`
4. `transport.abort_reader_and_wait().await`

Fixes #777

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

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

2 existing lines in 1 file now uncovered.

24456 of 30294 relevant lines covered (80.73%)

203.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
30
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 24767143576.1 22 Apr 2026 08:04AM UTC 113
80.73
GitHub Action Run
Source Files on build 24767143576
  • Tree
  • List 113
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24767143576
  • 9ee19622 on github
  • Prev Build on main (#24703973857)
  • Next Build on main (#24787411114)
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