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

databendlabs / openraft / 19124392631
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 06 Nov 2025 04:08AM UTC
Jobs 1
Files 213
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 Nov 2025 03:48AM UTC coverage: 91.361% (-0.03%) from 91.395%
19124392631

push

github

drmingdrmer
change: Add `on_commit` `on_complete` to `Responder` trait

Add `ProgressResponder` and use it as default `Responder` that receives
`on_commit` and `on_complete` events.

- `on_commit` is called when a log entry is committed;
- `on_complete` is called when the log entry is applied to state machine
  or an error occur.

Replace OneshotResponder with ProgressResponder throughout the codebase to
provide both commit and completion(apply or error) notifications by default.

- Fix: #1460

Upgrade tip:

When not using application defined `Responder`, nothing todo.

Otherwise, update the implementation of `Responder` by adding
`on_commit` if needed, and replacing `send` with `on_complete`.

109 of 113 new or added lines in 8 files covered. (96.46%)

1 existing line in 1 file now uncovered.

12637 of 13832 relevant lines covered (91.36%)

135050.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.94
0.14% openraft/src/core/raft_core.rs
1
0.0
openraft/src/raft/responder/impls/oneshot_responder.rs
1
98.9
openraft/src/raft/responder/impls/progress_responder.rs
1
0.0
openraft/src/raft/responder/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
81.85
0.0% openraft/src/replication/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 19124392631.1 06 Nov 2025 04:08AM UTC 213
91.36
GitHub Action Run
Source Files on build 19124392631
  • Tree
  • List 213
  • Changed 9
  • Source Changed 8
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19124392631
  • b07ffd7b on github
  • Prev Build on main (#19038453419)
  • Next Build on release-0.10 (#19132305171)
  • 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