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

Alan-Jowett / sonde / 23359996811
82%

Build:
DEFAULT BRANCH: main
Ran 20 Mar 2026 07:54PM UTC
Jobs 1
Files 71
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

20 Mar 2026 07:50PM UTC coverage: 82.628% (-0.005%) from 82.633%
23359996811

push

github

web-flow
fix(gateway): use getrandom::fill() instead of rand::rng() for starting_seq (#390)

* fix(gateway): use getrandom::fill() instead of rand::rng() for starting_seq

Replace rand::rng().random() with getrandom::fill() in the WAKE
handler starting_seq generation to ensure cryptographic randomness
comes from the OS CSPRNG.

- Remove rand crate dependency (no remaining usages)
- Remove use rand::RngExt import from engine.rs

Closes #381

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

* fix: handle CSPRNG failure gracefully in WAKE handler

Replace .expect() with recoverable error handling for getrandom::fill()
in handle_wake(), matching the existing pattern used in ble_pairing.rs
and gateway_identity.rs. Returns None instead of panicking the gateway.

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>

5 of 7 new or added lines in 1 file covered. (71.43%)

16529 of 20004 relevant lines covered (82.63%)

49.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.39
-0.25% crates/sonde-gateway/src/engine.rs
Jobs
ID Job ID Ran Files Coverage
1 23359996811.1 20 Mar 2026 07:54PM UTC 71
82.63
GitHub Action Run
Source Files on build 23359996811
  • Tree
  • List 71
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23359996811
  • c964cddd on github
  • Prev Build on main (#23359021289)
  • Next Build on main (#23360778949)
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