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

prisma-risk / tsoracle / 26367973536
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 05:33PM 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 05:28PM UTC coverage: 94.8% (+0.02%) from 94.777%
26367973536

push

github

web-flow
fix(server): surface tonic drain errors when the watch arm fires (#293)

serve_with_shutdown and serve_with_listener discarded tonic's graceful-drain result via `let _ = serve.await` when the leader-watch task terminated first. A drain failure (port stolen, resource exhaustion) was hidden behind a clean-shutdown report whenever the watch itself ended cleanly.

Add combine_watch_and_drain, which prefers the watch error when both fail (poisoned serving state was already published, so it is the root cause) and surfaces a drain error only when the watch outcome is otherwise Ok. Both serve arms route through it. The helper is generic over the drain error type so the precedence logic is unit-testable without fabricating a tonic::transport::Error (which has no public constructor): production passes the real transport error, tests pass a synthetic ServerError via the reflexive From impl.

Closes #243

53 of 55 new or added lines in 1 file covered. (96.36%)

11047 of 11653 relevant lines covered (94.8%)

432067.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.88
0.59% crates/tsoracle-server/src/server.rs
Jobs
ID Job ID Ran Files Coverage
1 26367973536.1 24 May 2026 05:33PM UTC 74
94.8
GitHub Action Run
Source Files on build 26367973536
  • Tree
  • List 74
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26367973536
  • 412c07c6 on github
  • Prev Build on main (#26367782141)
  • Next Build on main (#26368085744)
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