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

prisma-risk / tsoracle / 26349056193
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 02:00AM UTC
Jobs 1
Files 74
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

24 May 2026 01:55AM UTC coverage: 94.702% (-0.1%) from 94.826%
26349056193

push

github

web-flow
fix(client): stop clearing leader cache on unactionable NOT_LEADER (#236) (#268)

The retry loop's `HintRejected` arm called `clear_leader()` on every
NOT_LEADER it could not redirect. But that outcome is emitted for three
benign cases: a FAILED_PRECONDITION with no leader-hint trailer, a
malformed trailer, or a hinted endpoint dropped by the TLS-downgrade
guard. None are evidence the cached leader is wrong — only that the
contacted peer could not redirect us. Under request coalescing, clearing
the cache on each flap stampedes every in-flight caller back onto a cold
worklist against all configured nodes.

Leave the cache intact in that arm; the status is still preserved as the
surfaced error and the worklist advances. With its only production caller
gone, `ChannelPool::clear_leader` (and its unit test) is removed as dead
code. The behavioral guarantee is pinned by a new test that drives the
real `issue_rpc` loop against a loopback follower returning NOT_LEADER
with no trailer and asserts the cached leader survives.

Updates the client-discovery docs and a now-stale integration-test
comment that described the old clear-on-NOT_LEADER behavior.

34 of 43 new or added lines in 1 file covered. (79.07%)

6 existing lines in 2 files now uncovered.

10386 of 10967 relevant lines covered (94.7%)

542792.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
86.02
-0.84% crates/tsoracle-client/src/retry.rs

Coverage Regressions

Lines Coverage ∆ File
4
97.39
-1.04% crates/tsoracle-driver-paxos/src/state_machine.rs
2
84.37
-0.54% benchmarks/stress/src/topology/paxos.rs
Jobs
ID Job ID Ran Files Coverage
1 26349056193.1 24 May 2026 02:00AM UTC 74
94.7
GitHub Action Run
Source Files on build 26349056193
  • Tree
  • List 74
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26349056193
  • 9353e1b5 on github
  • Prev Build on main (#26348648998)
  • Next Build on main (#26349240286)
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