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

prisma-risk / tsoracle / 26319376617
95%

Build:
DEFAULT BRANCH: main
Ran 23 May 2026 01:12AM UTC
Jobs 1
Files 70
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

23 May 2026 01:08AM UTC coverage: 95.315% (+0.05%) from 95.268%
26319376617

push

github

web-flow
feat(driver-paxos): host trait, apply task state machine, snapshot policy (#180)

* feat(driver-paxos): PaxosHighWaterHost trait

* feat(driver-paxos): apply-task state machine and decided-suffix drain

* feat(driver-paxos): SnapshotPolicy with every-N-decided trigger

* test(driver-paxos): cluster-driven coverage for drain and snapshot path

The unit tests on ApplyState covered the cloneable handle and the
notifier wake path but left drain_decided_into and maybe_snapshot at
~40% coverage. Coverage regressed against main; this commit closes
the gap.

Adds an inline 3-node OmniPaxos cluster harness built from the
toolkit's MemNetwork + MemStorage (already pulled into dev-deps via
the test-fakes feature) and seven scenario tests against the drain
function:

- Advance with a single value folds into the AtomicU64.
- Multiple Advances pick the max across all decided entries.
- Barrier entries do not lower or zero out the AtomicU64.
- Empty drain (no new decided entries) is a no-op.
- Repeat drain after cursor advance does NOT re-apply already-applied
  entries.
- maybe_snapshot advances policy state on trigger.
- maybe_snapshot is a no-op when the policy is disabled.

11 state_machine tests total (4 existing + 7 new). 25 lib tests
overall. Clippy + fmt clean.

355 of 371 new or added lines in 2 files covered. (95.69%)

9256 of 9711 relevant lines covered (95.31%)

648554.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
95.11
crates/tsoracle-driver-paxos/src/state_machine.rs
Jobs
ID Job ID Ran Files Coverage
1 26319376617.1 23 May 2026 01:12AM UTC 70
95.31
GitHub Action Run
Source Files on build 26319376617
  • Tree
  • List 70
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26319376617
  • 0c6be7dd on github
  • Prev Build on main (#26319259540)
  • Next Build on main (#26319868546)
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