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

databendlabs / openraft / 22949063797 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 11 Mar 2026 10:56AM UTC
Files 258
Run time 10s
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.1

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>(...)`.

15932 of 18190 relevant lines covered (87.59%)

145874.74 hits per line

Source Files on job 22949063797.1
  • Tree
  • List 258
  • Changed 18
  • Source Changed 15
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22949063797
  • d86454eb on github
  • Prev Job for on main (#22936923613.1)
  • Next Job for on main (#23239123615.1)
  • 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