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

prisma-risk / tsoracle / 26415651253
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 07:12PM 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 07:02PM UTC coverage: 96.388% (-0.02%) from 96.411%
26415651253

push

github

web-flow
feat(client): count waiters abandoned before delivery (#437)

The driver delivered every waiter's result with `let _ = respond.send(...)`.
The send fails only when the caller dropped its `Driver::request` future
(a client-side timeout or cancellation) before the result arrived, so
swallowing the outcome is correct — but it was unmeasured, leaving a
cancellation storm completely invisible.

Route all four delivery sites (success, protocol-violation fanout, error
fanout, and the synchronous InvalidCount rejection) through a single
`reply_to_waiter` helper that increments a new
`tsoracle.client.driver.abandoned_waiters.total` counter whenever the send
fails. Centralizing delivery also makes it structurally impossible to add a
new send site that forgets the metric.

The counter helper mirrors the existing driver gauges: feature-gated behind
`metrics`, a no-op otherwise, and cheap on the hot path because the counter
is only touched on the cold cancellation branch.

Add deterministic unit tests that drive the synchronous helper directly
against a dropped vs. live receiver (the spawned `driver_task` can't be
observed by the thread-local test recorder), document the signal in
operations.md, and note in the end-to-end metrics catalog why this one signal
is covered by unit tests rather than the timing-dependent end-to-end harness.

44 of 48 new or added lines in 1 file covered. (91.67%)

10568 of 10964 relevant lines covered (96.39%)

450941.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.96
-0.44% crates/tsoracle-client/src/driver.rs
Jobs
ID Job ID Ran Files Coverage
1 26415651253.1 25 May 2026 07:12PM UTC 66
96.39
GitHub Action Run
Source Files on build 26415651253
  • Tree
  • List 66
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26415651253
  • 5a7d413e on github
  • Prev Build on main (#26415574492)
  • Next Build on main (#26415728628)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc