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

databendlabs / openraft / 24542520127
91%
main: 87%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 17 Apr 2026 01:22AM UTC
Jobs 1
Files 150
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

17 Apr 2026 12:44AM UTC coverage: 90.438% (-0.1%) from 90.541%
24542520127

push

github

drmingdrmer
Chore: fix CI lint/fmt/doc errors on newer nightly toolchain

Bump rust-toolchain to nightly-2026-04-11 to match what CI pulls as
the latest nightly, then fix the resulting clippy, rustfmt, and rustdoc
errors so the base branch is buildable before adding further semantic
changes on top.

Changes grouped by kind:

- Toolchain bump to nightly-2026-04-11 to align local and CI behavior.

- cargo clippy --fix auto-fixes: add explicit '_ in return types for
  elided-lifetime lint, remove unused mut bindings, drop unused imports.
  Affects display helpers, engine handlers, progress, raft state,
  storage/adapter, testing/suite.

- allow(clippy::large_enum_variant) on Replicate, Data, RaftError,
  Fatal, CoreState. Boxing the large variant would add indirection on
  every replication/error path. The Err-variant complaints in
  memstore/rocksstore/sledstore/test fixtures are silenced with
  allow(clippy::result_large_err) at file/crate scope for the same
  reason.

- clippy::doc_overindented_list_items: trim leading indent in
  state-machine.md and snapshot_replication.md list continuations from
  3-4 spaces to 2.

- clippy::unnecessary_parens: drop parens around closure bodies in
  vote/vote.rs tests.

- unused_features: add cfg_attr(..., allow(unused_features)) next to
  existing feature gates in openraft/src/lib.rs and each test main.rs
  so feature(test) and feature(error_generic_member_access) stop being
  flagged.

- rustdoc broken intra-doc links: Adapter typo, docs::data::Vote path,
  non-existent network::v1 module, wrong trait name for append_entries,
  method-on-trait path for receive_snapshot, private-item links moved
  under the "private items" comment block, drop unused
  RaftLogStorage::SnapshotBuilder alias that rustdoc refuses to resolve.

- rustfmt: reorder use syn::__private::TokenStream2; in
  macros/src/expand.rs to match newer nightly rustfmt ordering.

30 of 31 new or added lines in 14 files covered. (96.77%)

11 existing lines in 3 files now uncovered.

9676 of 10699 relevant lines covered (90.44%)

7852.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.18
0.0% openraft/src/display_ext/display_slice.rs

Coverage Regressions

Lines Coverage ∆ File
7
54.8
-3.95% openraft/src/error.rs
2
91.14
-2.53% openraft/src/core/tick.rs
2
55.56
-5.56% openraft/src/error/decompose.rs
Jobs
ID Job ID Ran Files Coverage
1 24542520127.1 17 Apr 2026 01:22AM UTC 150
90.44
GitHub Action Run
Source Files on build 24542520127
  • Tree
  • List 150
  • Changed 25
  • Source Changed 24
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24542520127
  • fda35b9c on github
  • Prev Build on release-0.9 (#24141285464)
  • Next Build on release-0.9 (#24551941694)
  • 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