codex/codex-rs/cli
Eric Traut 3422443ec4 Treat non-interactive dumb terminals as warnings in codex doctor (#44615)
## Why

`TERM=dumb` should not fail the terminal check when neither stdin nor stdout is a terminal. Terminal warnings should also not obscure more severe issues such as unreadable terminfo.

## What changed

- Report `TERM=dumb` as a warning in non-interactive runs, without suggesting a replacement `TERM` value. Keep it a failure when stdin or stdout is a terminal.
- Sort terminal issues by descending severity so failures appear first.

## Testing

Add coverage for terminal stream combinations, human output snapshots, and a non-interactive JSON report that retains an overall failure and exit code `1` when another check fails.

GitOrigin-RevId: 9af5483e371b4b06eb50e8fcdf15704f0bbc33f1
History 2026-09-10 18:40:07 +00:00
..
e2e_benches bench: add codex help e2e macrobenchmark (#31295) 2026-07-09 17:23:44 -07:00
src Treat non-interactive dumb terminals as warnings in codex doctor (#44615) 2026-09-10 18:40:07 +00:00
tests Treat non-interactive dumb terminals as warnings in codex doctor (#44615) 2026-09-10 18:40:07 +00:00
BUILD.bazel Isolate Bazel build commit metadata from Rust compilation inputs (#43304) 2026-09-06 23:49:46 +00:00
build.rs Add WebRTC media transport to realtime TUI (#17058) 2026-04-08 10:26:55 -07:00
Cargo.toml Remove the deprecated codex mcp-server command (#42993) 2026-09-05 12:17:32 +00:00