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

prisma-risk / tsoracle / 26377529042
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 12:51AM UTC
Jobs 1
Files 79
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 12:46AM UTC coverage: 94.829% (-0.006%) from 94.835%
26377529042

push

github

web-flow
fix(client): make record_success epoch-monotone (#362)

record_success was the weaker of the two writers to the leader cache's
epoch field. compare_and_set_leader (#240/#274) is carefully
monotone-forward, but record_success unconditionally wrote
cached.epoch = Some(epoch) for the cached endpoint and installed a fresh
entry for any other endpoint with no epoch comparison. A late-completing
RPC against a now-deposed leader -- a normal failover artifact, or
out-of-order completion of two coalesced retries -- could therefore lower
the cached epoch. Once lowered, compare_and_set_leader would accept a
genuinely-stale leader hint it was designed to reject: the monotone gate
is only as strong as its weakest writer.

Same endpoint: max the epoch instead of overwriting, still refreshing
last_used (the endpoint just proved it is alive, so it keeps its worklist
slot regardless of how stale the observed epoch was). Different endpoint:
replace the entry unless the cache is fresh, both epochs are known, and
the new epoch is strictly below the cached one -- the same rule
compare_and_set_leader applies, so an expired entry or an unknown cached
epoch still imposes no floor.

62 of 64 new or added lines in 1 file covered. (96.88%)

3 existing lines in 2 files now uncovered.

11645 of 12280 relevant lines covered (94.83%)

428327.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.47
-0.27% crates/tsoracle-client/src/leader_resolved.rs

Coverage Regressions

Lines Coverage ∆ File
2
84.37
-0.54% benchmarks/stress/src/topology/paxos.rs
1
97.44
-0.32% benchmarks/stress/src/loadgen.rs
Jobs
ID Job ID Ran Files Coverage
1 26377529042.1 25 May 2026 12:51AM UTC 79
94.83
GitHub Action Run
Source Files on build 26377529042
  • Tree
  • List 79
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26377529042
  • 9abdabe2 on github
  • Prev Build on main (#26377288510)
  • Next Build on main (#26377626780)
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