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

databendlabs / openraft / 20338376087
88%

Build:
DEFAULT BRANCH: main
Ran 18 Dec 2025 01:24PM UTC
Jobs 1
Files 237
Run time 118min
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 01:11PM UTC coverage: 92.509% (-0.2%) from 92.736%
20338376087

push

github

drmingdrmer
feat: add RaftMsg tracking to runtime statistics

Add efficient name types for RaftMsg variants and track their execution
counts in RuntimeStats, following the same pattern as Command tracking.
This enables monitoring API usage patterns and debugging.

Changes:
- Add `RaftMsgName` enum with hierarchical `ExternalCommand(ExternalCommandName)` variant
- Add `name()` method to `RaftMsg` and `ExternalCommand`
- Add `raft_msg_counts` field and `record_raft_msg()` to `RuntimeStats`
- Track RaftMsg in `handle_api_msg()`
- Export `RaftMsgName` and `ExternalCommandName` in stats module

30 of 72 new or added lines in 5 files covered. (41.67%)

5 existing lines in 2 files now uncovered.

14993 of 16207 relevant lines covered (92.51%)

150126.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
28.85
-0.88% openraft/src/core/runtime_stats.rs
31
0.0
openraft/src/core/raft_msg/raft_msg_name.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
93.04
-1.74% openraft/src/replication/stream_state.rs
3
90.77
-4.62% openraft/src/raft/raft_inner.rs
Jobs
ID Job ID Ran Files Coverage
1 20338376087.1 18 Dec 2025 01:24PM UTC 237
92.51
GitHub Action Run
Source Files on build 20338376087
  • Tree
  • List 237
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20338376087
  • ebf68682 on github
  • Prev Build on main (#20334697461)
  • Next Build on main (#20340037209)
  • 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