Skip to content

After answering OpenCode question, composer looks idle while tools keep running #14200

Description

@satyalyadav

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Start a thread with OpenCode as harness.
  2. Let the agent ask a question with the OpenCode question tool.
  3. Answer it. In my run the question was which baseline to use and I picked "Same model, all providers (Recommended)".
  4. Watch the timeline and composer right after the answer.

Expected behavior

After I answer, the thread keeps showing working until the turn ends. New tool activity appears in the timeline and the composer stays in a working state.

Actual behavior

After I answer, the timeline shows "User input submitted Same model, all providers (Recommended)" and a collapsed "Used 1 tool and ran 3 commands" row, then the composer says "Ask anything" and looks enabled. No assistant text streams. It looks dead or already replied. The backend is still busy and keeps starting tools.

Impact

Major degradation or frequent failure. I cannot tell if work continues without checking logs, so I may send a duplicate message or kill a healthy run.

Version or commit

t3 v0.0.42 (t3 --version, WSL runtime server on port 3773)
OpenCode 1.18.33 (opencode --version)
Node v24.18.0, Bun 1.3.13

Environment

OS: Ubuntu 24.04.4 LTS
Workspace: /home/satyal, project global
Thread title: Benchmark NVIDIA GLM 5.3 Flash
Thread ID: 5a32c675-900a-417f-bac9-085a7121725b
OpenCode session: ses_f153ceb3bffezezZTSN2UGO4gv
Model selection: opencode/muse-spark-1.3-contributor-free, variant xhigh, agent build
Runtime mode: full-access, interaction mode default

Local DB state at time of check (~/.t3/userdata/state.sqlite):
projection_thread_sessions for this thread: status running, active_turn_id opencode-turn-9a9ee513-0339-4b14-89b4-42d4dd64798a, updated_at 2026-09-29T01:47:20.389Z, provider_instance_id opencode.
projection_threads: pending_approval_count 0, pending_user_input_count 0.

Logs, stack traces, or screenshots

Provider log ~/.t3/userdata/logs/provider/events.5a32c675-900a-417f-bac9-085a7121725b.log:

  • 2026-09-29T01:25:25Z question.asked, tool question, state running, plus user-input.requested
  • 2026-09-29T01:25:47Z item.completed for the question with answer "Same model, all providers (Recommended)"
  • 2026-09-29T01:25:51Z onward new item.started for bash, todowrite, write
  • session.status stayed busy through at least 2026-09-29T01:29:23Z, no turn.completed in the log window

Screenshot from the app shows the initial benchmark prompt, then "User input submitted Same model, all providers (Recommended)", then collapsed tool rows, then an enabled "Ask anything" composer. I can attach the screenshot and a sanitized log slice on request. Full logs contain local paths so I did not paste them here.

Workaround

Check provider logs or state.sqlite to confirm the session is still running, instead of trusting the composer state. Refresh was not needed here since the run was healthy, only the status display was wrong.

Notes

OpenCode resumed correctly in this run, so this is not anomalyco/opencode #36382 where the backend hangs after Confirm. Related T3 Code items that look distinct: PR #12900 fixes the "User input submitted" label hiding the question, #9318 covers Submit being swallowed around pending input, #1048 and #2886 cover stale turn state where the UI says working after the backend is done. This report is the reverse, idle looking composer while busy.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions