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

databendlabs / openraft / 14531538766
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 18 Apr 2025 07:31AM UTC
Jobs 1
Files 184
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

18 Apr 2025 07:26AM UTC coverage: 90.577% (-0.002%) from 90.579%
14531538766

push

github

drmingdrmer
refactor: remove implicit `Send` trait bound from the `add_async_trait` macro

When the `singlethreaded` feature flag is enabled, the `Send` and `Sync`
trait bounds for a trait depend on its API design. Unlike `impl Future`
return types, which typically require a `Send` bound (`impl Future + Send`),
the requirements for traits are more nuanced and depend on the
application's specific needs.

- The `add_async_trait` macro no longer automatically adds `Send` or
  `Sync` bounds to traits. Instead, it delegates the responsibility of
  specifying these bounds to application developers.

- Developers can specify `Send` and `Sync` bounds for traits using the
  `OptionalSend` or `OptionalSync` utilities provided by OpenRaft.

Signed-off-by: Jiawei Zhao <Phoenxi500526@163.com>

10679 of 11790 relevant lines covered (90.58%)

90158.25 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.0
0.0% openraft/src/metrics/serde_instant.rs
Jobs
ID Job ID Ran Files Coverage
1 14531538766.1 18 Apr 2025 07:31AM UTC 184
90.58
GitHub Action Run
Source Files on build 14531538766
  • Tree
  • List 184
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14531538766
  • beb7c5ac on github
  • Prev Build on main (#14487566581)
  • Next Build on release-0.10 (#14768442018)
  • 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