Skip to content

fix(test): avoid Windows stderr pipe hang - #567

Open
skhaz wants to merge 1 commit into
mainfrom
fix/windows-stderr-drain
Open

fix(test): avoid Windows stderr pipe hang#567
skhaz wants to merge 1 commit into
mainfrom
fix/windows-stderr-drain

Conversation

@skhaz

@skhaz skhaz commented Aug 10, 2026

Copy link
Copy Markdown
Member

Reason for This PR

The Windows CI test TestExecutor_Stderr timed out because the PowerShell child could retain stderr’s pipe handle, preventing EOF before Wait.

Description of Changes

Use cmd /c to emit the test stderr output; cmd closes its inherited stderr handle on exit.

Validation

  • GOEXPERIMENT=jsonv2 go test ./service/exec/native -v -race -short -run ^'TestExecutor_Stderr$' -count=20\n- make lint\n- GORACE=\halt_on_error=1\ SKIP_TEMPORAL_TESTS=1 SKIP_CLOUDSTORAGE_TESTS=1 SKIP_DOCKER_TESTS=1 make test

@skhaz
skhaz requested a review from wolfy-j August 10, 2026 19:23
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