revert and unrevert commands break File Changes in Session Summary #9269

Open
opened 2026-02-16 18:12:02 -05:00 by yindo · 1 comment
Owner

Originally created by @OpeOginni on GitHub (Feb 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Using the revert and unrevert commands messes up the Session Summary, in the video it demonstrates

Plugins

None

OpenCode version

1.1.65

Steps to reproduce

  1. Prompt for a file creation in one message
  2. Prompt for another file creation in another message
  3. Revert the last message
  4. Notice that second file that was "reverted" is the only one in the file summary for the session

Screenshot and/or share link

https://github.com/user-attachments/assets/471180c0-740c-4204-9780-50df9058eef1

Operating System

MacOS

Terminal

Ghostty

Originally created by @OpeOginni on GitHub (Feb 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Using the revert and unrevert commands messes up the Session Summary, in the video it demonstrates ### Plugins None ### OpenCode version 1.1.65 ### Steps to reproduce 1. Prompt for a file creation in one message 2. Prompt for another file creation in another message 3. Revert the last message 4. Notice that second file that was "reverted" is the only one in the file summary for the session ### Screenshot and/or share link https://github.com/user-attachments/assets/471180c0-740c-4204-9780-50df9058eef1 ### Operating System MacOS ### Terminal Ghostty
yindo added the bug label 2026-02-16 18:12:02 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2026):

Thanks for the detailed report! This issue appears to be distinct from existing revert/unrevert bugs. However, you may want to check these related issues for context:

  • #7775: Unrevert from subdirectory overwrites files in other directories with stale versions
  • #10589: Snapshot corruption causing stale content in undo/redo operations

The Session Summary file list corruption you're describing seems to be a specific manifestation of the revert functionality bug.

@github-actions[bot] commented on GitHub (Feb 13, 2026): Thanks for the detailed report! This issue appears to be distinct from existing revert/unrevert bugs. However, you may want to check these related issues for context: - #7775: Unrevert from subdirectory overwrites files in other directories with stale versions - #10589: Snapshot corruption causing stale content in undo/redo operations The Session Summary file list corruption you're describing seems to be a specific manifestation of the revert functionality bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9269