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

databendlabs / openraft / 24350907887
86%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2026 03:11PM UTC
Jobs 1
Files 260
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

13 Apr 2026 03:08PM UTC coverage: 86.483% (+0.2%) from 86.328%
24350907887

push

github

drmingdrmer
fix: log-stage panics and empty follower histograms

Two invariants of the log-stage path only held on the leader:

1. `RangeMap::record` required strictly monotonic right boundaries.
   A follower that truncated and re-appended an entry at the same
   index under a new term panicked at startup.

2. `compute_histograms` walks the intersection of all six stages, but
   followers never record `Proposed`/`Received` — those only happen
   on the proposing leader — so the intersection was empty and every
   follower's log-stage histogram stayed empty.

Changes:

- `RangeMap::record`: drop trailing entries with boundary `>= right`
  before pushing; tail-popped entries are not evictions.
- `LogStages::record_stage`: back-fill earlier stages behind `right`
  with the current `value` (zero step = "didn't happen here").

- Fix: #1710

143 of 143 new or added lines in 3 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

16335 of 18888 relevant lines covered (86.48%)

118526.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.02
0.0% openraft/src/core/raft_core.rs
Jobs
ID Job ID Ran Files Coverage
1 24350907887.1 13 Apr 2026 03:11PM UTC 260
86.48
GitHub Action Run
Source Files on build 24350907887
  • Tree
  • List 260
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24350907887
  • 2b636356 on github
  • Prev Build on main (#24329976528)
  • Next Build on main (#24352140252)
  • 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