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

prisma-risk / tsoracle / 26413543622
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 06:08PM UTC
Jobs 1
Files 67
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 06:01PM UTC coverage: 96.583% (-0.01%) from 96.596%
26413543622

push

github

web-flow
refactor(server): consolidate consensus-error classification into one classifier (#424)

The extend path (service::extend_window) and the fence path
(fence::run_leader_watch) both classified ConsensusError::{Fenced, NotLeader,
TransientDriver, PermanentDriver}, but with divergent policy and the knowledge
split across two near-identical match blocks, so a fifth variant meant editing
both.

Introduce PersistDisposition and classify(ConsensusError) in a new
persist_disposition module. classify owns the variant-to-category mapping once;
each site maps a disposition to its own policy, making the divergence explicit
at the call sites: the extend path surfaces a transient fault as UNAVAILABLE and
a permanent one as INTERNAL while staying serving, whereas the fence retries a
transient fault with backoff and treats a permanent one as fatal.

PersistDisposition collapses Fenced and NotLeader into
SteppedDown { fenced_by: Option<Epoch> }: both sites step down on either,
differing only in the epoch advertised in the leader hint (Fenced names
current; NotLeader exposes none), which the field preserves. Behavior is
unchanged; the leadership_churn suite pins both paths.

72 of 78 new or added lines in 3 files covered. (92.31%)

1 existing line in 1 file now uncovered.

10146 of 10505 relevant lines covered (96.58%)

564873.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.61
-0.65% crates/tsoracle-server/src/fence.rs
2
95.0
crates/tsoracle-server/src/persist_disposition.rs

Coverage Regressions

Lines Coverage ∆ File
1
95.61
-0.65% crates/tsoracle-server/src/fence.rs
Jobs
ID Job ID Ran Files Coverage
1 26413543622.1 25 May 2026 06:08PM UTC 67
96.58
GitHub Action Run
Source Files on build 26413543622
  • Tree
  • List 67
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26413543622
  • e7239186 on github
  • Prev Build on main (#26413349720)
  • Next Build on main (#26413691467)
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