Codex CLI composer background intermittently missing over SSH due to 100 ms OSC 10/11 probe timeout
Open 💬 1 comment Opened Jul 25, 2026 by jchy20
What version of Codex CLI is running?
v0.145.0
What subscription do you have?
Pro
Which model were you using?
got 5.6 sol
What platform is your computer?
Linux 5.14.0-687.24.1.el9_8.x86_64 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
iTerm2
Codex doctor report
What issue are you seeing?
Codex CLI 0.145.0 over SSH: OSC color probe completes around 97 ms; the 100 ms deadline intermittently causes default_colors=false and removes composer shading.
What steps can reproduce the bug?
Uploaded thread: 019f9829-97b2-7752-a71c-9c8c5c1eacdd
What is the expected behavior?
_No response_
Additional information
_No response_
1 Comment
This is an important tradeoff for a related focus-time fix:
The focus commit reuses the existing batched OSC 10/11 probe under one shared 100 ms deadline, rather than allowing sequential multi-second waits inside
FocusGained. It preserves previously cached colors when a focus refresh misses the deadline.It does not extend the startup timeout or solve the missing initial cache reported here. Maintainer review should consider this SSH latency case while keeping focus regain bounded and input-responsive.