Skip to content

Stabilize split PTY output on Windows#14003

Merged
aibrahim-oai merged 1 commit intomainfrom
codex/flaky-test-stabilization-missing-pty-split
Mar 10, 2026
Merged

Stabilize split PTY output on Windows#14003
aibrahim-oai merged 1 commit intomainfrom
codex/flaky-test-stabilization-missing-pty-split

Conversation

@aibrahim-oai
Copy link
Collaborator

Summary

  • run the split stdout/stderr PTY test through the normal shell helper on every platform
  • use a Windows-native command string instead of depending on Python to emit split streams
  • assert CRLF line endings on Windows explicitly

Why this fixes the flake

The earlier PTY split-output test used a Python one-liner on Windows while the rest of the file exercised shell-command behavior. That made the test depend on runner-local Python availability and masked the real Windows shell output shape. Using a native cmd-compatible command and asserting the actual CRLF output makes the split stdout/stderr coverage deterministic on Windows runners.

@aibrahim-oai aibrahim-oai requested a review from jif-oai March 8, 2026 21:06
@aibrahim-oai aibrahim-oai merged commit 77a0290 into main Mar 10, 2026
31 checks passed
@aibrahim-oai aibrahim-oai deleted the codex/flaky-test-stabilization-missing-pty-split branch March 10, 2026 17:25
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant