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

databendlabs / openraft / 27152208211
87%

Build:
DEFAULT BRANCH: main
Ran 08 Jun 2026 04:37PM UTC
Jobs 1
Files 265
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

08 Jun 2026 04:26PM UTC coverage: 86.639% (+0.008%) from 86.631%
27152208211

push

github

drmingdrmer
refactor: quorum: remove AsJoint trait

# Summary

`AsJoint` was pure sugar for viewing a `Vec<QS>` as a borrowed joint quorum
set: `vec.as_joint()` desugared to `Joint::new(&vec[..])`. It is removed. The
production callers that used it only to enumerate a joint config's voter ids
now compute that id-union directly, and the remaining callers build `Joint`
directly. The trait is `pub(crate)`, so there is no public API or behavior
change.

# Details

- In `Membership`, the `as_joint().ids()` calls backing voter-id enumeration
  now collect the deduplicated id-union straight from the configs. This drops
  a throwaway `Joint` allocation per call and leaves the `QuorumSet` import
  there unused, so it is removed alongside `AsJoint`.
- `Joint` and its quorum-set behavior are untouched; the trait only added a
  `Vec`-receiver shortcut, so the test and bench call sites now construct the
  same `Joint` via `Joint::new`.

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

3 existing lines in 2 files now uncovered.

16483 of 19025 relevant lines covered (86.64%)

144747.08 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
93.28
-1.68% openraft/src/replication/stream_state.rs
1
83.33
0.0% openraft/src/metrics/serde_instant.rs
Jobs
ID Job ID Ran Files Coverage
1 27152208211.1 08 Jun 2026 04:37PM UTC 265
86.64
GitHub Action Run
Source Files on build 27152208211
  • Tree
  • List 265
  • Changed 9
  • Source Changed 5
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27152208211
  • 44c25de0 on github
  • Prev Build on main (#27149762323)
  • Next Build on main (#27189898500)
  • 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