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

prisma-risk / tsoracle / 26323924729
95%

Build:
DEFAULT BRANCH: main
Ran 23 May 2026 04:56AM UTC
Jobs 1
Files 73
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 04:52AM UTC coverage: 95.225% (+0.03%) from 95.196%
26323924729

push

github

web-flow
fix(paxos-toolkit): preserve absolute log index after full RocksDB compaction (#188)

`RocksdbStorage::next_log_idx` derived the next absolute write index by
reverse-iterating surviving `L/<u64>` keys and fell back to `Ok(0)` when
the log was physically empty. A snapshot that trims every key followed
by `set_compacted_idx(n)` would then make the next `append_entry` land
at `L/0` instead of `L/n`, leaving the entry unreachable via
`get_suffix(n)`/`get_entries(n, n+1)` and silently corrupting the
replicated log across crash recovery — a Paxos-safety break, not just an
availability issue.

Enforce `next >= compacted_idx` so the invariant survives full
compaction, and share a `compacted_idx_inner` helper with
`get_compacted_idx` to keep the metadata read in one place. Add
regression tests covering both the post-full-trim append and the
crash-recovery round-trip.

Closes #186.

70 of 70 new or added lines in 1 file covered. (100.0%)

9553 of 10032 relevant lines covered (95.23%)

473174.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26323924729.1 23 May 2026 04:56AM UTC 73
95.23
GitHub Action Run
Source Files on build 26323924729
  • Tree
  • List 73
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26323924729
  • 757f325a on github
  • Prev Build on main (#26323737302)
  • Next Build on main (#26323931624)
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