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

prisma-risk / tsoracle / 26299074447
95%

Build:
DEFAULT BRANCH: main
Ran 22 May 2026 04:27PM UTC
Jobs 1
Files 52
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

22 May 2026 04:16PM UTC coverage: 96.272% (-0.005%) from 96.277%
26299074447

push

github

web-flow
refactor(openraft-toolkit): use parking_lot::RwLock in PartitionController (#123)

std::sync::RwLock poisons whenever a thread panics while holding a
guard. Inside test_fakes/partition.rs that turned every subsequent
reachability check into a confusing PoisonError unwrap panic at an
unrelated line, masking the original failure propagated from
MemNetwork receiver tasks and making partition tests harder to debug.

parking_lot::RwLock does not poison, so the controller stays usable
after an unrelated panic and the real cause stays in the test output.

parking_lot is already a workspace dependency; expose it to external
test-fakes consumers via an optional dep gated by the feature, mirroring
the existing rocksdb-log-store pattern so the dep stays test-only.

Adds a regression test that fires a panic from inside HashSet::insert
(via a NodeId whose Hash impl panics on a sentinel value), proves the
controller stays usable, and would re-panic with PoisonError on
std::sync::RwLock.

Closes #102.

22 of 23 new or added lines in 1 file covered. (95.65%)

6843 of 7108 relevant lines covered (96.27%)

72801.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.89
-1.11% crates/tsoracle-openraft-toolkit/src/test_fakes/partition.rs
Jobs
ID Job ID Ran Files Coverage
1 26299074447.1 22 May 2026 04:27PM UTC 52
96.27
GitHub Action Run
Source Files on build 26299074447
  • Tree
  • List 52
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26299074447
  • ba0f96b4 on github
  • Prev Build on main (#26298934228)
  • Next Build on main (#26299467786)
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