Skip to content

Undo does not work #3567

Description

@Polinarium

What version of the VS Code extension are you using?

0.4.6

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

  1. Ask codex in full agent mode to make a change to file
  2. It makes a change a shows a diff window in chat
  3. Click Undo at the top of the diff window
  4. Green notification comes up showing changes reverted message but changes are not reverted in the file

What is the expected behavior?

The changes shown in the diff window that were applied to file should be undone/reverted.

What do you see instead?

The green message box with "Changes reverted" but the file still shows the updated content that was not reverted. Opening closing file does not make a difference.

Image

Additional information

Tried several times between software restarts - the same issue persists.
Agent does not offer any insight or report any issue, says its a bug in the UI and offered to revert the changes himself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions