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

umputun / ralphex / 22151240466
82%
master: 83%

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

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

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

22 of 29 new or added lines in 1 file covered. (75.86%)

4 existing lines in 2 files now uncovered.

5359 of 6553 relevant lines covered (81.78%)

188.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
91.83
-1.01% pkg/progress/progress.go

Coverage Regressions

Lines Coverage ∆ File
2
87.98
-0.51% pkg/web/session_manager.go
2
79.89
-1.09% pkg/web/watcher.go
Jobs
ID Job ID Ran Files Coverage
1 22151240466.1 18 Feb 2026 05:55PM UTC 39
81.78
GitHub Action Run
Source Files on build 22151240466
  • Tree
  • List 39
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #130
  • PR Base - master (#22119711481)
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