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

Alan-Jowett / sonde / 25926387606
81%

Build:
DEFAULT BRANCH: main
Ran 15 May 2026 03:41PM UTC
Jobs 1
Files 124
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

15 May 2026 03:31PM UTC coverage: 83.027% (-0.02%) from 83.044%
25926387606

push

github

web-flow
spec: BPF decoder programs and sensor data pipeline (#923)

* spec: add decoder BPF programs and sensor data pipeline

Add specifications for BPF decoder programs (GW-1900-1906,
AZH-0500-0502, WEB-0700-0702). A single ELF file contains two
sections: SEC("sonde") for node program and optional SEC("decoder")
for gateway-side data decoding.

The gateway executes the decoder on incoming APP_DATA to enrich
CBOR messages with a readings map (key 16) before forwarding to
handlers and the connector. The Azure handler stores enriched data
in a SensorData table. The SPA gains a Sensor Data tab with
time-series visualization.

13 new requirements, 24 new test cases, 10 docs updated.

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

* spec: address PR review feedback

- Fix section references from non-existent 9.2a to 9.2
- Fix decoder context pointer width to uint64_t (16 bytes, 8-byte
  aligned) matching existing BPF verifier convention
- Specify lowercase hex encoding for SensorData PartitionKey
- Fix map_update_elem signature (no flags arg in sonde convention)
- Fix emit_reading return values in helper table (0/-1/-2)
- Clarify program_hash covers node image only (not decoder)
- Fix SensorData table name casing in SPA architecture diagram
- Specify int64 JSON encoding strategy for values beyond
  Number.MAX_SAFE_INTEGER

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

* spec: address second-round PR review feedback

- Align int64 JSON encoding rule: normative AC in AZH-0501 (AC-5),
  web-ui-design references it as consumer expectation
- Fix PartitionKey formula in validation to include UTF-8 bytes detail
- Clarify DecoderPlatform section name is exact match, not prefix
- Fix decoder_context struct in requirements to match uint64_t/16-byte
  layout from bpf-environment.md and gateway-design.md
- Fix T-WEB-0705 traceability from W... (continued)

34276 of 41283 relevant lines covered (83.03%)

194.39 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
79.7
-0.31% crates/sonde-azure-companion/src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 25926387606.1 15 May 2026 03:41PM UTC 124
83.03
GitHub Action Run
Source Files on build 25926387606
  • Tree
  • List 124
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25926387606
  • 10b61530 on github
  • Prev Build on main (#25925388965)
  • Next Build on main (#25928326940)
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