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

umputun / ralphex / 22151240466 / 1
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: runner-phase-engines
DEFAULT BRANCH: master
Ran 18 Feb 2026 05:55PM UTC
Files 39
Run time 1s
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

18 Feb 2026 05:48PM UTC coverage: 81.779% (-0.1%) from 81.881%
22151240466.1

Pull #130

github

umputun
fix: acquire file lock before stat to prevent TOCTOU race

Move lockFile() call before f.Stat() in NewLogger so the restart
detection (size > 0 check) is protected by the exclusive lock.
Without this ordering, a concurrent process could stat size==0,
block on the lock, then incorrectly write a full header after
another process already wrote content.

Also add proper cleanup (unlock + unregister) on the stat error path.
Pull Request #130: fix: append progress files on restart instead of truncating

5359 of 6553 relevant lines covered (81.78%)

188.57 hits per line

Source Files on job 22151240466.1
  • Tree
  • List 39
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22151240466
  • 2a34fdb1 on github
  • Prev Job for on fix-progress-append-on-restart (#22119711481.1)
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