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

databendlabs / openraft / 11338749553
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: release-0.10
DEFAULT BRANCH: main
Ran 15 Oct 2024 03:30AM UTC
Jobs 1
Files 224
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

15 Oct 2024 03:08AM UTC coverage: 83.551%. First build
11338749553

push

github

drmingdrmer
Refactor: remove `Copy` bound from `NodeId`

The `NodeId` type is currently defined as:

```rust
type NodeId: .. + Copy + .. + 'static;
```

This commit removes the `Copy` bound from `NodeId`.
This modification will allow the use of non-`Copy` types as `NodeId`,
providing greater flexibility for applications that prefer
variable-length strings or other non-`Copy` types for node
identification.

This change maintain compatibility by updating derived `Copy`
implementations with manual implementations:

```rust
// Before
#[derive(Copy...)]
pub struct LogId<NID: NodeId> {}

// After
impl<NID: Copy> Copy for LogId<NID> {}
```

117 of 122 new or added lines in 27 files covered. (95.9%)

8132 of 9733 relevant lines covered (83.55%)

22.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.44
openraft/src/engine/engine_impl.rs
1
94.93
openraft/src/engine/handler/following_handler/mod.rs
1
57.69
openraft/src/raft/message/vote.rs
2
60.0
openraft/src/core/sm/command.rs
Jobs
ID Job ID Ran Files Coverage
1 11338749553.1 15 Oct 2024 03:29AM UTC 224
83.55
GitHub Action Run
Source Files on build 11338749553
  • Tree
  • List 224
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ab9fb818 on github
  • Next Build on release-0.9 (#11339553314)
  • 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