Skip to content

TUI /sessions shows a working spinner while waiting for an answer or permission #52744

Closed as duplicate

Description

@izakrobles

Description

In /sessions, a session waiting for a question answer or permission still shows the working spinner. This makes a blocked session look like it is progressing.

The current v2 picker checks running execution but does not check pending forms or permissions. Session tabs already distinguish these states, including requests from child sessions.

Proposed fix: a small informational dot for questions and the existing warning triangle (△) for permissions, with Answer required or Permission required text. Permission takes precedence over questions, and pending input takes precedence over the spinner. Resolving the request restores the normal working/idle indicator.

OpenCode version

Current v2 source at e2a700dc9012f4c8bec8c97c11067af7d5436709 (2.0.22). The supplied screenshots do not specify a version.

Steps to reproduce

  1. Start a session that asks a question or requests a permission.
  2. Leave the request pending and open /sessions.
  3. The session shows a working spinner instead of indicating required input.

Screenshot and/or share link

The supplied screenshots were inspected privately; user session content is omitted.

Activity

  1. github-actions commented on Oct 2, 2026

    @github-actions
    Contributor

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

    • #27772: requests a visual indicator for sessions needing attention, including pending questions or requests.
    • #30272: proposes status indicators that distinguish active work from idle or pending question/permission states.
    • #48482: asks the terminal title to distinguish waiting for a question or permission from active work.
  2. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report, and for pointing out that session tabs already handle this.

    I think this is a duplicate of the work in #53435, which fixed this problem. That PR merged after 2.0.22 and first shipped in v2.1.4. Since then, /sessions (and the Ctrl+O Open menu) shows ! for a pending permission and ? for a pending question instead of the working spinner, including when the request comes from a child session. Permission takes precedence over a question, and the normal spinner or idle state comes back once the request is resolved.

    Possible duplicates and related items, ordered by likelihood:

    The markers that shipped differ from your proposal (a dot or △ with "Answer required"/"Permission required" text), but the underlying problem should be gone. Could you upgrade to v2.1.4 or later and check?

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different, for example if it still happens on a current version.

  3. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    We haven't heard back, so I'm closing this as a duplicate of #53435. That PR stopped /sessions (and the Ctrl+O Open menu) from showing the working spinner for sessions waiting on a question or permission. They now show ? or !, including when the request comes from a child session. The fix shipped in v2.1.4, so please upgrade if you're still on 2.0.22.

    If it still happens on v2.1.4 or later, please reply with your opencode --version and we can reopen this. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions