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

Alan-Jowett / sonde / 26652723963
82%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 05:51PM 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

29 May 2026 05:42PM UTC coverage: 82.086% (+0.004%) from 82.082%
26652723963

push

github

web-flow
fix: replace `desiredstate` upsert with append-only insert (#1100)

* fix: replace `desiredstate` upsert with append-only insert (#1097)

Remove `insert_or_replace` from the gateway `desiredstate` table path and
replace with a plain `insert` using a fresh `next_history_row_key()` RowKey.
This preserves original SPA-written rows for audit purposes.

Changes:
- Rename `upsert_gateway_desired_state` to `append_gateway_desired_state`
  across the `HandlerStore` trait and all implementations
- Azure Table impl: use `table.insert()` instead of
  `entity_client.insert_or_replace()`
- Call site: generate a new RowKey with the current message timestamp instead
  of reusing the existing row's RowKey
- MemoryStore: change from single-row HashMap to append-only Vec, with load
  returning the lexicographically smallest RowKey (matching Azure top-1)
- T-AZH-0603 test: add assertion that both original and cleared rows exist
  with distinct RowKeys after epoch increment
- Update AZH-0603, AZH-0605 requirements and design docs with append-only
  semantics

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

* fix: clarify doc comment on append_gateway_desired_state

Caller must provide a unique RowKey; store inserts without replacing.

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

---------

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>

19 of 21 new or added lines in 1 file covered. (90.48%)

38261 of 46611 relevant lines covered (82.09%)

248.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.02
0.04% crates/sonde-azure-handler/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 26652723963.1 29 May 2026 05:51PM UTC 124
82.09
GitHub Action Run
Source Files on build 26652723963
  • Tree
  • List 124
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26652723963
  • f3c8b69d on github
  • Prev Build on main (#26619330596)
  • Next Build on main (#26653918877)
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