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

prisma-risk / tsoracle / 26379037445
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 01:52AM UTC
Jobs 1
Files 80
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 01:48AM UTC coverage: 94.793% (-0.01%) from 94.807%
26379037445

push

github

web-flow
fix(driver-paxos): rebase snapshot baseline at recovery to avoid spurious post-restart snapshot (#375)

SnapshotPolicy::every(N) starts last_snapshot_at = 0 and is reconstructed
fresh on every restart. A node reopening its log at a decided index far
past N satisfies `decided_idx >= 0 + N` on its first post-recovery check,
firing an unintended snapshot.

ApplyEngine::recover already knows the recovered decided index (the cursor
after folding the decided suffix), so it now rebases the policy baseline to
it. The next snapshot then fires N entries past the restart point rather
than immediately. This extends the existing "recovery skips compaction"
intent to the first decision after recovery, without persisting any new
state or touching the storage codec.

Adds SnapshotPolicy::rebase, unit coverage for the rebased cadence, and an
integration test that reproduces the spurious snapshot via the
tsoracle.paxos.snapshot.total metric.

Closes #258

57 of 60 new or added lines in 3 files covered. (95.0%)

2 existing lines in 1 file now uncovered.

12178 of 12847 relevant lines covered (94.79%)

425172.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.83
-3.17% crates/tsoracle-driver-paxos/src/snapshot_policy.rs
1
97.68
-0.02% crates/tsoracle-driver-paxos/src/state_machine.rs

Coverage Regressions

Lines Coverage ∆ File
2
84.37
-0.54% benchmarks/stress/src/topology/paxos.rs
Jobs
ID Job ID Ran Files Coverage
1 26379037445.1 25 May 2026 01:52AM UTC 80
94.79
GitHub Action Run
Source Files on build 26379037445
  • Tree
  • List 80
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26379037445
  • 56bf16ca on github
  • Prev Build on main (#26378965392)
  • Next Build on main (#26379085453)
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