VS Code extension fails to revert Codex changes and reports files as skipped
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- vscode
- Domain
- developer-experience
Research direction
Start by reproducing the VS Code extension flow in a Git repository on the reported Windows environment: apply Codex changes, then use the revert action and inspect why the listed file is skipped. Trace the revert entry point and its handling of unavailable, moved, or conflicting files. Done means changed files are restored or each skipped file reports a specific reason.
Written by the indexing model from the issue text.
Description
What version of the IDE extension are you using?
v26.707.91948
What subscription do you have?
Pro
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The Codex extension in VS Code is unable to revert changes it previously made.
Whenever I click the option to revert Codex's changes, I receive the following message:
No changes reverted
There were issues reverting some files
Skipped (1)
Example skipped file:
tests/e2e/administration/user-management.spec.js
The affected filename varies depending on which file Codex modified. This happens repeatedly, and the extension does not explain why the file was skipped.
What steps can reproduce the bug?
- Open a Git repository in VS Code.
- Use the Codex extension to make changes to one or more files.
- Allow Codex to apply the changes.
- Use the Codex UI to revert the changes.
- Observe that no changes are reverted and one or more files are listed as skipped.
The issue occurs consistently for me, although the skipped filename changes depending on the files modified by Codex.
What is the expected behavior?
The Codex extension should restore every file it changed to its exact state before the Codex changes were applied.
If a file cannot be reverted, the extension should provide a specific reason, such as:
- the file was modified after Codex applied its changes
- the file was renamed, deleted, or moved
- the working tree contains conflicting changes
- the original file state is unavailable
Additional information
No response
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·