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

prisma-risk / tsoracle / 26382464574
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 04:04AM UTC
Jobs 1
Files 83
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 04:00AM UTC coverage: 94.859% (+0.01%) from 94.845%
26382464574

push

github

web-flow
fix(client): rotate iter_round_robin worklist over configured endpoints (#395)

* fix(client): rotate iter_round_robin worklist over configured endpoints

iter_round_robin returned [cached_leader?] + configured-in-order on every
call, so the name promised a rotation it never performed and, in a
leaderless window, every pool opened its cold probes on configured[0].

Advance a per-pool cursor per worklist and start the configured tail at
cursor % len, keeping the fresh leader first and deduped. The cursor is
seeded randomly per pool so a fleet cold start spreads across nodes rather
than colliding on the first endpoint; a hash of the endpoint list would
not, since every client shares the same list.

Closes #342

* test(client): make connect-failure metric scenario rotation-agnostic

iter_round_robin now starts the configured tail at a random rotation
offset, so the client-metrics end-to-end test's [dead, live] ordering
assumption became a coin-flip: when the cursor lands on the live peer
the request succeeds on the first dial and retries{connect_failure} /
connect.failures never fire.

Drive the connect-failure signals from a single unreachable endpoint
instead. They fire on the failed dial regardless of rotation offset or
any follow-up endpoint, so the scenario is deterministic and no longer
re-encodes the configured-order guarantee the rotation removed. The
fall-through-and-recover path stays covered by the retry-loop unit
tests.

45 of 45 new or added lines in 1 file covered. (100.0%)

12788 of 13481 relevant lines covered (94.86%)

423517.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26382464574.1 25 May 2026 04:04AM UTC 83
94.86
GitHub Action Run
Source Files on build 26382464574
  • Tree
  • List 83
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26382464574
  • 5a5a6520 on github
  • Prev Build on main (#26382083655)
  • Next Build on main (#26382472848)
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