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

databendlabs / openraft / 28737095728
87%

Build:
DEFAULT BRANCH: main
Ran 05 Jul 2026 10:06AM UTC
Jobs 1
Files 264
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 Jul 2026 09:58AM UTC coverage: 87.215% (+0.01%) from 87.202%
28737095728

push

github

drmingdrmer
refactor: reshape VecProgress around entries

# Summary

Refactor VecProgress to store typed entries, separate progress updates from
application data updates, and make log-reversion resets preserve tracker
ordering without withdrawing quorum-accepted progress.

# Details

VecProgress now works over a VecProgressEntry plus a QuorumSet. Entry types own
their ID and progress value, while optional entry data is exposed only through
VecProgressEntryData for callers that need data-only mutation.

Replication progress uses explicit update paths: monotonic updates go through
entry updates, data-only changes cannot touch progress, and allowed log
reversion uses a reset path that moves lowered voter entries down while keeping
the recorded quorum-accepted value monotonic.

The progress tests now cover random quorum upgrades, resets, edge cases, stats,
and a custom quorum set. The quorum and mutable-entry invariants are documented
so future changes preserve the assumptions used by the optimized prefix scan.

428 of 434 new or added lines in 14 files covered. (98.62%)

13 existing lines in 6 files now uncovered.

17415 of 19968 relevant lines covered (87.21%)

157215.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
83.94
0.16% openraft/src/progress/entry/mod.rs
3
92.31
-7.69% openraft/src/progress/id_val.rs

Coverage Regressions

Lines Coverage ∆ File
3
81.48
-11.11% openraft/src/core/sm/handle.rs
3
95.4
-1.26% openraft/src/replication/mod.rs
3
82.11
-3.16% openraft/src/replication/snapshot_transmitter.rs
2
95.92
-1.36% openraft/src/replication/stream_state.rs
1
83.33
0.0% openraft/src/metrics/serde_instant.rs
1
83.94
0.16% openraft/src/progress/entry/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 28737095728.1 05 Jul 2026 10:06AM UTC 264
87.21
GitHub Action Run
Source Files on build 28737095728
  • Tree
  • List 264
  • Changed 21
  • Source Changed 15
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28737095728
  • bbc1a951 on github
  • Prev Build on main (#28695859339)
  • Next Build on main (#28744024451)
  • 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