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

winstonjs / winston / 20000787410
71%

Build:
DEFAULT BRANCH: master
Ran 07 Dec 2025 07:19AM UTC
Jobs 1
Files 17
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

07 Dec 2025 07:18AM UTC coverage: 70.727% (+0.2%) from 70.513%
20000787410

push

github

web-flow
fix: ensure File transport flushes all data before emitting finish (#2594)

Fixes #1504

The File transport was emitting the 'finish' event before all buffered
data was actually written to disk. This caused data loss when calling
logger.end() followed by process.exit().

The root cause was that the transport's internal PassThrough stream
could finish before the underlying fs.WriteStream had flushed to disk.

This adds a _final() method that waits for the destination file stream
to complete before signaling that the transport has finished.

442 of 679 branches covered (65.1%)

Branch coverage included in aggregate %.

8 of 10 new or added lines in 1 file covered. (80.0%)

783 of 1053 relevant lines covered (74.36%)

1109.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
64.39
0.92% lib/winston/transports/file.js
Jobs
ID Job ID Ran Files Coverage
1 20000787410.1 07 Dec 2025 07:19AM UTC 17
70.73
GitHub Action Run
Source Files on build 20000787410
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 86c890f2 on github
  • Prev Build on master (#19993163957)
  • Next Build on master (#20000833955)
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