Missing diff in summary

Resolved 💬 3 comments Opened Oct 13, 2025 by matssk Closed Nov 23, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.46

Which model were you using?

_No response_

What platform is your computer?

_No response_

What steps can reproduce the bug?

When editing it sometimes show the diff and sometimes only show the number of lines added.

Sometimes I see:

• Edited {filename} (+2 -2)
DIFF IS SHOWN HERE

In the example above it will show the diff.

Then we have the following as shown below, where it will not show the diff, instead it only shows the number of lines that has been edited:

$ apply_patch << 'PATCH'
* Begin Patch
* Update File: {filename}
│ … +17 lines
└ Success. Updated the following files: {filename}
DIFF IS NOT SHOWN HERE

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

etraut-openai contributor · 9 months ago

I think this has been fixed in newer versions of codex, so I'm going to close. If you see this with the latest version, please let us know and I'll reopen.

dreamrandomhub · 9 months ago

Missing diff in summary still. Become worse after Codex-MAX!

matssk · 9 months ago
Missing diff in summary still. Become worse after Codex-MAX!

Did you check that it actually made the edits? I haven't seen the missing diffs lately, but quite often when context is running low it will start hallucinating making the edits. It will say it's edited stuff, without actually editing anything and I have to restart in a new session.