You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[windows-integration] Bound Windows CLI integration output capture #71557
Static review found one remaining unbounded wait in the Windows integration workflow. The CLI process has an exit timeout, but the output readers can still keep the job waiting after that process exits.
Finding
In .github/workflows/windows-cli-integration.yml, Invoke-CliProcess calls ReadToEndAsync() for stdout and stderr, then uses unbounded GetAwaiter().GetResult() calls after WaitForExit($TimeoutMs) succeeds. If another process inherits either redirected handle, the CLI process can exit while a reader remains open, leaving the integration step hung without the TIMEOUT diagnostic.
Requested update
Bound stdout and stderr draining after process exit, report a clear timeout with the command, elapsed time, and captured output, and add a regression scenario for the parent-exited/pipe-still-open case. Keep the total wait bounded even during cleanup.
Review detail
The existing timeout branch already bounds cleanup reads after killing a timed-out process (lines 149–155). The success branch at lines 158–160 does not apply a corresponding bound to either reader task.
Activity