codex/codex-rs/tui/tests
Eric Traut c77c34ed33 Reduce TUI stack usage during session transitions (#44176)
## Why

Session transitions need stack headroom to rebuild configuration and the chat widget. Tokio stores task outputs inline even when it boxes the task future, so returning a large `Config` adds stack pressure during task allocation.

## What changed

Box the configuration build result inside the runtime worker and unbox it after joining. Box the `App::run` future to keep the large event loop out of enclosing startup futures.

## Testing

Extend the production-stack TUI integration test to enter `/side`, verify the process remains running, and return to the saved conversation with Ctrl+C.

GitOrigin-RevId: 44975300bb837bf3645ff762cf7bcdc44a277f41
History 2026-09-09 15:20:47 +00:00
..
fixtures Move message history out of core (#21278) 2026-05-06 08:35:42 -07:00
suite Reduce TUI stack usage during session transitions (#44176) 2026-09-09 15:20:47 +00:00
all.rs Remove the TUI test dependency on codex-cli (#38746) 2026-08-15 11:01:30 +00:00
manager_dependency_regression.rs [codex] Use expect in integration tests (#28441) 2026-06-15 21:53:47 -07:00
test_backend.rs Rename tui_app_server to tui (#16104) 2026-03-28 11:23:07 -06:00