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

databendlabs / openraft / 19671821891
88%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2025 01:55PM UTC
Jobs 1
Files 221
Run time 2min
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

25 Nov 2025 01:43PM UTC coverage: 92.231% (+0.07%) from 92.162%
19671821891

push

github

drmingdrmer
refactor: add `ReplicationId` to track replication request-response correlation

Introduce `ReplicationId` to uniquely identify each replication request, enabling
accurate matching of replication responses to their corresponding requests.
Previously, stale responses could incorrectly update progress state.

Changes:
- Add `ReplicationId` to `Inflight::Logs` and `Inflight::Snapshot` variants
- Add `replication_id` field to `Notification::ReplicationProgress`
- Add `ReplicateSnapshot` command separate from `Replicate` for log entries
- Add `SnapshotTransmit` and `SnapshotTransmitHandle` for snapshot transmission management
- Add `ReplicationTaskState` to hold common state for replication tasks
- Remove `callbacks.rs` in favor of direct notification
- Update `update_matching()` and `update_conflicting()` to validate `ReplicationId`

403 of 437 new or added lines in 22 files covered. (92.22%)

11 existing lines in 3 files now uncovered.

13261 of 14378 relevant lines covered (92.23%)

160407.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.21
-0.08% openraft/src/engine/command.rs
1
84.69
0.32% openraft/src/progress/entry/mod.rs
2
87.77
-0.76% openraft/src/replication/mod.rs
3
66.67
openraft/src/progress/inflight_id.rs
5
90.63
-7.68% openraft/src/engine/handler/leader_handler/mod.rs
9
83.33
-6.46% openraft/src/progress/inflight/mod.rs
13
86.73
openraft/src/replication/snapshot_transmitter.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.33
-6.46% openraft/src/progress/inflight/mod.rs
3
0.0
-100.0% openraft/src/network/rpc_type.rs
7
87.77
-0.76% openraft/src/replication/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 19671821891.1 25 Nov 2025 01:55PM UTC 221
92.23
GitHub Action Run
Source Files on build 19671821891
  • Tree
  • List 221
  • Changed 24
  • Source Changed 21
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19671821891
  • e2284b57 on github
  • Prev Build on main (#19612983972)
  • Next Build on main (#19694428923)
  • 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