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

databendlabs / openraft / 18915819467 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 04:58PM UTC
Files 207
Run time 11s
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

29 Oct 2025 04:54PM UTC coverage: 91.444% (+0.05%) from 91.398%
18915819467.1

push

github

xp-trumpet
change: migrate API and notification channels to bounded channels

Migrated both API and notification channels from unbounded to bounded with
configurable sizes to provide backpressure control and prevent unbounded
memory growth.

Changes:
- Added `api_channel_size` config (default: 65536)
- Added `notification_channel_size` config (default: 65536)
- Changed `RaftCore` to use bounded MPSC channels for both API and notifications
- Made `external_request()` and `external_state_machine_request()` async and return `Result`
- Made `IOFlushed::io_completed()` async to support bounded channel send
- Use `.ok()` instead of `let _ =` to explicitly ignore send errors

Upgrade tip:

- `external_request()` now returns `Result<(), Fatal<C>>`. Change:
  `raft.external_request(|state| { ... }).await;`
  to:
  `raft.external_request(|state| { ... }).await?;`

- `external_state_machine_request()` now returns `Result<(), Fatal<C>>`. Change:
  `raft.external_state_machine_request(|sm| { ... }).await;`
  to:
  `raft.external_state_machine_request(|sm| { ... }).await?;`

- `IOFlushed::io_completed()` is now async. Change:
  `callback.io_completed(result);`
  to:
  `callback.io_completed(result).await;`

12313 of 13465 relevant lines covered (91.44%)

137138.27 hits per line

Source Files on job 18915819467.1
  • Tree
  • List 207
  • Changed 16
  • Source Changed 14
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18915819467
  • 2e9b3695 on github
  • Prev Job for on main (#18911059930.1)
  • Next Job for on main (#18916803887.1)
  • 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