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

Alan-Jowett / sonde / 26178736020
82%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 05:35PM UTC
Jobs 1
Files 129
Run time 2min
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 May 2026 05:25PM UTC coverage: 83.065% (+0.1%) from 82.918%
26178736020

push

github

web-flow
fix: resolve azure-handler design-vs-implementation drift (#1045)

* fix: resolve azure-handler design-vs-implementation drift (#1029)

Update docs/azure-handler-design.md to document 6 implemented-but-unspecified
features and remove dead PSK escrow code (4 findings).

Specification changes (design doc):

- S1: expand scope and overview to include program ingestion
- S2: add Programs table to managed identity permissions
- S2.1: rewrite trigger model to describe the Azure Functions Custom Handler
  HTTP model (FUNCTIONS_CUSTOMHANDLER_PORT, Axum routes, queue/HTTP trigger
  envelope parsing with specific fallback paths)
- S3.1: broaden "logged and ignored" to cover all non-node `entity_kind`
  values (phone, gateway)
- S4: update intro from "two tables" to "four tables"
- S4.1: add `entity_kind` column to `ActualNodeState` schema, link RowKey to
  new S4.3
- S4.2: update `DesiredNodeState` RowKey reference to S4.3
- S4.3 (new): document three-part history RowKey format
  (`reverse_tick:reverse_sequence:process_nonce`)
- S4.4 (new): document `Programs` table schema (`PartitionKey="program"`,
  `RowKey=hex(program_hash)`)
- S6.1: update SensorData RowKey cross-reference
- S8 (new): full `ProgramIngest` HTTP trigger specification (endpoint, request/
  response schemas, validation rules, error codes, storage behavior), traced to
  WEB-0300 through WEB-0308

Implementation changes (dead code removal):

Remove all PSK key escrow code from `sonde-azure-handler` (~1000 lines):
- `RuntimeConfig::escrow_table` field and env var
- `GatewayStatusDetails`, `KdfParams`, `KeyEscrowPubkeyMessage`,
  `KeyEscrowRequestMessage` structs
- `ConnectorMessage::KeyEscrowPubkey/KeyEscrowRequest/MasterKeyInstall` variants
- 4 `HandlerStore` trait escrow methods and `AzureTablesStore` impls
- Phone-scoped `ACTUAL_STATE` handling (`entity_kind="phone"`)
- Gateway-scoped `status_details` parsing (CBOR keys 10/12/13/14)
- `handle_key_escrow_request`, `encode_key_escrow_response`,
 ... (continued)

2 of 2 new or added lines in 1 file covered. (100.0%)

7 existing lines in 1 file now uncovered.

37288 of 44890 relevant lines covered (83.07%)

252.18 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
81.12
-0.28% crates/sonde-azure-companion/src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 26178736020.1 20 May 2026 05:35PM UTC 129
83.07
GitHub Action Run
Source Files on build 26178736020
  • Tree
  • List 129
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26178736020
  • 2084f3cb on github
  • Prev Build on main (#26177564672)
  • Next Build on main (#26181875595)
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