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

databendlabs / openraft / 25205936683
87%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 07:07AM UTC
Jobs 1
Files 264
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

01 May 2026 07:03AM UTC coverage: 86.573% (+0.04%) from 86.53%
25205936683

push

github

drmingdrmer
refactor: config: split clap parsing and RuntimeConfig into separate files

`config.rs` mixed three concerns: the `Config` struct itself, the
`RuntimeConfig` runtime-mutable subset, and clap-driven CLI parsing
(`parse_bytes_with_unit`, `parse_snapshot_policy`, `Config::build`).
Splitting them per the project's "one main type per file" rule isolates
the clap surface as a single feature-gated module rather than scattering
`#[cfg(feature = "clap")]` gates through the file, and moves
`RuntimeConfig` to its own file.

The `crate::config::RuntimeConfig` re-export is preserved via `mod.rs`,
so the three call sites (`raft_core.rs`, `raft_inner.rs`,
`raft/mod.rs`) need no edits.

33 of 43 new or added lines in 2 files covered. (76.74%)

1 existing line in 1 file now uncovered.

16312 of 18842 relevant lines covered (86.57%)

118842.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
72.97
openraft/src/config/parser.rs

Coverage Regressions

Lines Coverage ∆ File
1
83.33
0.0% openraft/src/metrics/serde_instant.rs
Jobs
ID Job ID Ran Files Coverage
1 25205936683.1 01 May 2026 07:07AM UTC 264
86.57
GitHub Action Run
Source Files on build 25205936683
  • Tree
  • List 264
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25205936683
  • 3f08dc1f on github
  • Prev Build on main (#25174421022)
  • Next Build on main (#25206429598)
  • 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