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

prisma-risk / tsoracle / 26377288510
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 12:41AM UTC
Jobs 1
Files 79
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

25 May 2026 12:36AM UTC coverage: 94.835% (+0.02%) from 94.819%
26377288510

push

github

web-flow
refactor(consensus): split lib.rs into per-concern modules (#361)

tsoracle-consensus carried four distinct concerns in one lib.rs: the
ConsensusDriver trait, ConsensusError, LeaderState, and the AdvancePayload
command plus its range guard. Split them into focused modules and reduce
lib.rs to module declarations and re-exports:

- advance.rs    — AdvancePayload, AdvanceOutOfRange, reject_out_of_range_advance
- error.rs      — ConsensusError
- leadership.rs — LeaderState
- driver.rs     — the ConsensusDriver trait

Each test moves next to the item it covers. The public API is unchanged:
the crate root re-exports every type and the free function, so dependents
keep importing `tsoracle_consensus::{ConsensusError, LeaderState, ...}`
exactly as before. No behavior change.

104 of 108 new or added lines in 4 files covered. (96.3%)

1 existing line in 1 file now uncovered.

11587 of 12218 relevant lines covered (94.84%)

460052.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
91.67
crates/tsoracle-consensus/src/driver.rs
1
97.44
crates/tsoracle-consensus/src/advance.rs
1
96.0
crates/tsoracle-consensus/src/leadership.rs

Coverage Regressions

Lines Coverage ∆ File
1
96.49
-0.19% crates/tsoracle-client/src/driver.rs
Jobs
ID Job ID Ran Files Coverage
1 26377288510.1 25 May 2026 12:41AM UTC 79
94.84
GitHub Action Run
Source Files on build 26377288510
  • Tree
  • List 79
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26377288510
  • 788bfa53 on github
  • Prev Build on main (#26376896994)
  • Next Build on main (#26377529042)
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