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

prisma-risk / tsoracle / 26374735542
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 10:43PM UTC
Jobs 1
Files 76
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

24 May 2026 10:39PM UTC coverage: 94.878% (+0.03%) from 94.846%
26374735542

push

github

web-flow
refactor(driver-paxos): extract ApplyEngine + ApplyTask from StandaloneHost (#327)

StandaloneHost carried the apply state, snapshot policy, the spawned apply
task's lifecycle, and the synchronous stepping path inline: an 11-field
struct whose start() closure duplicated apply_once()'s drain+snapshot four
lines, and whose apply_handle / apply_shutdown were two Mutex<Option<..>>
kept in lockstep only by convention.

Extract a pub(crate) apply module:

- ApplyEngine bundles apply_state + snapshot policy and owns the single
  drain+snapshot step (apply_step) shared by the sync stepping path and the
  async apply task, a drain-only recover() for construction (recovery stays
  snapshot-free), and the accessors the barrier-linearized reads use.
- ApplyTask owns the join handle + per-spawn shutdown Notify; stop(self)
  consumes it, making double-stop unrepresentable.

StandaloneHost drops to 8 fields: apply_state + policy collapse into one
engine, and apply_handle + apply_shutdown collapse into one
Option<ApplyTask> (no Mutex, since start/stop take &mut self), so a
half-installed apply task is structurally impossible. The public method
surface and the PaxosHighWaterHost impl are unchanged; every method is now a
thin delegator.

Behavior-preserving internal refactor: no public API change. The yieldpoint
label and the snapshot-free recovery path are preserved; all existing tests
pass unchanged.

95 of 96 new or added lines in 2 files covered. (98.96%)

11411 of 12027 relevant lines covered (94.88%)

498186.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.78
crates/tsoracle-driver-paxos/src/apply.rs
Jobs
ID Job ID Ran Files Coverage
1 26374735542.1 24 May 2026 10:43PM UTC 76
94.88
GitHub Action Run
Source Files on build 26374735542
  • Tree
  • List 76
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26374735542
  • 9f24f3fa on github
  • Prev Build on main (#26374252603)
  • Next Build on main (#26374976709)
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