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

databendlabs / openraft / 20459894436
88%

Build:
DEFAULT BRANCH: main
Ran 23 Dec 2025 11:50AM UTC
Jobs 1
Files 250
Run time 232min
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

23 Dec 2025 10:51AM UTC coverage: 91.975% (-0.07%) from 92.045%
20459894436

push

github

drmingdrmer
refactor: extract async runtime traits into standalone `openraft-rt` crate

Move async runtime abstraction traits into a new `openraft-rt` crate to enable
alternative runtime implementations (compio, monoio) to depend on trait
definitions without pulling in the full openraft crate.

Changes:
- Create `rt/` directory with new `openraft-rt` crate containing `AsyncRuntime`,
  `Instant`, `Mpsc`, `Mutex`, `Oneshot`, `Watch` traits
- Move `OptionalSend`/`OptionalSync` to `openraft-rt` with `single-threaded` feature
- Add wrapper types (`TokioMpscSender`, `TokioWatchReceiver`, etc.) in openraft
  to satisfy orphan rules when implementing traits for tokio types
- Update `openraft` to depend on and re-export all types from `openraft-rt`
- Update `rt-compio` and `rt-monoio` to use `openraft-rt` directly
- Add public API test to verify all original paths remain accessible

28 of 31 new or added lines in 4 files covered. (90.32%)

10 existing lines in 3 files now uncovered.

15794 of 17172 relevant lines covered (91.98%)

161835.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
89.29
-10.71% openraft/src/impls/tokio_runtime/mpsc.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.86
-0.9% openraft/src/replication/mod.rs
3
82.8
-3.23% openraft/src/replication/snapshot_transmitter.rs
5
79.17
-20.83% openraft/src/core/sm/handle.rs
Jobs
ID Job ID Ran Files Coverage
1 20459894436.1 23 Dec 2025 11:50AM UTC 250
91.98
GitHub Action Run
Source Files on build 20459894436
  • Tree
  • List 250
  • Changed 12
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20459894436
  • 3363a02c on github
  • Prev Build on main (#20458016842)
  • Next Build on main (#20463733463)
  • Delete
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