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

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

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 07:07AM UTC
Files 264
Run time 6s
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.1

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.

16312 of 18842 relevant lines covered (86.57%)

118842.66 hits per line

Source Files on job 25205936683.1
  • Tree
  • List 264
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25205936683
  • 3f08dc1f on github
  • Prev Job for on main (#25174421022.1)
  • Next Job for on main (#25206429598.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