GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Session switcher only shows a few sessions when many subagent sessions exist · Issue #32725 · anomalyco/opencode

Session switcher only shows a few sessions when many subagent sessions exist #32725

New issue
Copy link
New issue
Copy link
Closed
#33931
Closed
Session switcher only shows a few sessions when many subagent sessions exist#32725
#33931
Copy link
Assignees
simonklee

Description

@cwj2001
cwj2001
opened on Jun 17, 2026
Issue body actions

Description

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

  1. Use a project with more than 100 recent sessions where most are subagent/child sessions.
  2. Open the TUI session switcher with /sessions.
  3. Observe that only a small subset of top-level sessions is shown.
  4. Search for an older top-level session and observe that it can still be found.

Screenshot and/or share link

Not available

Operating System

Linux

Terminal

VS Code terminal

Activity

  1. github-actions
    assigned
    simonklee
    on Jun 17, 2026
  2. github-actions commented on Jun 17, 2026

    @github-actions
    github-actionsBot
    on Jun 17, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • TUI session list can hide sessions when recent rows are subagents #30606: TUI session list can hide sessions when recent rows are subagents (same root cause: client-side filtering after server-limited fetch lets child sessions crowd out root sessions)
    • bug(tui): Switch Session can hide recent root sessions behind child sessions #23277: bug(tui): Switch Session can hide recent root sessions behind child sessions (identical repro scenario and mechanism)

    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.

  3. simonklee
    closed this as completedin e7c59b1on Jun 25, 2026
  4. pull
    added a commit that references this issue on Jun 25, 2026

    fix(tui): load root sessions in session switcher (anomalyco#33931)

    This issue will close once commit e7c59b1 is merged into the 'dev' branch.
    e7c59b1
  5. BenGu3
    added a commit that references this issue on Jun 27, 2026

    fix(tui): load root sessions in session switcher (anomalyco#33931)

    This issue will close once commit 7afc214 is merged into the 'dev' branch.
    7afc214
  6. github-actions
    added a commit that references this issue on Jun 27, 2026

    fix(tui): load root sessions in session switcher (anomalyco#33931)

    This issue will close once commit 908847a is merged into the 'dev' branch.
    908847a
  7. lacymorrow
    added a commit that references this issue on Jun 29, 2026

    sync: merge upstream/dev catch-up (629 commits) (#31)

    This issue will close once commit 2602aff is merged into the 'lash' branch.
    2602aff
  8. lacymorrow
    added a commit that references this issue on Jul 9, 2026

    fix(test): resolve shell/cwd unit-test failures surfaced by GitHub-ho…

    This issue will close once commit e3cb8f7 is merged into the 'lash' branch.
    e3cb8f7
  9. MarsQiu007
    added a commit that references this issue on Jul 31, 2026

    fix(tui): load root sessions in session switcher (#33931)

    This issue will close once commit 27dc14b is merged into the 'main' branch.
    27dc14b
  10. rldona
    added a commit that references this issue on Sep 24, 2026

    fix(tui): load root sessions in session switcher (anomalyco#33931)

    This issue will close once commit 5a7dc85 is merged into the 'main' branch.
    5a7dc85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @simonklee
    simonklee

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.