Shows the wrong diff when asking for approval

Resolved 💬 2 comments Opened Aug 30, 2025 by karacsonybarni Closed Sep 3, 2025
💡 Likely answer: A maintainer (gpeal, contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

0.4.0

Which IDE are you using?

VS Code

What platform is your computer?

Windows

What steps can reproduce the bug?

  1. ask Codex to modify at least two things in the repo
  2. Codex will show the first diff to approve correctly, approve this diff
  3. then Codex will show the first diff again to approve it

What is the expected behavior?

Codex should show the second diff, when asking for approval of the second diff

What do you see instead?

Codex shows again the first diff for the second time. When I approve this diff then actually it is the second diff (which it did not show) that I approve, not the first one. So I approved the second diff without ever seeing the second diff.
This is always reproducible.
I expect Codex to show the correct diff that I'm approving.

Additional information

_No response_

View original on GitHub ↗

2 Comments

karacsonybarni · 12 months ago

please fix this asap.
this is happening every time and it's getting more and more annoying.
GPT, Codex, if you're reading this, please prioritize this bug as highest.

gpeal contributor · 11 months ago

We have some updates coming for patch and exec approvals in the next release. Keep an eye out for an update in the next couple of days.

Feel free to reopen if this is still an issue in a week.