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

databendlabs / openraft / 24329976528
86%

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

13 Apr 2026 06:48AM UTC coverage: 86.328%. Remained the same
24329976528

push

github

drmingdrmer
refactor: remove dead code and simplify tests-turmoil

The `ClientWrite` and `StateQuery` RPC paths in `handle_rpc` were never
called — the fuzzer writes via `ClusterState::find_leader()` directly,
and state is read through `ClusterState::get_all_full_snapshots()`.
Removing them also eliminates the entire `client.rs` module.

The repeated `RPCError::Unreachable(Unreachable::new(&e))` pattern
(7 occurrences in `send_rpc`) is extracted into `to_unreachable()`.

`InvariantCheckResult.passed` was always equal to
`violations.is_empty()`, so callers now check that directly.

Changes:
- Delete `client.rs` and its dead `ClientWriteRequest`/`ClientWriteResponse`
- Extract `to_unreachable()` helper in `network.rs`
- Remove unused `target` field from `TurmoilConnection`
- Use `get_or_insert` in `membership_agent_loop` re-put logic

16189 of 18753 relevant lines covered (86.33%)

120566.4 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.02
0.0% openraft/src/core/raft_core.rs
1
83.33
0.0% openraft/src/metrics/serde_instant.rs
Jobs
ID Job ID Ran Files Coverage
1 24329976528.1 13 Apr 2026 07:00AM UTC 260
86.33
GitHub Action Run
Source Files on build 24329976528
  • Tree
  • List 260
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24329976528
  • 1ff9fcc0 on github
  • Prev Build on main (#24312391936)
  • Next Build on main (#24350907887)
  • 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