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
[BUG] File modifications from other sessions appear unexpectedly in current session version1.18.13 #40574
When working across multiple OpenCode sessions simultaneously, file modifications made in one session unexpectedly appear or get reflected in another session's workspace. This creates confusion and potential data inconsistency issues, as each session should maintain its own independent file state unless explicitly synced through version control.
The bug manifests when:
User has Session A and Session B open (either in separate windows or tabs)
User modifies files in Session A
User switches to Session B and observes that the file changes from Session A are already reflected in Session B's editor/file tree
This happens without explicit file synchronization or version control operations
This violates the expected isolation between concurrent sessions and can lead to accidental overwrites or confusion about which session owns which file state.
Plugins
No response
OpenCode version
No response
Steps to reproduce
Open OpenCode and create or select a project
Create two separate sessions (Session A and Session B) in the same project
In Session A, open a file (e.g., src/app.ts or any text file)
Modify the file content in Session A (add text, change lines, etc.)
Switch to Session B
Observe that the same file in Session B now shows the modifications made in Session A
Verify that no explicit save/sync operation was performed between sessions
Expected behavior:
Session B should show the original file content or at least require explicit sync
File changes should be isolated per session unless synchronized through version control
Actual behavior:
Session B immediately reflects changes made in Session A
This creates unintended cross-session dependencies
changed the title [-][BUG] File modifications from other sessions appear unexpectedly in current session[/-][+][BUG] File modifications from other sessions appear unexpectedly in current session version1.18.13[/+]on Aug 5, 2026
Activity
github-actions commentedon Aug 5, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (e.g., it occurs in specific conditions not covered by those reports), please clarify the differences.
[-][BUG] File modifications from other sessions appear unexpectedly in current session[/-][+][BUG] File modifications from other sessions appear unexpectedly in current session version1.18.13[/+]github-actions commentedon Oct 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.