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

prisma-risk / tsoracle / 26346772476
95%

Build:
DEFAULT BRANCH: main
Ran 23 May 2026 11:54PM 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

23 May 2026 11:50PM UTC coverage: 94.819% (+0.1%) from 94.721%
26346772476

push

github

web-flow
feat: populate NOT_LEADER hints with leader endpoint and epoch (#88, #125) (#234)

* feat(consensus)!: carry leader_epoch on LeaderState::Follower

The openraft driver now derives the follower epoch from the raft term;
paxos emits None. Server propagation and wire emission follow.

* feat(driver-openraft): resolve follower leader_endpoint from a peer map

Adds OpenraftDriver::with_peers / from_arc_with_peers keyed by the
driver's NodeId; map_leader_state resolves the elected leader's tsoracle
endpoint. OpenraftDriver::new stays as the empty-map (no resolution) case.

* refactor(examples): drop StandaloneRouter; use OpenraftDriver::with_peers

Endpoint resolution now lives in the driver, so the standalone example no
longer hand-rolls leadership_events().

* feat(server)!: carry leader_epoch through ServingState::NotServing

run_leader_watch propagates the follower epoch from the consensus
LeaderState::Follower event into the published serving state.

* feat(server): populate LeaderHint.leader_epoch in NOT_LEADER paths

Both service-layer hint builders split the ServingState leader epoch onto
the wire halves via a shared wire_epoch helper, completing the server side
of the stale-hint protection contract.

* test(client): higher-epoch leader hint wins regardless of arrival order

* docs: describe leader_epoch on follower hints and drop StandaloneRouter refs

* docs(client): correct leader-epoch comments now that openraft servers populate it

186 of 187 new or added lines in 8 files covered. (99.47%)

10358 of 10924 relevant lines covered (94.82%)

1739197.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.86
0.86% crates/tsoracle-client/src/retry.rs
Jobs
ID Job ID Ran Files Coverage
1 26346772476.1 23 May 2026 11:54PM UTC 74
94.82
GitHub Action Run
Source Files on build 26346772476
  • Tree
  • List 74
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26346772476
  • f2a3df38 on github
  • Prev Build on main (#26346282296)
  • Next Build on main (#26348648998)
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