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

databendlabs / openraft / 18273107676
88%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2025 07:23AM UTC
Jobs 1
Files 194
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

06 Oct 2025 03:42AM UTC coverage: 91.019% (-0.07%) from 91.092%
18273107676

push

github

drmingdrmer
feat: add `RaftStateMachine::try_create_snapshot_builder`

Add `try_create_snapshot_builder(force: bool) -> Option<Builder>` to
allow applications to defer snapshot creation when OpenRaft requests it.
This enables implementations to choose optimal timing for snapshot
building based on I/O load and other factors.

When `force=false`, returning `None` defers the snapshot creation.
When `force=true`, a builder must be returned.

The default implementation calls `get_snapshot_builder()` for backward
compatibility. `get_snapshot_builder` is marked for deprecation.

59 of 61 new or added lines in 9 files covered. (96.72%)

11 existing lines in 3 files now uncovered.

11250 of 12360 relevant lines covered (91.02%)

104091.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
openraft/src/storage/v2/raft_state_machine.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.09
0.0% openraft/src/metrics/serde_instant.rs
1
80.8
-0.4% openraft/src/replication/mod.rs
9
85.92
-12.68% openraft/src/core/heartbeat/worker.rs
Jobs
ID Job ID Ran Files Coverage
1 18273107676.1 06 Oct 2025 07:23AM UTC 194
91.02
GitHub Action Run
Source Files on build 18273107676
  • Tree
  • List 194
  • Changed 12
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18273107676
  • e7e0a3f7 on github
  • Prev Build on main (#18253185005)
  • Next Build on main (#18315928315)
  • 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