Undo button in VS Code Extension (Windows) does not work

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

What version of Codex is running?

0.4.0

Which model were you using?

gpt-5 high

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

In the IDE (VS Code, ask Codex to add/modify some code).
Once done press the undo button

What is the expected behavior?

That changes from latests prompt are undone

What do you see instead?

It state undo was done, but it did not if you inspect the git status

Additional information

The undo work fine if code is located in WSL

View original on GitHub ↗

5 Comments

rwjdk · 11 months ago

Still not working in 0.4.3 nor pre-release 0.5.3

rwjdk · 11 months ago

A bit more context... When the Undo button is pressed the pending changes are marked as staged in git, but nothing more

gpeal contributor · 11 months ago

Duplicate of #2997

@rwjdk if you could provide an open source repro there, that would be great.

rwjdk · 11 months ago

@gpeal : I've just tested on 0.5.5 and there is works now 👍

iva-ifkt · 4 months ago

Undo still doesn't work.

Windows 11, vscode + codex extention