Unable to Revert Changes in VS Code Codex Extension

Description

I am experiencing an issue with the Codex extension in VS Code where the Revert Changes functionality does not work correctly.

When I click Revert Changes, the extension displays the following message:

No changes reverted
There were issues reverting some files

The affected files are listed under the “Skipped” section.

Steps to Reproduce

  1. Open a project in VS Code.
  2. Use Codex to make changes to one or more files.
  3. Click Revert Changes (or Undo/Revert from the Codex UI).
  4. Observe that the revert operation fails and the files remain modified.

Actual Behavior

  • Revert operation fails.
  • A popup appears indicating that no changes were reverted.
  • Some files are listed as skipped.
  • The modified files remain unchanged.

Expected Behavior

  • All changes made by Codex should be reverted successfully.
  • Files should return to their previous state before the Codex modification.
  • No files should be skipped unless a clear reason is provided.

Environment

  • VS Code Version: 1.123.0
  • Codex Extension Version: 26.5602.30954
  • Operating System: Windows

Welcome to the forum!

You are welcome to discuss Codex issues on the forum, however the official place to report and track them is the GitHub issue tracker for OpenAI Codex.

I had ChatGPT look for the closest related issue and it identified:

If that issue matches your problem, consider adding a :+1: reaction on the GitHub issue page itself, not just on the forum topic, as reactions on GitHub help the developers gauge impact and prioritize work.

If it is not the same issue, try searching the existing GitHub issues for a closer match. If you cannot find one, then open a new issue with as much detail as possible.

@EricGT Thanks for guiding me to the right platform for posting this. I checked and found that the same issue has already been reported there.