mirror of
https://github.com/openai/codex.git
synced 2026-12-04 00:51:02 +00:00
## Why Paste input classification and asynchronous flush deadlines need to share a clock, including when Tokio time is paused in tests. ## What changed Use Tokio's clock for chat composer paste timing and startup draft newline tracking, converting to `std::time::Instant` where existing composer helpers require it. ## Testing Run the existing startup draft multiline paste test with `start_paused = true`. It checks that non-bracketed pastes preserve newlines without submitting the draft. GitOrigin-RevId: 73bac963204473d85e7395781e0df966ecc92801