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

databendlabs / openraft / 24722988808
87%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2026 12:46PM UTC
Jobs 1
Files 261
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

21 Apr 2026 12:43PM UTC coverage: 86.54% (-0.006%) from 86.546%
24722988808

push

github

drmingdrmer
test: pin `snapshot_to_unreachable_node_should_not_block` to fast backoff

The default `Config::backoff` of `"200ms"` parses as exponential doubling
up to a 1 s cap (`200, 400, 800, 1000, 1000, …`). This test sets a 2 s
wait for the leader to purge logs behind an unreachable node, and the
growing retry cadence does not give the snapshot transmitter enough
retry cycles on loaded CI to clear the inflight that blocks purge —
seen as `try_purge_log: log T1-N0.15 is in use by 2` followed by a
timeout.

Override the policy locally to `"10ms, 10ms"` — two equal anchors fit
as `k · aˣ` with `a = 1`, giving constant 10 ms retries. The test now
finishes in ~130 ms and has ample headroom under CI load.

The production default is intentionally left as-is: exponential to 1 s
is the right shape for real deployments. Tests that depend on specific
retry cadence should declare it.

16286 of 18819 relevant lines covered (86.54%)

122426.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
85.11
-0.92% openraft/src/replication/snapshot_transmitter.rs
7
90.35
0.44% openraft/src/config/config.rs
3
88.89
-3.7% openraft/src/core/sm/handle.rs
3
96.62
0.02% openraft/src/replication/mod.rs
1
83.33
0.0% openraft/src/metrics/serde_instant.rs
1
92.0
0.0% openraft/src/network/v2/network.rs
Jobs
ID Job ID Ran Files Coverage
1 24722988808.1 21 Apr 2026 12:46PM UTC 261
86.54
GitHub Action Run
Source Files on build 24722988808
  • Tree
  • List 261
  • Changed 7
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24722988808
  • 3d8d1778 on github
  • Prev Build on main (#24720055708)
  • Next Build on main (#24762803154)
  • 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