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

prisma-risk / tsoracle / 26414752906
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 06:44PM UTC
Jobs 1
Files 66
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:36PM UTC coverage: 96.494% (-0.07%) from 96.568%
26414752906

push

github

web-flow
fix(client): keep the election signal sticky so a final timeout can't bury NOT_LEADER (#432)

issue_rpc recorded every outcome into a single last_err slot, so a
ride-out that recorded a reachable peer's NoLeaderYet (FAILED_PRECONDITION)
could have it clobbered by a DeadlineExceeded from the final attempt —
whose per-attempt budget the overall deadline had squeezed to near zero.
The client then surfaced a transport timeout instead of the cluster's own
'no leader yet' diagnosis, which is both less actionable for callers and
made exhausted_ride_out_surfaces_not_leader flaky on slow CI runners.

Track the in-progress-election signal separately and make it sticky across
passes, then surface errors by precedence in a new pure surface_error():
a non-transport last_err (a definitive server rejection) wins verbatim;
otherwise the sticky election signal; otherwise the transport-class
last_err; otherwise NoReachableEndpoints. A reachable server's NOT_LEADER
status thus outranks a transport straggler that is only an artifact of our
own budget.

Add deterministic unit tests for surface_error (no sockets or timing) and
a readiness warm-up to the integration test so at least one attempt reaches
the peer before the ride-out is timed.

53 of 65 new or added lines in 1 file covered. (81.54%)

10403 of 10781 relevant lines covered (96.49%)

467616.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
93.42
-0.68% crates/tsoracle-client/src/retry.rs
Jobs
ID Job ID Ran Files Coverage
1 26414752906.1 25 May 2026 06:44PM UTC 66
96.49
GitHub Action Run
Source Files on build 26414752906
  • Tree
  • List 66
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26414752906
  • bea788c2 on github
  • Prev Build on main (#26414589970)
  • Next Build on main (#26415388763)
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