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

databendlabs / openraft
88%

Build:
DEFAULT BRANCH: main
Repo Added 15 Oct 2024 03:30AM UTC
Token P5ILmy9rYJlcs7uJCddenHVVu1Bywo1mI regen
Build 390 Last
Files 258
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main
  • release-0.10
  • release-0.9

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

Relevant lines Covered
Build:
Build:
18190 RELEVANT LINES 15932 COVERED LINES
145874.74 HITS PER LINE
Source Files on main
  • Tree
  • List 258
  • Changed 18
  • Source Changed 15
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22949063797 main 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: RaftTy... push 11 Mar 2026 10:56AM UTC drmingdrmer github
87.59
22936923613 main chore: bump version to 0.10.0-alpha.16 for pre-release push 11 Mar 2026 04:38AM UTC drmingdrmer github
87.57
22909938482 main change: in 0.10.0: decouple `MembershipState`, `ChangeMembershipError`, and `InProgress` from `RaftTypeConfig` Replace the monolithic `C: RaftTypeConfig` parameter with only the specific types each definition actually needs, continuing the type-d... push 10 Mar 2026 03:24PM UTC drmingdrmer github
87.55
22907664414 main change: in 0.10.0: decouple `EffectiveMembership` from `RaftTypeConfig` Replace the monolithic `C: RaftTypeConfig` parameter with only the specific types the definition actually needs. `EffectiveMembership<C>` becomes `EffectiveMembership<CLID, ... push 10 Mar 2026 02:35PM UTC drmingdrmer github
87.57
22906186010 main change: in 0.10.0: decouple `StoredMembership`, `SnapshotSignature`, `SnapshotMeta`, `Snapshot` from `RaftTypeConfig` Replace `C: RaftTypeConfig` with the specific type parameters each struct actually needs, continuing the type decoupling effort.... push 10 Mar 2026 02:02PM UTC drmingdrmer github
87.55
22899709416 main change: in 0.10.0: decouple entry, membership, and log types from `RaftTypeConfig` Replace `C: RaftTypeConfig` with the specific type parameters each type actually needs, breaking circular type dependencies and making these types usable without a... push 10 Mar 2026 11:16AM UTC drmingdrmer github
87.58
22864138805 main change: in 0.10.0: `LogId<C>` to `LogId<CLID>` and `RaftLogId<C>` to `RaftLogId` with associated type Decouple `LogId` and `RaftLogId` from `RaftTypeConfig` to break circular type dependencies, continuing the type-level decoupling effort. `LogId`... push 09 Mar 2026 04:44PM UTC drmingdrmer github
87.58
22860163403 main change: in 0.10.0: convert `RaftVote` from `RaftVote<C>` to associated type with `type LeaderId` Decouple `RaftVote` from `RaftTypeConfig` by replacing the `C: RaftTypeConfig` type parameter with an associated type `LeaderId: RaftLeaderId`. This ... push 09 Mar 2026 03:14PM UTC drmingdrmer github
87.51
22843283239 main chore: merge CLAUDE.md guidelines from openraft repo Add code quality checks, Makefile targets, git remotes, code organization, and project structure sections from the main openraft repository. push 09 Mar 2026 07:44AM UTC drmingdrmer github
87.6
22842783777 main change: in 0.10.0: convert `RaftLeaderId` generic params `<Term, NID>` to associated types Since Term and NID are always determined by the implementing type, they belong as associated types rather than generic parameters. This simplifies trait bo... push 09 Mar 2026 07:27AM UTC drmingdrmer github
87.62
See All Builds (390)

Badge your Repo: openraft

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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