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

prisma-risk / tsoracle / 26374152608
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 10:16PM UTC
Jobs 1
Files 75
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 10:11PM UTC coverage: 94.846% (-0.1%) from 94.942%
26374152608

push

github

web-flow
feat(core): lift a shared TsoPeer type into tsoracle-core (#266) (#325)

The paxos toolkit and the (dead) driver-paxos type config each carried
their own `{ node_id: u64, endpoint: String }` struct for the consensus
node + advertised tsoracle endpoint used to populate
`LeaderState::Follower::leader_endpoint`. Define the concept once as
`tsoracle_core::TsoPeer` (Clone/Debug/Eq/Hash + optional serde, matching
the Epoch/Timestamp convention) and have both backends use it:

- paxos-toolkit: replace the local `Peer` with `TsoPeer`; `from_omnipaxos`
  now takes `&[TsoPeer]`. Re-exported from the `lifecycle` module.
- driver-paxos: delete the unused `PaxosPeer` and its re-export.
- driver-openraft: `with_peers`/`from_arc_with_peers` ingest
  `impl IntoIterator<Item = TsoPeer>` (bounded `NodeId: From<u64>`) via a
  new `endpoint_map_from_peers` helper; `new`/`from_arc` stay bound-free.

`OpenraftPeer { addr }` is intentionally left untouched: it is openraft's
`Node` type persisted in membership entries (the raft transport address),
a distinct concept from the tso advertised endpoint — the openraft driver
already resolves leader endpoints from a separate node-id -> endpoint map.

Lands as `feat:` (not `refactor:`) so the new tsoracle-core symbol
publishes ahead of the dependent driver crates.

99 of 107 new or added lines in 6 files covered. (92.52%)

8 existing lines in 1 file now uncovered.

11354 of 11971 relevant lines covered (94.85%)

466767.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
91.79
-8.21% crates/tsoracle-driver-openraft/src/driver.rs

Coverage Regressions

Lines Coverage ∆ File
8
91.79
-8.21% crates/tsoracle-driver-openraft/src/driver.rs
Jobs
ID Job ID Ran Files Coverage
1 26374152608.1 24 May 2026 10:16PM UTC 75
94.85
GitHub Action Run
Source Files on build 26374152608
  • Tree
  • List 75
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26374152608
  • 98d50229 on github
  • Prev Build on main (#26373883592)
  • Next Build on main (#26374252603)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc