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

tomerfiliba / plumbum / 29097125243 / 9
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2026 01:48PM UTC
Files 46
Run time 15s
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

10 Jul 2026 01:43PM UTC coverage: 70.442% (-0.02%) from 70.465%
29097125243.9

push

github

web-flow
fix(session): keep the return code off the last line of output (#830)

* fix(session): keep the return code off the last line of output

The shell trailer ran `echo $?` right after the command, so when the
command's own output didn't end in a newline (say `printf abc`), the
return-code digits got appended to that last line. Parsing it as an int
then failed, returncode came back as the string "Unknown", and the real
output was corrupted or dropped entirely.

Print the return code on its own line with a leading newline, and strip
that one added newline back off the captured stdout so the output is
returned exactly as the command produced it. `printf abc` now gives
("abc", rc 0) instead of ("", "Unknown").

* fix(session): keep the stderr marker off the last line of output

The stderr trailer had the same gluing as the return code on stdout,
but worse: unterminated stderr output hid the end-marker entirely and
communicate() blocked forever. Print the marker on its own line and
strip the one injected newline, mirroring the stdout fix.

Assisted-by: ClaudeCode:claude-fable-5

---------

Co-authored-by: Henry Schreiner <henryfs@princeton.edu>

965 of 1764 branches covered (54.71%)

4428 of 6286 relevant lines covered (70.44%)

0.7 hits per line

Source Files on job test-windows-latest-3.14 - 29097125243.9
  • Tree
  • List 46
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29097125243
  • 0b132b66 on github
  • Prev Job for on master (#28547270582.9)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc