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

databendlabs / openraft / 19704339152
88%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2025 12:54PM UTC
Jobs 1
Files 222
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

26 Nov 2025 12:44PM UTC coverage: 92.499% (+0.2%) from 92.336%
19704339152

push

github

drmingdrmer
refactor: replace `has_payload` with `inflight_id` presence check

Simplify replication progress tracking by removing the redundant
`has_payload` boolean. The presence of `inflight_id` (Some vs None)
now indicates whether a response requires inflight state update.

`InflightId` identifies whether an AppendEntries RPC carries actual log
data that needs acknowledgment. Not all RPCs have a corresponding
inflight record on the leader. For example, when synchronizing the
committed index, the leader sends an AppendEntries RPC without log
payload - such RPCs have no `InflightId`. However, RPCs that replicate
actual log entries have a corresponding inflight record on the leader,
and these RPCs carry an `InflightId`. This distinction determines
whether a response should update the inflight state.

Changes:
- Remove `has_payload` field from `Notification::ReplicationProgress`
- Change `Inflight::ack()` and `Inflight::conflict()` to require matching `InflightId`
- Restructure `Data::Logs` to include `inflight_id` field
- Move `inflight_id` tracking into `ReplicationCore`
- Update `update_conflicting()` and `update_progress()` signatures

68 of 69 new or added lines in 11 files covered. (98.55%)

5 existing lines in 2 files now uncovered.

13762 of 14878 relevant lines covered (92.5%)

154237.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.33
0.0% openraft/src/progress/inflight/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
90.79
-2.63% openraft/src/core/tick.rs
3
90.77
-4.62% openraft/src/raft/raft_inner.rs
Jobs
ID Job ID Ran Files Coverage
1 19704339152.1 26 Nov 2025 12:54PM UTC 222
92.5
GitHub Action Run
Source Files on build 19704339152
  • Tree
  • List 222
  • Changed 17
  • Source Changed 14
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19704339152
  • 5aca222d on github
  • Prev Build on main (#19700226390)
  • Next Build on main (#19726658363)
  • 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