
Ahmed IbrahimandGitHub
952656356a
[codex] Warn clearly when code mode output is truncated (#28467)
## Summary
- make `formatted_truncate_text` prepend `Warning: truncated output
(original token count: N)` above the existing `Total output lines`
header
- update direct formatter, unified-exec, user-shell, and code-mode
expectations
- add core unit coverage that runs in Bazel without requiring the
skipped V8-backed code-mode integration suite
## Validation
- `cargo test -p codex-utils-output-truncation -- --nocapture` (17
passed)
- `cargo test -p codex-core --lib
truncated_text_output_starts_with_warning -- --nocapture`
- `cargo test -p codex-core --test all
clamps_model_requested_max_output_tokens_to_policy -- --nocapture` (2
passed)
- `cargo test -p codex-core --test all
unified_exec_formats_large_output_summary -- --nocapture`
- `cargo test -p codex-core --test all
user_shell_command_output_is_truncated_in_history -- --nocapture`
- Bazel CI exercises the shared formatter and downstream integration
expectations
2026-06-16 10:37:06 -07:00
..
2026-06-12 13:50:04 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 14:21:28 +02:00
2026-06-15 21:53:47 -07:00
2026-05-27 11:09:33 -07:00
2026-06-15 20:10:53 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-16 10:37:06 -07:00
2026-05-14 16:15:56 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-05-14 18:04:26 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-11 16:32:52 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 00:38:41 +00:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 15:05:28 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-11 16:32:52 -07:00
2026-05-18 21:03:51 -07:00
2026-06-11 23:23:44 -07:00
2026-06-10 20:42:55 -07:00
2026-06-15 21:53:47 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-02 12:10:14 +02:00
2026-06-10 20:42:55 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 15:05:28 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 10:07:19 +00:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 08:06:14 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 14:34:54 +02:00
2026-06-11 15:10:29 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 10:37:06 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 10:37:06 -07:00
2026-06-16 00:38:41 +00:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-03 15:33:34 -07:00