Skip to content

util/helper: fix process output getting truncated#1901

Open
zachdeibert wants to merge 1 commit into
labgrid-project:masterfrom
zachdeibert:proc-out-truncated
Open

util/helper: fix process output getting truncated#1901
zachdeibert wants to merge 1 commit into
labgrid-project:masterfrom
zachdeibert:proc-out-truncated

Conversation

@zachdeibert

Copy link
Copy Markdown

Description

A process that logs a lot of data before exiting could have its output truncated because ProcessWrapper used to stop reading the pipe once the process exits, but instead should always read to the end of the pipe.

Checklist

  • PR has been tested

A process that logs a lot of data before exiting could have its output
truncated because ProcessWrapper used to stop reading the pipe once the
process exits, but instead should always read to the end of the pipe.

Signed-off-by: Zachary Deibert <Zachary.Deibert@garmin.com>
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.9%. Comparing base (be8f3a2) to head (11d5d22).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1901   +/-   ##
======================================
  Coverage    45.9%   45.9%           
======================================
  Files         180     180           
  Lines       14496   14496           
======================================
  Hits         6666    6666           
  Misses       7830    7830           
Flag Coverage Δ
3.10 45.9% <100.0%> (ø)
3.11 45.9% <100.0%> (ø)
3.12 45.9% <100.0%> (ø)
3.13 45.9% <100.0%> (ø)
3.14 45.9% <100.0%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant