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

prisma-risk / tsoracle / 26385673710
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 05:58AM 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:53AM UTC coverage: 95.644% (-0.005%) from 95.649%
26385673710

push

github

web-flow
fix(client): floor the failed-attempt budget at the worklist size (#404)

`iter_round_robin` starts the configured-endpoint tail at a randomly
seeded per-pool rotation offset so a fleet cold start spreads across
nodes. The retry loop, however, stopped after `max_attempts` failed
attempts. In a pool with more configured endpoints than `max_attempts`
(default 5), an unlucky offset could park the only reachable endpoint
behind more failing peers than the budget allowed, so the loop exhausted
its attempts and returned an error without ever dialing the live peer —
a reachable cluster reported unreachable purely because of where the
random offset landed. The previous deterministic order let operators
pin a known-live endpoint first; rotation silently removed that.

Floor the failed-attempt budget at the initial worklist length, so a
single cold-cache sweep always dials every endpoint it knows about at
least once. Leader-hint redirects still grow the worklist beyond that
and stay uncharged against the budget, and the overall deadline still
bounds the worst case.

`max_attempts` can no longer cut a cold sweep short, so the existing
`max_attempts_caps_iteration` test (whose premise became false) is
reworked into `failed_attempt_budget_is_floored_to_a_full_sweep`, and a
new `rotation_offset_cannot_strand_the_only_live_endpoint` regression
test pins the behaviour.

90 of 93 new or added lines in 1 file covered. (96.77%)

1 existing line in 1 file now uncovered.

9309 of 9733 relevant lines covered (95.64%)

660108.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.13
0.49% crates/tsoracle-client/src/retry.rs

Coverage Regressions

Lines Coverage ∆ File
1
90.13
0.49% crates/tsoracle-client/src/retry.rs
Jobs
ID Job ID Ran Files Coverage
1 26385673710.1 25 May 2026 05:58AM UTC 64
95.64
GitHub Action Run
Source Files on build 26385673710
  • Tree
  • List 64
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26385673710
  • dbb22d57 on github
  • Prev Build on main (#26385118621)
  • Next Build on main (#26388776776)
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