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 — TUI: Parent session appears stuck "loading" when subagent is blocked (waiting user input / hanging tool call); lack of visibility and recovery UX · Issue #10802 · anomalyco/opencode

TUI: Parent session appears stuck "loading" when subagent is blocked (waiting user input / hanging tool call); lack of visibility and recovery UX #10802

New issue
Copy link
New issue
Copy link
Closed
Closed
TUI: Parent session appears stuck "loading" when subagent is blocked (waiting user input / hanging tool call); lack of visibility and recovery UX#10802
Copy link
Assignees
rekram1-node
Labels
opentuiThis relates to changes in v1.0, now that opencode uses opentui

Description

@wcldyx
wcldyx
opened on Jan 27, 2026
Issue body actions

Problem

When running a workflow that spawns subagents (Task/subtask), the parent session UI can appear to be stuck "loading" indefinitely. From the parent session, it's not clear whether:

  • a subagent is waiting for user input, or
  • a tool call inside a subagent is hanging (e.g., webfetch), or
  • something is actually deadlocked.

This creates a "feels frozen" experience because the parent session shows only something like "N toolcalls" and doesn't surface what it's waiting on.

Expected

  • Parent session should clearly show which subagent is currently running/blocking.
  • If the subagent is waiting for user input, parent should indicate "waiting for user input" (and ideally allow replying without manually switching sessions).
  • If a tool call is in progress, parent should show the tool name + target (e.g., URL for webfetch) and elapsed time, and provide a clear cancel/interrupt affordance.
  • Ideally, auto-return to parent and/or show a status banner when subagent completes / blocks.

Actual

  • Parent session stays in a loading-looking state for a very long time.
  • The only way to understand what's happening is to manually navigate into subagent sessions (ctrl+x right) and inspect them.
  • In my case, one subagent was waiting for an explicit user reply (e.g., asking "should I continue searching?"), while the parent still looked like "loading".
  • Another subagent showed a hanging webfetch (red tool label) without any visible timeout/progress on the parent.

Repro Steps

  1. Run OpenCode in TUI inside a repo/project.
  2. Trigger a workflow that spawns subagents (e.g., a custom /deep-research ... command that uses subtask: true and calls Task to run dr-web / dr-repo).
  3. Observe parent session shows toolcalls and appears to be loading indefinitely.
  4. Press ctrl+x then right to view subagent sessions.
  5. Observe subagent is blocked either on:
    • waiting for user input, or
    • webfetch / bash call hanging.
  6. Parent session gives no clear indication of which condition it is.

Environment

  • OpenCode: v1.1.36
  • OS: Windows (Git Bash/MSYS)
  • Model: Claude Sonnet 4.5 Thinking (Antigravity) (as shown in UI)
  • Notes: occurs in subagent workflows; parent session lacks visibility.

Related

  • Subagents Output in TUI seems strange since 1.1.1 #6880 (subagent output in TUI seems strange)
  • Session does not automatically return to parent after subagent execution #6491 (session does not automatically return to parent after subagent execution)
  • Opencode Hangs when used as CLI tool #5888 (hangs with no clear way to debug)
Reacted by vosscodes, Anil Kulkarni, Paweł Madejski and Huynh Danh Lang

Activity

  1. github-actions
    assigned
    rekram1-node
    on Jan 27, 2026
  2. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 27, 2026
  3. github-actions commented on Jan 27, 2026

    @github-actions
    github-actionsBot
    on Jan 27, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Subagents Output in TUI seems strange since 1.1.1 #6880: Subagent output in TUI seems strange since 1.1.1 (parent session shows incomplete tool output/status from subagent tasks)
    • Session does not automatically return to parent after subagent execution #6491: Session does not automatically return to parent after subagent execution (lack of automatic return to parent context)
    • Input prompt hidden when attaching to child/subagent session #6896: Input prompt hidden when attaching to child/subagent session (related subagent session visibility issues)
    • Opencode Hangs when used as CLI tool #5888: Opencode Hangs when used as CLI tool (general hanging/blocking issue without visibility)

    Feel free to ignore if none of these address your specific case.

  4. github-actions commented on Mar 29, 2026

    @github-actions
    github-actionsBot
    on Mar 29, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  5. github-actions
    closed this as completedon Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

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.