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

databendlabs / openraft / 20407164438
88%

Build:
DEFAULT BRANCH: main
Ran 21 Dec 2025 08:32AM UTC
Jobs 1
Files 243
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

21 Dec 2025 08:22AM UTC coverage: 92.114% (+0.07%) from 92.049%
20407164438

push

github

drmingdrmer
refactor: add batch write support with `Batch` type for `RaftMsg::ClientWrite`

Prepare for batch write operations by using `Batch<T>` to store multiple
entries and responders in a single message. This avoids heap allocation
for single-entry writes while supporting efficient batching.

Changes:
- Update `RaftMsg::ClientWrite` to use `Batch<C::D>` for `app_data` and `Batch<Option<CoreResponder<C>>>` for `responders`
- Rename `write_entry()` to `write_entries()` accepting iterators for payloads and responders
- Change `leader_append_entries()` to return `Option<LeaderLogIds<C>>` for caller to track assigned log IDs
- Add tests verifying `leader_append_entries()` return values
- Export `Batch` from `base` module for internal use

57 of 57 new or added lines in 5 files covered. (100.0%)

44 existing lines in 1 file now uncovered.

15663 of 17004 relevant lines covered (92.11%)

160496.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
44
91.41
0.59% openraft/src/core/raft_core.rs
Jobs
ID Job ID Ran Files Coverage
1 20407164438.1 21 Dec 2025 08:32AM UTC 243
92.11
GitHub Action Run
Source Files on build 20407164438
  • Tree
  • List 243
  • Changed 8
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20407164438
  • f9f8c2f6 on github
  • Prev Build on main (#20405217801)
  • Next Build on main (#20413023863)
  • 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