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

databendlabs / openraft
88%

Build:
DEFAULT BRANCH: main
Repo Added 15 Oct 2024 03:30AM UTC
Token P5ILmy9rYJlcs7uJCddenHVVu1Bywo1mI regen
Build 363 Last
Files 258
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • release-0.10
  • release-0.9

05 Jan 2026 03:04AM UTC coverage: 87.582% (-0.05%) from 87.632%
20703918341

push

github

drmingdrmer
test: add truncate before append in log test to prevent conflict

Add `truncate_after()` call before appending entries in the log terms
test to avoid conflict errors that may occur due to store implementation.

Changes:
- Add `truncate_after()` before `append()` in log terms test case

1 of 1 new or added line in 1 file covered. (100.0%)

12 existing lines in 5 files now uncovered.

15615 of 17829 relevant lines covered (87.58%)

160765.8 hits per line

Relevant lines Covered
Build:
Build:
17829 RELEVANT LINES 15615 COVERED LINES
160765.8 HITS PER LINE
Source Files on main
  • Tree
  • List 258
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20703918341 main test: add truncate before append in log test to prevent conflict Add `truncate_after()` call before appending entries in the log terms test to avoid conflict errors that may occur due to store implementation. Changes: - Add `truncate_after()` be... push 05 Jan 2026 03:15AM UTC drmingdrmer github
87.58
20690323739 main feat: add `Raft::write_blank()` method to write blank log entries Adds a public method allowing clients to write `EntryPayload::Blank` directly. Blank entries are useful to commit entries from previous terms, advance the commit index, or act as a... push 04 Jan 2026 08:48AM UTC drmingdrmer github
87.63
20679615371 main feat: add `log_id_parts()` method to `RaftLogId` trait Adds a convenience method that returns both the committed_leader_id and index as a tuple, useful for destructuring in pattern matching. Changes: - Add `log_id_parts()` default method to `Raf... push 03 Jan 2026 04:07PM UTC drmingdrmer github
87.58
20679123990 main feat: add `to_type()` method to `RaftLogId` for type conversion Adds a generic conversion method that allows converting any `RaftLogId` implementation to another type that also implements `RaftLogId`. Changes: - Add `to_type<T>()` default method... push 03 Jan 2026 03:21PM UTC drmingdrmer github
87.6
20678346716 main change: replace `RaftLogStorage::truncate()` with `truncate_after()` Replace the `truncate()` method with `truncate_after()` in the `RaftLogStorage` trait to provide clearer log truncation semantics. The new method takes `Option<LogId>` and keeps... push 03 Jan 2026 02:11PM UTC drmingdrmer github
87.53
20678162155 main feat: make RaftLogId trait public Export the RaftLogId trait to allow users to implement log ID behavior for custom types. This enables applications to define their own log ID representations that integrate with Openraft's log management. Change... push 03 Jan 2026 01:53PM UTC drmingdrmer github
87.52
20677454702 main change: implement truncate_after for RaftLogStorage Add new `truncate_after(last_log_id: Option<LogId>)` method to provide clearer log truncation semantics. This is a new storage API that implementers must provide. Changes: - Add `truncate_after... push 03 Jan 2026 12:49PM UTC drmingdrmer github
87.56
20674731320 main feat: make RaftLogId trait public Export the RaftLogId trait to allow users to implement log ID behavior for custom types. This enables applications to define their own log ID representations that integrate with Openraft's log management. Change... push 03 Jan 2026 08:25AM UTC drmingdrmer github
87.54
20674030951 main feat: add `new_term_index()` convenience method to `LogId` Add a convenience method for creating `LogId` directly from term and index when using standard Raft (`leader_id_std::LeaderId`). This eliminates the need to manually wrap terms in `Commit... push 03 Jan 2026 07:18AM UTC drmingdrmer github
87.5
20663163772 main feat: implement RaftLogId for primitive tuple types Add support for using `(Term, u64)` tuples as log IDs with standard Raft configs. This provides a lightweight alternative to `LogId<C>` for cases where only the term and index are needed. Chang... push 02 Jan 2026 05:36PM UTC drmingdrmer github
87.49
See All Builds (363)

Badge your Repo: openraft

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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