Skip to content

Conversation

@rmvangun
Copy link
Contributor

  • Refactor ExecProgress to use sync.WaitGroup for stdout/stderr goroutines
  • Call CmdWait after both goroutines finish to avoid race conditions
  • Treat io.EOF and closed pipe errors as non-errors in output readers
  • Always print full stdout/stderr and error details on failure
  • Add diagnostic logging for command, args, and error
  • No change to user-facing behavior or output
  • Should eliminate "file already closed" CI flake and improve debuggability

@rmvangun rmvangun self-assigned this May 16, 2025
@rmvangun rmvangun added the bug Something isn't working label May 16, 2025
@rmvangun rmvangun merged commit 8b7ba3d into main May 16, 2025
12 of 13 checks passed
@rmvangun rmvangun deleted the fix/robust-shell-execprogress branch May 16, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants