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

prisma-risk / tsoracle / 26349625509
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 02:29AM 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 02:24AM UTC coverage: 94.738% (-0.01%) from 94.749%
26349625509

push

github

web-flow
fix(client): bound the connect+RPC pair by one per-attempt deadline (#238) (#271)

`attempt` wrapped both the connect phase (`pool.client`) and the RPC phase
(`get_ts`) in `timeout(budget, ..)` with the *same* `budget`, so a single
`(connect, get_ts)` pair could take up to `2 * per_attempt_deadline`. That
contradicts the documented contract (the deadline applies to the pair) and
lets a slow-connecting endpoint overrun `overall_deadline` before
`max_attempts` is exhausted.

Anchor one `pair_deadline = Instant::now() + budget` before the connect and
give `get_ts` only `pair_deadline.saturating_duration_since(Instant::now())`
— the time the connect left behind (floored at zero, so a fully-consumed
budget yields an immediate RPC timeout rather than a fresh one). The
RPC-timeout error and trace now report the remaining share rather than the
full budget.

A new test drives `attempt` with an injected connector that sleeps for most
of the budget before returning a live channel, points it at a server whose
`get_ts` hangs, and asserts the whole pair completes within ~1x the
per-attempt deadline rather than ~2x.

50 of 56 new or added lines in 1 file covered. (89.29%)

6 existing lines in 2 files now uncovered.

10496 of 11079 relevant lines covered (94.74%)

500789.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
88.03
1.76% 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
73.54
-0.69% crates/tsoracle-paxos-toolkit/src/lifecycle/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26349625509.1 24 May 2026 02:29AM UTC 74
94.74
GitHub Action Run
Source Files on build 26349625509
  • Tree
  • List 74
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26349625509
  • 589f0f0e on github
  • Prev Build on main (#26349602163)
  • Next Build on main (#26350110025)
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