exec.Cmd.Wait closes the stdout/stderr pipes on process exit, which discards buffered output the scanners have not read yet - a race that dropped progress lines and stderr tails on CI. Readers now drain to EOF first, then Wait reaps the process and returns the exit code. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>pull/3582/head
parent
456a513034
commit
ee55d2006b
Loading…
Reference in new issue