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

databendlabs / openraft / 23700914850
86%

Build:
DEFAULT BRANCH: main
Ran 29 Mar 2026 04:03AM UTC
Jobs 1
Files 269
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

29 Mar 2026 03:51AM UTC coverage: 86.375% (+0.04%) from 86.338%
23700914850

push

github

drmingdrmer
refactor: decouple Histogram slot capacity from VecDeque allocation size

`VecDeque::with_capacity(n)` may allocate more than `n` slots, causing
`Histogram::advance()` to retain more slots than intended since it used
`VecDeque::capacity()` to decide when to evict. This led to unbounded
slot growth when the allocation overshot.

Extract `SlotQueue<T>` to track the logical capacity separately from
the `VecDeque` allocation, so eviction always respects the requested
slot count.

33 of 33 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

16546 of 19156 relevant lines covered (86.38%)

143519.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
93.39
-1.65% openraft/src/replication/stream_state.rs
Jobs
ID Job ID Ran Files Coverage
1 23700914850.1 29 Mar 2026 04:03AM UTC 269
86.38
GitHub Action Run
Source Files on build 23700914850
  • Tree
  • List 269
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23700914850
  • 7c7fa9f0 on github
  • Prev Build on main (#23689061600)
  • Next Build on main (#23701727337)
  • 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