Skip to content

"Failed to revert changes" when clicking "undo" button #7306

Closed as duplicate

Description

@aemotyka

What version of Codex is running?

codex-cli 0.61.1-alpha.1

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex (issue occurs regardless of model)

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

When clicking the "undo" button after codex makes changes, I get a red toast message saying "Failed to revert changes". This issue occurs on all models, whether or not I am using a git repo, on all 3 of my computers, etc.

Note that this is the same as issue #2997, but that appeared to have gotten "resolved" despite many people commenting that they were still experiencing the issue.

What steps can reproduce the bug?

  1. Have codex make any changes to a repo.
  2. Click "undo" on the most recent change that codex makes.

What is the expected behavior?

Clicking the "undo" button reverts that change.

Additional information

Image

Activity

  1. added
    bug
    on Nov 25, 2025
  2. added
    codex-web
    on Nov 25, 2025
  3. github-actions commented on Nov 25, 2025

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. added
    extension
    CLI
    and removed
    codex-web
    extension
    on Nov 25, 2025
  5. etraut-openai commented on Nov 25, 2025

    @etraut-openai
    Contributor

    Closing in favor of #7291

  6. aemotyka commented on Nov 25, 2025

    @aemotyka
    Author

    @etraut-openai thanks! didn't realize there was already a new issue open

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

    CLIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions