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

databendlabs / openraft / 18443998697
88%

Build:
DEFAULT BRANCH: main
Ran 12 Oct 2025 12:39PM UTC
Jobs 1
Files 199
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

12 Oct 2025 11:24AM UTC coverage: 91.375% (+0.2%) from 91.158%
18443998697

push

github

drmingdrmer
improve: implement non-blocking Respond queue

Introduce a separate queue system for pending responds to prevent
blocking the main command queue. Responds are now queued based on
their waiting conditions (log IO flushed, log applied, snapshot
built) and sent when conditions are satisfied.

Add `PendingResponds` struct with four queues (`on_log_io`,
`on_log_flush`, `on_apply`, `on_snapshot`) to hold responds
waiting for different IO completion events. Implement
`drain_satisfied()` iterator that checks current IO state and
yields responds whose conditions are met.

Add `send_satisfied_responds()` method to `RaftCore` that
periodically checks and sends all satisfied responds. This method
is called in the command processing loop to ensure responds are
sent promptly when conditions become satisfied.

Simplify condition checking by adding `Condition::is_met()` method
that encapsulates the logic for checking if IO state satisfies a
condition. Remove duplicated condition checking code from
`run_command()`.

Change `Condition` enum variants to use non-optional `LogId` values
since conditions always require specific log IDs to wait for.
Update `Condition::Display` to show threshold comparisons using
">=" operator for clarity.

Add `CommandKind::Respond` variant to classify respond commands
separately, enabling parallel execution with other command types.

285 of 298 new or added lines in 7 files covered. (95.64%)

11738 of 12846 relevant lines covered (91.37%)

112980.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
99.07
openraft/src/engine/pending_responds.rs
4
81.88
1.88% openraft/src/engine/command.rs
7
85.71
-14.29% openraft/src/engine/engine_output.rs
Jobs
ID Job ID Ran Files Coverage
1 18443998697.1 12 Oct 2025 12:39PM UTC 199
91.37
GitHub Action Run
Source Files on build 18443998697
  • Tree
  • List 199
  • Changed 6
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18443998697
  • 9206d947 on github
  • Prev Build on release-0.10 (#18443275712)
  • Next Build on main (#18455476288)
  • 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