Skip to content

fix(tui): fix flicker by avoiding redundant workspace session sync#26997

Merged
jlongster merged 1 commit into
devfrom
fix/tui-workspace-session-sync
May 12, 2026
Merged

fix(tui): fix flicker by avoiding redundant workspace session sync#26997
jlongster merged 1 commit into
devfrom
fix/tui-workspace-session-sync

Conversation

@jlongster
Copy link
Copy Markdown
Contributor

@jlongster jlongster commented May 12, 2026

Issue for this PR

N/A

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Stops clearing the TUI session full-sync cache when switching workspaces. TUI events are now scoped by project, so sessions in inactive workspaces continue receiving updates and do not need to be force-refetched solely because the active workspace changed.

Also prevents the session route load effect from tracking the current workspace read. The effect can update the active workspace while loading a session, and that workspace write should not retrigger the same session load.

How did you verify your code works?

  • Push hook ran bun turbo typecheck

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@jlongster jlongster changed the title fix(tui): avoid redundant workspace session sync fix(tui): fix flicker by avoiding redundant workspace session sync May 12, 2026
@jlongster jlongster merged commit e36bc20 into dev May 12, 2026
16 checks passed
@jlongster jlongster deleted the fix/tui-workspace-session-sync branch May 12, 2026 04:30
sdeonvacation added a commit to sdeonvacation/opencode-x that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant