You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Changes don't discard when message is reverted #42370
Changes don't discard when message is reverted (in some projects)
I use other agents too (for example: Antigravity), they successfully discard all changes from the reverted point, but in some project, open code doesn't do that
Both describe the same symptom — reverting/undoing a message does not discard the actual file changes. If your issue matches, please add a comment there with any additional context (especially around which projects it fails in vs. succeeds in, since you mention it works in some but not others).
Activity
github-actions commentedon Aug 13, 2026
This issue might be a duplicate of existing issues. Please check:
/undocommand only rolls back AI conversation message, not the associated file changes #5474:/undocommand only rolls back AI conversation message, not the associated file changesBoth describe the same symptom — reverting/undoing a message does not discard the actual file changes. If your issue matches, please add a comment there with any additional context (especially around which projects it fails in vs. succeeds in, since you mention it works in some but not others).
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊