You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running commands that have few lines but long lines, byte truncation kicks in instead of line truncation.
A good example of this can be cargo run, emitting a combination of build and log output.
Line truncation preserves both head and tail, but byte truncation currently cuts off the end of output.
This totally confuses codex, which will (for example) run a cargo build that fails, but interpret it as having succeeded (because it sees no errors in the output.
What steps can reproduce the bug?
Run any command that has few but long lines, causing byte truncation to kick in.
What is the expected behavior?
Byte truncation should – like line truncation – preserve both head and tail portions of the command output (as in this commit).
Activity
[-]Byte truncation doesn't preserve command output tails, confusing codex with compiler (e.g. cargo) output[/-][+]Byte truncation doesn't preserve command output tails, confusing codex (e.g. with cargo output)[/+]github-actions commentedon Nov 9, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
codex exectruncates command output #5095Powered by Codex Action
insilications commentedon Nov 9, 2025
This is why #5913 needs to be addressed