Skip to content

fix(desktop): Refresh file contents when changing workspaces to not have stale contents#11728

Merged
adamdotdevin merged 1 commit intoanomalyco:devfrom
ParkerSm1th:fix/workspace-files-stale
Feb 4, 2026
Merged

fix(desktop): Refresh file contents when changing workspaces to not have stale contents#11728
adamdotdevin merged 1 commit intoanomalyco:devfrom
ParkerSm1th:fix/workspace-files-stale

Conversation

@ParkerSm1th
Copy link
Contributor

@ParkerSm1th ParkerSm1th commented Feb 2, 2026

Fixes #11727

What does this PR do?

This PR fixes the stale file contents that occur when switching workspaces. Before this PR, switching workspaces and opening files would reflect stale file content not the latest file content for that worktree.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Ran desktop app, made changes in both worktrees, verified they showed up differently

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@adamdotdevin adamdotdevin merged commit 41bc4ec into anomalyco:dev Feb 4, 2026
7 checks passed
dmae97 pushed a commit to dmae97/opencode that referenced this pull request Feb 5, 2026
01luyicheng pushed a commit to 01luyicheng/opencode that referenced this pull request Feb 5, 2026
fanjia1024 pushed a commit to fanjia1024/opencode that referenced this pull request Feb 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Feb 13, 2026
schneiderlo pushed a commit to schneiderlo/opencode that referenced this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Desktop App: Workspace file tree/files is not reflective of worktree current status, just the first the loaded

2 participants