codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open rwjdk opened this issue 5 months ago • 2 comments

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

rwjdk avatar Sep 03 '25 12:09 rwjdk

Still not working in 0.4.3 nor pre-release 0.5.3

rwjdk avatar Sep 05 '25 23:09 rwjdk

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

rwjdk avatar Sep 06 '25 05:09 rwjdk

Duplicate of #2997

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

gpeal avatar Sep 08 '25 19:09 gpeal

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

rwjdk avatar Sep 08 '25 19:09 rwjdk