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

prisma-risk / tsoracle / 26350927533
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 03:40AM 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 03:35AM UTC coverage: 94.772% (-0.1%) from 94.879%
26350927533

push

github

web-flow
test(server): drive serve_shutdown tests through serve_with_listener (#248) (#282)

The three serve_shutdown tests bound 127.0.0.1:0, captured the OS-picked
port, dropped the listener to free it, and relied on tonic rebinding the
same port via serve_with_shutdown(addr)/serve(addr). That bind/drop/rebind
gap is a TOCTOU: on a busy CI box another process can claim the port before
tonic rebinds, flaking the test, and it exercises the inherently racier
addr-binding API rather than the deterministic serve_with_listener.

Keep each listener bound and hand it to serve_with_listener instead. None
of the three tests connect a client, so local_addr() only ever fed the
rebind and is no longer needed. The watch-lifecycle behaviours under test
(Ok on user shutdown, WatchStreamClosed on stream EOF, WatchPanic on panic)
are unchanged; test 2 uses a never-resolving shutdown, matching what
Server::serve builds internally.

Follow-up: serve_with_shutdown's watch-select block is duplicated from
serve_with_listener and now has no integration-test caller; collapsing
serve_with_shutdown to bind a TcpListener and delegate would restore that
coverage and remove the duplication.

10623 of 11209 relevant lines covered (94.77%)

560609.55 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
96.44
-3.16% crates/tsoracle-server/src/server.rs
4
73.54
-1.37% crates/tsoracle-paxos-toolkit/src/lifecycle/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26350927533.1 24 May 2026 03:40AM UTC 74
94.77
GitHub Action Run
Source Files on build 26350927533
  • Tree
  • List 74
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26350927533
  • eb0cf289 on github
  • Prev Build on main (#26350876198)
  • Next Build on main (#26351079365)
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