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

papandreou / impro / 7222145580
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.14.3
DEFAULT BRANCH: master
Ran 15 Dec 2023 12:40PM UTC
Jobs 1
Files 22
Run time 3s
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

15 Dec 2023 12:03PM UTC coverage: 92.561% (-1.0%) from 93.572%
7222145580

push

github

alexjeffburke
Introduce StdinoutStream.

This commit adds an implementation of a transform stream intended to
abstract spawning a command line utility which receives data on stdin
and outputs a result on stdout. Any data written to the stream (i.e.
pipe()'ing a Readable stream to it or otherwise) is sent onwards to
the child process and any data it produces it available to be read
downstream. To the extent possible this is fully streamed and care
has been taken to handle various error conditions and non-determistic
execution ordering e.g. child process stdout versus its exit event.

The genesis for doing this came from looking into a report of an
uncaught exception related to the use of gifsicle. A code inspection
combined with having a fair share of "experences" with streams left
a somewhat uneasy feeling and, given that some better facilities are
available in newer node together (e.g. Transform streams) and with
an awareness behaviours have been subtlely tweaked, lead to concluding
it worthwhile to invest in using a new hardened wrapper going forward.
This culmination of that work built out using gifsicle as the target.

This is intended for potentially sharing across tools going forward.

604 of 743 branches covered (0.0%)

114 of 132 new or added lines in 3 files covered. (86.36%)

9 existing lines in 1 file now uncovered.

871 of 941 relevant lines covered (92.56%)

35.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
81.25
src/debug.js
15
86.73
src/StdinoutStream.js

Uncovered Existing Lines

Lines Coverage ∆ File
9
93.78
0.03% src/Pipeline.js
Jobs
ID Job ID Ran Files Coverage
1 7222145580.1 15 Dec 2023 12:40PM UTC 22
92.56
GitHub Action Run
Source Files on build 7222145580
  • Tree
  • List 22
  • Changed 5
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c2f6f5b2 on github
  • Prev Build on next (#6667600995)
  • Next Build on next (#7224469553)
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

© 2025 Coveralls, Inc