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

prisma-risk / tsoracle / 26310857745
95%

Build:
DEFAULT BRANCH: main
Ran 22 May 2026 08:43PM UTC
Jobs 1
Files 54
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

22 May 2026 08:39PM UTC coverage: 95.893%. Remained the same
26310857745

push

github

web-flow
fix(driver-file): durably flush rename metadata on Windows (#154)

write_record returned Ok after fs::rename on non-Unix without an
explicit metadata durability barrier. persist_high_water then published
the new high-water and the server could begin issuing timestamps from
that window, so a host crash or power loss after the rename returned
but before NTFS journaled the rename to disk could leave restart
loading the previous state record. This violates the no-rewind
durability guarantee that lib.rs documents.

After fs::rename on cfg(not(unix)), reopen the renamed file with write
access and call sync_all. On Windows that maps to FlushFileBuffers,
which forces the $LogFile entry covering this MoveFileEx into durable
storage. The tmpfile sync_all upstream keeps the file data durable on
both platforms; this block adds the metadata barrier that the previous
cfg(unix)-gated directory fsync was the only enforcer of.

write(true) is required because FlushFileBuffers rejects handles
without GENERIC_WRITE; truncate stays at its default of false so the
record just renamed into place is left intact.

7542 of 7865 relevant lines covered (95.89%)

664545.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26310857745.1 22 May 2026 08:43PM UTC 54
95.89
GitHub Action Run
Source Files on build 26310857745
  • Tree
  • List 54
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26310857745
  • 39c2ca99 on github
  • Prev Build on main (#26310849112)
  • Next Build on main (#26312562955)
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