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

prisma-risk / tsoracle / 26255820347
95%

Build:
DEFAULT BRANCH: main
Ran 21 May 2026 10:07PM UTC
Jobs 1
Files 49
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 May 2026 10:04PM UTC coverage: 96.196% (+2.2%) from 93.961%
26255820347

push

github

web-flow
test: raise workspace coverage (#57)

* test(core): cover allocator predicates and pack panics

Adds tests for the previously-uncovered branches in `Allocator`:

- `try_on_leadership_gained` rejects a `committed_ceiling` past
  `PHYSICAL_MS_MAX` independently of `fence_floor`.
- `try_grant` rejects oversized `count` (`> LOGICAL_MAX + 1`).
- `would_grant` is now exercised across not-leader, invalid counts,
  within-window, exhausted, and the +1 advance-past-`PHYSICAL_MS_MAX`
  cases — `service::extend_window` relies on it returning false in
  every refuse case, and the predicate had no direct test coverage.
- `Allocator::default()` constructs in `NotLeader` state.

And for `Timestamp::pack`'s panicking variant:

- `#[should_panic]` tests pin the two `assert!` messages, mirroring
  the `try_pack` Err tests one-to-one.

* test(consensus): exercise trait dispatch and error formatting

`dummy_is_object_safe` only verified that `Dummy: ConsensusDriver`
type-checked as a trait object — the method bodies never ran, so
neither did the `LeaderState` derives or `thiserror::Error` impls on
`ConsensusError`.

Adds tests that:

- Invoke each `ConsensusDriver` method on the `Dummy` (empty stream,
  zero high-water, monotonic-advance returns the input) under
  `futures::executor::block_on` — no new tokio dev-dep needed.
- Confirm `LeaderState`'s `PartialEq` discriminates on payload, not
  variant tag (the documented basis for `watch::Sender`'s debounce).
- Format every `ConsensusError` variant so the `#[error("…")]`
  attributes are exercised end-to-end.

* test(openraft-toolkit): negative-path MemNetwork + Debug/Default

Three additions:

- `PartitionController::default()` is exercised so the `Default` impl
  has matching coverage to `new()`.
- `RocksdbLogStore`'s `Debug` impl is rendered (and verified equal
  after `Clone`) inside the existing `opens_empty_store_without_error`
  integration test — the formatter is part of the public surface but
  was previously nev... (continued)

371 of 379 new or added lines in 13 files covered. (97.89%)

6195 of 6440 relevant lines covered (96.2%)

88689.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
94.89
1.49% crates/tsoracle-client/src/driver.rs
2
97.75
4.31% crates/tsoracle-client/src/response.rs
2
96.61
66.61% crates/tsoracle-consensus/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 26255820347.1 21 May 2026 10:07PM UTC 49
96.2
GitHub Action Run
Source Files on build 26255820347
  • Tree
  • List 49
  • Changed 17
  • Source Changed 13
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26255820347
  • af6d3b8c on github
  • Prev Build on main (#26255734842)
  • Next Build on main (#26255833479)
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