core-agent-ide/codex-rs/utils/pty/src
Eric Traut 10336068db
Fix flaky windows CI test (#10993)
Hardens PTY Python REPL test and make MCP test startup deterministic

**Summary**
- `utils/pty/src/tests.rs`
- Added a REPL readiness handshake (`wait_for_python_repl_ready`) that
repeatedly sends a marker and waits for it in PTY output before sending
test commands.
  - Updated `pty_python_repl_emits_output_and_exits` to:
    - wait for readiness first,
    - preserve startup output,
    - append output collected through process exit.
- Reduces Windows/ConPTY flakiness from early stdin writes racing REPL
startup.

- `mcp-server/tests/suite/codex_tool.rs`
- Avoid remote model refresh during MCP test startup, reducing
timeout-prone nondeterminism.
2026-02-07 08:55:42 -08:00
..
win feat: fallback unified_exec to shell_command (#8075) 2025-12-17 10:29:45 +00:00
lib.rs chore: close pipe on non-pty processes (#9369) 2026-01-16 15:54:32 +01:00
pipe.rs feat: detach non-tty childs (#9477) 2026-01-19 11:35:34 +00:00
process.rs feat: adding piped process to replace PTY when needed (#8797) 2026-01-14 18:44:04 +00:00
process_group.rs Process-group cleanup for stdio MCP servers to prevent orphan process storms (#10710) 2026-02-06 21:26:36 -08:00
pty.rs feat: adding piped process to replace PTY when needed (#8797) 2026-01-14 18:44:04 +00:00
tests.rs Fix flaky windows CI test (#10993) 2026-02-07 08:55:42 -08:00