[PR #12220] fix(app): fix for stale sidebar sessions when switching projects #14124

Closed
opened 2026-02-16 18:18:56 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12220

State: closed
Merged: No


What does this PR do?

Made it so that the sessions store resubscribes when props.project.worktree changes. Should solve the staleness problem when switching between projects. Fixes #12215

How did you verify your code works?

Tested manually in the UI to see if I achieved expected behavior

After
https://github.com/user-attachments/assets/753c4b56-f3a6-4c85-a946-065f5f6a7f13.mov

Before
https://github.com/user-attachments/assets/e1d8875d-dbe9-4be4-adc7-94d12d0b305e.mov

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12220 **State:** closed **Merged:** No --- ### What does this PR do? Made it so that the sessions store resubscribes when `props.project.worktree` changes. Should solve the staleness problem when switching between projects. Fixes #12215 ### How did you verify your code works? Tested manually in the UI to see if I achieved expected behavior After https://github.com/user-attachments/assets/753c4b56-f3a6-4c85-a946-065f5f6a7f13.mov Before https://github.com/user-attachments/assets/e1d8875d-dbe9-4be4-adc7-94d12d0b305e.mov
yindo added the pull-request label 2026-02-16 18:18:56 -05:00
yindo closed this issue 2026-02-16 18:18:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14124