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

prisma-risk / tsoracle / 26379558328
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 02:13AM UTC
Jobs 1
Files 82
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

25 May 2026 02:08AM UTC coverage: 94.862% (-0.007%) from 94.869%
26379558328

push

github

web-flow
test(fuzz): roundtrip-fuzz the version-framed snapshot codecs (#374)

The existing snapshot targets (snapshot_payload_decode, paxos_snapshot_decode)
only assert "does not panic". Neither guards the codec invariant that matters
for the per-toolkit SCHEMA_VERSION: that decoding then re-encoding is a stable
canonical form. A serde-shape drift or non-deterministic encoding would slip
past a decode-only target.

Add two reverse-roundtrip targets over the richest version-framed payloads —
codec_roundtrip (openraft HighWaterStateMachineSnapshot, nested
StoredMembership) and paxos_codec_roundtrip (paxos HighWaterSnapshot, with its
HashMap ledger). On any input that decodes, they re-encode, decode again, and
assert the value is unchanged.

The assertion is value equality, deliberately not byte equality of the
re-encodings:
  - postcard::from_bytes ignores trailing bytes, so `re-encode == input` would
    false-positive on a valid prefix followed by junk;
  - the paxos HashMap ledger has per-instance iteration order, so two equal
    maps can serialize to different byte orders (HashMap's == is set-wise).

Both go through the same encode/decode the production writers use (openraft
encode(SCHEMA_VERSION, ..); paxos encode_postcard -> codec). Wired into both
fuzz CI matrices with seed corpora. Refreshes the stale fuzz Cargo.lock.

12277 of 12942 relevant lines covered (94.86%)

441796.78 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.44
-0.32% benchmarks/stress/src/loadgen.rs
Jobs
ID Job ID Ran Files Coverage
1 26379558328.1 25 May 2026 02:13AM UTC 82
94.86
GitHub Action Run
Source Files on build 26379558328
  • Tree
  • List 82
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26379558328
  • 61e687eb on github
  • Prev Build on main (#26379535391)
  • Next Build on main (#26379771513)
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