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

prisma-risk / tsoracle / 26301598829
95%

Build:
DEFAULT BRANCH: main
Ran 22 May 2026 05:14PM UTC
Jobs 1
Files 53
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

22 May 2026 05:11PM UTC coverage: 96.004% (-0.01%) from 96.017%
26301598829

push

github

web-flow
fix(server): poison serving state on leader-watch stream EOF (#124)

A clean EOF on `consensus.leadership_events()` let `run_leader_watch` fall
through to `Ok(())`, skipping the conditional poisoning in `into_router`.
Embedders mounting `into_router` on their own tonic listener kept observing
`ServingState::Serving` while the watch task was dead, so the allocator
could grant timestamps at a stale epoch and violate global ordering against
a freshly-elected leader.

Surface EOF as `ServerError::WatchStreamClosed` so the existing Err branch
poisons via `step_down_due_to_consensus_rejection(None)`, making the
embedded-router contract symmetric with the error and panic paths from

Closes #72.

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

1 existing line in 1 file now uncovered.

7087 of 7382 relevant lines covered (96.0%)

675826.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.19
-0.4% crates/tsoracle-server/src/server.rs
Jobs
ID Job ID Ran Files Coverage
1 26301598829.1 22 May 2026 05:14PM UTC 53
96.0
GitHub Action Run
Source Files on build 26301598829
  • Tree
  • List 53
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26301598829
  • 7d87394e on github
  • Prev Build on main (#26300061678)
  • Next Build on main (#26302662986)
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