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

databendlabs / openraft / 19954335022
88%

Build:
DEFAULT BRANCH: main
Ran 05 Dec 2025 06:09AM UTC
Jobs 1
Files 230
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

05 Dec 2025 05:58AM UTC coverage: 92.675% (-0.09%) from 92.768%
19954335022

push

github

drmingdrmer
refactor: use watch channel for communication between core and replication task

Replace unbounded MPSC channel with watch channel for broadcasting
committed log id to replication tasks. This simplifies the replication
event handling by using an EventWatcher that monitors both entries and
committed updates.

Changes:
- Add `EventWatcher` to receive events from entries and committed watch channels
- Rename `Replicate` to `Data` for log entries replication data
- Add `committed_tx`/`committed_rx` watch channel pair in `RaftCore`
- Use `send_if_greater()` for committed log id updates
- Remove per-replication MPSC sender in favor of shared watch channel

55 of 55 new or added lines in 7 files covered. (100.0%)

23 existing lines in 5 files now uncovered.

14209 of 15332 relevant lines covered (92.68%)

153672.0 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
79.17
-8.33% openraft/src/core/sm/handle.rs
3
0.0
-100.0% openraft/src/network/rpc_type.rs
3
83.33
-3.13% openraft/src/replication/snapshot_transmitter.rs
6
81.25
-12.63% openraft/src/replication/request.rs
9
90.44
-1.14% openraft/src/core/raft_core.rs
Jobs
ID Job ID Ran Files Coverage
1 19954335022.1 05 Dec 2025 06:09AM UTC 230
92.68
GitHub Action Run
Source Files on build 19954335022
  • Tree
  • List 230
  • Changed 13
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19954335022
  • 3602b5fe on github
  • Prev Build on main (#19951606878)
  • Next Build on main (#19964201757)
  • 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