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

Alan-Jowett / sonde / 23932187908
82%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 03:23AM UTC
Jobs 1
Files 85
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

03 Apr 2026 03:17AM UTC coverage: 85.585% (+0.1%) from 85.489%
23932187908

push

github

web-flow
fix: BPF send/send_recv helpers now use AEAD when enabled (#624)

* fix: BPF send/send_recv helpers now use AEAD when enabled

Fixes #622

The BPF helper functions \helper_send\ and \helper_send_recv\ were
calling the HMAC variants (\send_app_data\, \send_recv_app_data\)
unconditionally. With \es-gcm-codec\ enabled by default (PR #615),
the gateway decrypts with AES-256-GCM and silently discards the
HMAC-framed APP_DATA.

Changes:
- \pf_dispatch.rs\: Add AEAD provider storage to \DispatchContext\.
  New \install_aead()\ function passes \AeadProvider\ + \Sha256Provider\.
  Helpers use AEAD when providers are installed, fall back to HMAC
  when not (backward compatible with HMAC-only wake cycle).
- \wake_cycle.rs\: AEAD wake cycle calls \install_aead()\ with the
  \ead\ and \sha\ providers from its arguments. Added \'static\
  bounds on \A: AeadProvider\ and \H: Sha256Provider\ for trait
  object coercion.
- \ead_codec.rs\: Relaxed \Sized\ bounds on \ncode_frame_aead\,
  \open_frame\, and \uild_gcm_nonce\ to accept \?Sized\ providers
  (enables \&dyn AeadProvider\ usage from dispatch context).
- \send_app_data_aead\ / \send_recv_app_data_aead\: Relaxed \?Sized\
  bounds on provider parameters.

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

* feat: enable debug/trace logging in gateway release builds

Updates GW-1304 to remove compile-time stripping of debug/trace call
sites in release builds. Operators can now enable debug logging on
production gateway binaries via \RUST_LOG=sonde_gateway=debug\ without
recompilation.

The runtime default remains \sonde_gateway=warn\ for release builds.
Node firmware is unaffected (retains \elease_max_level_warn\).

Changes:
- \sonde-gateway/Cargo.toml\: Remove \elease_max_level_info\ from
  tracing features.
- \docs/gateway-requirements.md\: Update GW-1304 AC-2/AC-5 and
  GW-1306 AC-3 to reflect TRACE availability in release.
- \docs... (continued)

245 of 248 new or added lines in 3 files covered. (98.79%)

2 existing lines in 1 file now uncovered.

27133 of 31703 relevant lines covered (85.58%)

135.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.93
0.16% crates/sonde-node/src/bpf_dispatch.rs

Coverage Regressions

Lines Coverage ∆ File
2
97.93
0.16% crates/sonde-node/src/bpf_dispatch.rs
Jobs
ID Job ID Ran Files Coverage
1 23932187908.1 03 Apr 2026 03:23AM UTC 85
85.58
GitHub Action Run
Source Files on build 23932187908
  • Tree
  • List 85
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23932187908
  • eb57a0a5 on github
  • Prev Build on main (#23908841169)
  • Next Build on main (#23932208925)
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