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

databendlabs / openraft / 20568149451
88%

Build:
DEFAULT BRANCH: main
Ran 29 Dec 2025 08:16AM UTC
Jobs 1
Files 255
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

29 Dec 2025 08:06AM UTC coverage: 87.925% (-0.04%) from 87.965%
20568149451

push

github

drmingdrmer
refactor: migrate network-v2 and multi-raft-kv examples to use sm-mem

Update `raft-kv-memstore-network-v2` and `multi-raft-kv` to use the shared
`sm-mem` crate instead of duplicating state machine implementations. This
required changing `SnapshotData` from `StateMachineData` to `Cursor<Vec<u8>>`
to enable the generic sm-mem implementation.

Changes:
- Add `sm-mem` dependency to both example crates
- Change `SnapshotData` type to `Cursor<Vec<u8>>` for sm-mem compatibility
- Use `sm_mem::StateMachineStore<TypeConfig>` instead of local implementations
- Remove `Arc` wrapping since sm-mem already contains `Arc` internally
- Update network layer to extract/wrap `Vec<u8>` for snapshot serialization
- Update README to document both examples now use `[sm-mem]`

15583 of 17723 relevant lines covered (87.93%)

159201.16 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.33
0.0% openraft/src/metrics/serde_instant.rs
2
91.67
-8.33% openraft/src/core/sm/handle.rs
2
93.33
-1.67% openraft/src/replication/stream_state.rs
3
95.65
-3.26% openraft/src/core/heartbeat/worker.rs
Jobs
ID Job ID Ran Files Coverage
1 20568149451.1 29 Dec 2025 08:16AM UTC 255
87.93
GitHub Action Run
Source Files on build 20568149451
  • Tree
  • List 255
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20568149451
  • 13f19dcd on github
  • Prev Build on main (#20564046336)
  • Next Build on main (#20588119080)
  • 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