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

databendlabs / openraft / 22949063797
88%

Build:
DEFAULT BRANCH: main
Ran 11 Mar 2026 10:56AM UTC
Jobs 1
Files 258
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 Mar 2026 10:53AM UTC coverage: 87.587% (+0.02%) from 87.569%
22949063797

push

github

drmingdrmer
change: in 0.10.0: `Entry<C>` to `Entry<CLID, D, NID, N>` to decouple from `RaftTypeConfig`

Refactor `Entry` to take individual type parameters (`CLID: RaftCommittedLeaderId`,
`D: AppData`, `NID: NodeId`, `N: Node`) instead of a single `C: RaftTypeConfig`,
continuing the type-decoupling effort to break circular type dependencies.

The `declare_raft_types!` macro default for `Entry` now expands to the
fully-qualified form. A `DefaultEntryOf<C>` alias is added for the common
concrete instantiation.

Changes:
- Add `DefaultEntryOf<C>` type alias for `Entry<CommittedLeaderIdOf<C>, DOf<C>, NodeIdOf<C>, NodeOf<C>>`
- Update `declare_raft_types!` default Entry to expanded generic form
- Replace `Entry<TypeConfig>` with `EntryOf<TypeConfig>` in memstore crates

Upgrade tip:

If you use `Entry<C>` directly, switch to one of:
- `EntryOf<C>` (alias for `C::Entry`, the associated type)
- `DefaultEntryOf<C>` (alias for the concrete `Entry` struct with types from C)

Before:
    use openraft::Entry;
    type MyEntry = Entry<MyConfig>;

After:
    use openraft::alias::EntryOf;       // for C::Entry
    use openraft::alias::DefaultEntryOf; // for concrete Entry struct
    type MyEntry = EntryOf<MyConfig>;

If you construct entries with `blank_ent()` or `membership_ent()`,
add turbofish: `blank_ent::<MyConfig>(...)`.

58 of 60 new or added lines in 10 files covered. (96.67%)

5 existing lines in 2 files now uncovered.

15932 of 18190 relevant lines covered (87.59%)

145874.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
80.0
0.0% openraft/src/entry/entry.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
81.48
-7.41% openraft/src/core/sm/handle.rs
3
82.8
-3.23% openraft/src/replication/snapshot_transmitter.rs
Jobs
ID Job ID Ran Files Coverage
1 22949063797.1 11 Mar 2026 10:56AM UTC 258
87.59
GitHub Action Run
Source Files on build 22949063797
  • Tree
  • List 258
  • Changed 18
  • Source Changed 15
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22949063797
  • d86454eb on github
  • Prev Build on main (#22936923613)
  • 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