mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
## Why Session transitions need stack headroom for embedded-server initialization and configuration loading. Running them inside event dispatch risks exhausting the TUI thread's stack. ## What changed - Queue `/resume` and valid `/cd` requests for processing after event dispatch returns. - Reject additional `/cd` requests while one is pending, and recheck the source session, working directory, idle state, and remote-environment restrictions before applying it. ## Testing Add a Unix PTY regression test that exercises `/resume`, worktree conversation forks, `/cd`, and new worktree conversations through the real TUI event loop. Update the directory-change test to verify that dispatch queues the request without immediately changing configuration. GitOrigin-RevId: 4950921931dfaba9e55e6bb04f98f7ba64b72122
12 lines
242 B
Rust
12 lines
242 B
Rust
// Aggregates all former standalone integration tests as modules.
|
|
#[cfg(unix)]
|
|
mod focus_palette;
|
|
#[cfg(unix)]
|
|
mod reconnect;
|
|
mod resize_reflow;
|
|
mod status_indicator;
|
|
mod vt100_history;
|
|
mod vt100_live_commit;
|
|
#[cfg(unix)]
|
|
mod worktree_stack;
|