One OpenCode session's modified files appear in another session's Modified Files list in the same repo #4706

Open
opened 2026-02-16 17:45:07 -05:00 by yindo · 1 comment
Owner

Originally created by @AndyRightNow on GitHub (Jan 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Is it an expected behavior? The problem is that, when I revert the message in session B but session A is currently making changes in the same repo and the same branch, reverting session B will also revert changes by session A.

Plugins

No response

OpenCode version

1.1.12

Steps to reproduce

  1. Start 2 cli tabs with 2 opencode sessions
  2. Make changes in session A and chat in session B at the same time
  3. Revert messages in session B

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

Originally created by @AndyRightNow on GitHub (Jan 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Is it an expected behavior? The problem is that, when I revert the message in session B but session A is currently making changes in the same repo and the same branch, reverting session B will also revert changes by session A. ### Plugins _No response_ ### OpenCode version 1.1.12 ### Steps to reproduce 1. Start 2 cli tabs with 2 opencode sessions 2. Make changes in session A and chat in session B at the same time 3. Revert messages in session B ### Screenshot and/or share link _No response_ ### Operating System macOS 26.2 ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:45:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #4251: Concurrent sessions working on different repos interfere each other
  • #7555: Session Changes / Modified Files show changes from origin/main
  • #6903: opencode report internal files as modified files in the session

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 11, 2026): This issue might be a duplicate of existing issues. Please check: - #4251: Concurrent sessions working on different repos interfere each other - #7555: Session Changes / Modified Files show changes from origin/main - #6903: opencode report internal files as modified files in the session Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4706