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

prisma-risk / tsoracle / 26373883592
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 10:03PM UTC
Jobs 1
Files 74
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

24 May 2026 09:59PM UTC coverage: 94.942% (-0.02%) from 94.961%
26373883592

push

github

web-flow
feat: extract the version-prefixed postcard codec into a shared tsoracle-codec crate (#324)

The paxos and openraft toolkits each carried a near-identical
`[version_byte | postcard(value)]` codec (encode/decode/CodecError). Extract
the framing into a new `tsoracle-codec` micro-crate (mirroring
tsoracle-failpoint / tsoracle-yieldpoint) so it has a single home; both
toolkits' codec modules become thin re-export shims.

SCHEMA_VERSION stays per-toolkit: `version` is a function parameter, so each
toolkit keeps its own constant and evolves its on-disk format independently. A
layout change in one no longer risks a false version mismatch in the other.

The shared CodecError adopts the richer paxos shape (distinct Encode/Decode
variants carrying the postcard error as `#[source]`), a safe widening for the
one external openraft consumer (it matches Version plus a catch-all).

The on-disk byte format is unchanged (golden-byte fixtures pass) and each
toolkit's public codec surface is preserved, so no downstream consumer
changes. paxos-toolkit drops its now-unused direct postcard dependency (it
reaches postcard transitively through tsoracle-codec).

Lands as `feat:` so the new crate publishes before the toolkits that depend on
it.

Closes #265

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

11282 of 11883 relevant lines covered (94.94%)

459482.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26373883592.1 24 May 2026 10:03PM UTC 74
94.94
GitHub Action Run
Source Files on build 26373883592
  • Tree
  • List 74
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26373883592
  • 1b7978f4 on github
  • Prev Build on main (#26373876980)
  • Next Build on main (#26374152608)
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