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

databendlabs / openraft / 20329114104
88%

Build:
DEFAULT BRANCH: main
Ran 18 Dec 2025 07:17AM UTC
Jobs 1
Files 236
Run time 2min
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 Dec 2025 07:01AM UTC coverage: 92.698% (-0.1%) from 92.802%
20329114104

push

github

drmingdrmer
feat: add command execution counter to RuntimeStats

Track the number of times each command type is executed during Raft
operations. This helps understand workload patterns and is useful for
debugging and performance analysis.

Changes:
- Add `command_counts: HashMap<CommandName, u64>` field to `RuntimeStats`
- Add `record_command()` method for counting command executions
- Add `CommandName::ALL` and `SMCommandName::ALL` constants for canonical ordering
- Update `RuntimeStatsDisplay` to show command counts in deterministic order
- Record command execution in `RaftCore::run_command()`
- Export `CommandName` and `SMCommandName` as public types

5 of 18 new or added lines in 3 files covered. (27.78%)

10 existing lines in 4 files now uncovered.

14954 of 16132 relevant lines covered (92.7%)

150928.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.75
0.53% openraft/src/engine/command.rs
12
29.73
-3.6% openraft/src/core/runtime_stats.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
29.73
-3.6% openraft/src/core/runtime_stats.rs
3
95.65
-3.26% openraft/src/core/heartbeat/worker.rs
3
79.17
-12.5% openraft/src/core/sm/handle.rs
3
82.8
-3.23% openraft/src/replication/snapshot_transmitter.rs
Jobs
ID Job ID Ran Files Coverage
1 20329114104.1 18 Dec 2025 07:17AM UTC 236
92.7
GitHub Action Run
Source Files on build 20329114104
  • Tree
  • List 236
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20329114104
  • fc8b4167 on github
  • Prev Build on main (#20328857859)
  • Next Build on main (#20334697461)
  • 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