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

databendlabs / openraft / 27335072378
87%

Build:
DEFAULT BRANCH: main
Ran 11 Jun 2026 08:50AM UTC
Jobs 1
Files 262
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

11 Jun 2026 08:40AM UTC coverage: 86.457% (+0.01%) from 86.443%
27335072378

push

github

drmingdrmer
refactor: add return value to MembershipState::commit()

# Summary

`MembershipState::commit()` now reports the transition of the committed
membership config: it returns the committed log ids before and after the
update, or `None` if nothing changes, so a caller can detect exactly when
a membership config becomes committed.

# Details

- The update happens only on an actual transition: if the effective
  membership is already committed, `commit()` is a no-op and returns
  `None`. Previously it re-assigned `self.committed` whenever
  `committed_log_id >= effective.log_id()`, including the equal case
  where the assignment had no effect.

- The doc comment is rewritten in terms of the `MembershipState` storage
  model: committing replaces `self.committed`(the membership state
  machine) with `self.effective`(the last membership log).

33 of 33 new or added lines in 2 files covered. (100.0%)

4 existing lines in 2 files now uncovered.

16298 of 18851 relevant lines covered (86.46%)

145738.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.96
-0.56% openraft/src/raft/mod.rs
2
96.62
-0.97% openraft/src/replication/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 27335072378.1 11 Jun 2026 08:50AM UTC 262
86.46
GitHub Action Run
Source Files on build 27335072378
  • Tree
  • List 262
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27335072378
  • f8d54c97 on github
  • Prev Build on main (#27218729339)
  • Next Build on main (#27353408205)
  • 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