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

prisma-risk / tsoracle / 26246147346
95%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 06:48PM UTC
Jobs 1
Files 46
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

21 May 2026 06:45PM UTC coverage: 95.274%. Remained the same
26246147346

push

github

web-flow
refactor(test): introduce shared bootstrap helper for integration tests (#39)

* refactor(test): introduce shared bootstrap helper for integration tests

Adds tsoracle_server::test_support behind a new test-support feature
(boot_server, boot_router, wait_until*, wait_for_grpc_handshake) and
migrates 16 TcpListener::bind sites across the tsoracle-server and
tsoracle-client integration tests to use it. Removes ~420 lines of
duplicated bind/spawn/wait boilerplate; leader_watch.rs stays on
test-fakes since it has no bind site, and tsoracle-bin/tests/smoke.rs
keeps its subprocess port-reservation pattern.

Closes #11
Closes #23

* test(coverage): trim defensive shutdown branches and exclude test_support

Coverage on #39 flagged 16 uncovered lines in the new test_support module:
10 in defensive Err-arms of BootedServer::shutdown and BootedRouter::shutdown
(panic-resume forwarding for a scenario no current test reaches), and 6 in
wait_for_grpc_handshake's deadline-expired retry path (a legitimate but
unexercised rare-race recovery).

Collapses each shutdown to `.expect(...)` and adds the module to COV_IGNORE
following the existing precedent for openraft-toolkit lifecycle and stress
topology stubs. test_support is gated by `cfg(any(test, feature =
"test-support"))`, never shipped in the published library, and lives in
src/ only because Cargo does not let crates share `tests/common/mod.rs`.

Restores diff coverage to parity with main.

5302 of 5565 relevant lines covered (95.27%)

98657.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26246147346.1 21 May 2026 06:48PM UTC 46
95.27
GitHub Action Run
Source Files on build 26246147346
  • Tree
  • List 46
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26246147346
  • 89c5ae20 on github
  • Prev Build on main (#26245990416)
  • Next Build on main (#26247481216)
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