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
Session switcher only shows a few sessions when many subagent sessions exist #32725
The TUI session switcher can show only a few top-level sessions when a project has many recently updated subagent/child sessions.
The sync cache loads recent sessions with the default server limit, then the session dialog filters out child sessions on the client. If child sessions consume most of that limit, older top-level sessions are absent from the non-search /sessions list even though they still exist and can be found by search.
Plugins
None required
OpenCode version
1.17.7
Steps to reproduce
Use a project with more than 100 recent sessions where most are subagent/child sessions.
Open the TUI session switcher with /sessions.
Observe that only a small subset of top-level sessions is shown.
Search for an older top-level session and observe that it can still be found.
Activity
github-actions commentedon Jun 17, 2026
This issue might be a duplicate of existing issues. Please check:
Both were previously closed — if the problem has regressed in 1.17.7, please note that in this issue and reference those prior issues for context.
fix(tui): load root sessions in session switcher (anomalyco#33931)
fix(tui): load root sessions in session switcher (anomalyco#33931)
fix(tui): load root sessions in session switcher (anomalyco#33931)
sync: merge upstream/dev catch-up (629 commits) (#31)
fix(test): resolve shell/cwd unit-test failures surfaced by GitHub-ho…
fix(tui): load root sessions in session switcher (#33931)
fix(tui): load root sessions in session switcher (anomalyco#33931)