[Codex Extension] The "Codex Diff" window/viewer doesn't show the diff changes made by Codex in VS Code
What version of the VS Code extension are you using?
Version 0.4.43
What subscription do you have?
Plus
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The ‘Codex Diff’ window that displays the changes made by the Codex Extension cannot be expanded to view the actual diff.
What steps can reproduce the bug?
Ask Codex to change a file and click the "View All Changes" button in the Codex chat. You will note that attempting to expand the changed files to see the differences will do nothing.
What is the expected behavior?
You should be able to see the differences made by Codex in the "Codex Diff" window (tab).
Additional information
No response
The same issue does not display differences
The code rollback did not respond
Does this happen to all of your diffs or just this one? If you find one that fails, could you run a git diff and attach the diff here? We recently updated our git parser and I'd like to get to the bottom of any regressions it might have.
From time to time, for example after modifying five files, two of them show as modified, but when I click to view the diff, nothing happens. I’ve already rolled Codex back to last week’s version, and after testing it, it works again.
From time to time, for example after modifying five files, two of them show as modified, but when I click to view the diff, nothing happens. I’ve already rolled Codex back to last week’s version, and after testing it, it works again.
Most of the files modified during the conversation now appear unchanged, so I’ve tested this on multiple devices. I don’t think you’ve fully tested the new version — the previous version had similar issues as well. Are you expecting users to help you test it?
I'm experiencing the same issue—the diff isn't displaying.
This is quite perplexing—I can't figure out where codex make the changes unless I open Git to check.
can you use git to generate a patch (of the diff that wont render) and upload here?
i have the same issue, the Codex Diff not showing any changes
I was exploring what could be done with the extension, so I asked it to do a stupid change to see how it would display the diff output. The file was XML, and it changed a "true" to "false" for option3
<options option1="true" option2="false" option3="true"> <option name="one"> <appliesTo> <category>BLABLA</category> </appliesTo> </option> </options>
Ultimately, it displays some changes and doesn't for others.
Diff view in codex extension is too hard to use... Claude code and roocode call the diff view inside vscode, and allow partially accept changes. That is more efficient!
I have the same issue, no changes shown, clicking expand on an individual change in the Codex Diff window does nothing. Happens for all file changes made so far.
+1 Had this same problem since last week
+1 same problem
I have the same issue, no changes shown, clicking expand on an individual change in the Codex Diff window does nothing. Happens for all file changes made so far.
Sometimes if there is a single file changed the codex diff window opens with the changes visible
yes me too. sometime it doesn't show anything even after clicking the expand button
Add 1 more user to the list of those who have this problem :) Its expand button doesn't work on Codex Diff and even in the chat section, which previously would show, and when it asks for permission to allow the changes (I am using the chat mode), so basically I cannot see what it changes, which is essential for me. Using git diff is not the best, because I don't commit per prompt, and the previous changes will be shown in there as well.
Thanks for the reports. We have a new version (0.4.44/0.5.44 pre-release) rolling out tomorrow that has a potential fix for this. Once it does, coud you let me know if you're still seeing this?
If you are, could somebody attach a git diff that we can use to reproduce the issue with?
same issue here guys:
+1 same issue
@kazakhokage @tmandanici We're releasing an update with support for the new gpt-5.1-codex-max model today and it includes a potential fix for this. If you update and still see this, please capture and post a git diff so that I can reproduce it.
@gpeal
Still an issue after the release with gpt-5.1-codex-max...
Here is the sample git diff
from codex copy button(with paths redacted, shouldn't change the behavior)
diff --git a/c:\redacted/Startup.cs b/c:\redacted/Startup.cs
--- a/c:\redacted/Startup.cs
+++ b/c:\redacted/Startup.cs
@@ -86,6 +86,10 @@
// Enable SoapCore; this middleware provides translation services from WCF/SOAP to Asp.net
- services.AddSoapCore();
-
- services.AddMemoryCache();
- services.AddSingleton<IDistributedCache>(_ => new FileSystemDistributedCache(CacheDatabasePath));
+ services.AddSoapCore();
+
+ services.AddMemoryCache(options =>
+ {
+ // Limit in bytes; ensures entries must declare their size.
+ options.SizeLimit = 1L * 1024 * 1024 * 1024; // 1 GB
+ });
+ services.AddSingleton<IDistributedCache>(_ => new FileSystemDistributedCache(CacheDatabasePath));
I have already used your latest pre release version, and it seems that I still have this issue. Can we modify the preview of the code differences to something similar to cursor, which feels better? Friends can leave a message to discuss whether this is good or not
I have already used your latest pre release version, and it seems that I still have this issue. Can we modify the preview of the code differences to something similar to cursor, which feels better? Friends can leave a message to discuss whether this is good or not
I think if it could be done like this, I could just give up on cursor
I'm curious if this is a windows-only issue. Please 👍 this message if you are experiencing this on Windows or 👎 if you have seen this on mac or linux.
If somebody could attach a raw text diff file to ensure it properly captures things like CRLF line endings, that would be great.
I'm curious if this is a windows-only issue. Please 👍 this message if you are experiencing this on Windows or 👎 if you have seen this on mac or linux.
If somebody could attach a raw text diff file to ensure it properly captures things like CRLF line endings, that would be great.
👍
But when it sometimes work, I can see that the diff uses CRLF line endings.
It seems like this issue comes from somewhere else even if it's an Windows specific issue..
@gpeal I still have the same issue, even with gpt-5.1-codex-max from the latest release. Nothing has changed.
Now i don't even see the indicator for lines changed anymore :(