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

prisma-risk / tsoracle / 41172974418
97%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2026 05:47AM UTC
Jobs 1
Files 99
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

31 Oct 2026 05:32AM UTC coverage: 96.717% (+0.1%) from 96.622%
41172974418

push

github

web-flow
feat(file): export a versioned stopped-state receipt (#745)

* feat(file): export a versioned stopped-state receipt

Backups and migrations of a file-driver oracle need a trustworthy record of its stopped state: the committed timestamp reservation, every retained lease and the dense counters, plus an inventory of the files that make up the recovery set.

tsoracle-driver-file gains StoppedFileState, which takes the native lock read-only without initialization, validates every record with a shared semantic validator and emits a versioned receipt (schema tsoracle.stopped-file-state, version 1) with a SHA-256 inventory that records absent lazy files explicitly. The library API is unconditional. The new stopped-state-export feature adds the tsoracle export file command, and makes driver startup use the shared validator and init_seeded hold the native lock while it writes the seed, so a seeded directory is exportable. Default builds keep their existing behavior.

The lease decoder now rejects an impossible record count before allocating. docs/stopped-file-export.md describes the capture, inventory, refusal and restore contract.

Signed-off-by: Sebastian Thiebaud <sebastian@prismarisk.com>

* chore(fuzz): sync the fuzz lockfile with the export dependencies

The fuzz workspace builds tsoracle-driver-file by path, so its lockfile needs the sha2 closure the stopped-state export added.

Signed-off-by: Sebastian Thiebaud <sebastian@prismarisk.com>

---------

Signed-off-by: Sebastian Thiebaud <sebastian@prismarisk.com>

730 of 739 new or added lines in 4 files covered. (98.78%)

19946 of 20623 relevant lines covered (96.72%)

276918.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
98.86
crates/tsoracle-driver-file/src/export.rs
2
98.01
-0.13% crates/tsoracle-driver-file/src/driver.rs
Jobs
ID Job ID Ran Files Coverage
1 41172974418.1 31 Oct 2026 05:47AM UTC 99
96.72
GitHub Action Run
Source Files on build 41172974418
  • Tree
  • List 99
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41172974418
  • f87e6b09 on github
  • Prev Build on main (#41001597821)
  • Next Build on main (#41179457570)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc