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

prisma-risk / tsoracle / 26385118621
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 05:39AM UTC
Jobs 1
Files 64
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 05:35AM UTC coverage: 95.649% (-0.03%) from 95.675%
26385118621

push

github

web-flow
fix(driver-paxos): enforce single active leadership stream via Drop-released lease (#403)

PaxosDriver::leadership_events() minted a fresh live stream on every call
with no guard, so two Server instances built from one Arc<PaxosDriver> each
ran the failover fence, seeded independent ServingCore allocators from the
same floor, and could issue duplicate (physical_ms, logical_start, epoch)
tuples to their respective endpoints.

Add a stream_active: Arc<AtomicBool> lease. leadership_events()
compare_exchange-acquires it and returns the live stream wrapped in a
LeasedStream that releases the lease on Drop. A concurrent second call
observes the lease held and fails closed with an empty stream, which the
server's leader-watch loop reads as WatchStreamClosed and poisons serving
state to NotServing, so the second server never seeds an allocator.
Sequential re-subscription (an in-process restart that drops the prior
stream first) still re-acquires the freed lease and mints a live stream,
preserving the behavior fixed by the prior re-subscribe change.

56 of 61 new or added lines in 1 file covered. (91.8%)

9234 of 9654 relevant lines covered (95.65%)

552014.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
94.44
-1.46% crates/tsoracle-driver-paxos/src/driver.rs
Jobs
ID Job ID Ran Files Coverage
1 26385118621.1 25 May 2026 05:39AM UTC 64
95.65
GitHub Action Run
Source Files on build 26385118621
  • Tree
  • List 64
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26385118621
  • 046fa191 on github
  • Prev Build on main (#26384812211)
  • Next Build on main (#26385673710)
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