Skip to content

[BUG] OpenCode command timed out #443

Description

@zzj0402

Summary
Failed to query OpenCode agents: OpenCode command timed out after 10000ms

Area
Which part of the app is affected?

  • Agent teams / teammate launch

Steps to reproduce
Try to start the project

Frequency
Always

Environment
macOS 15.8

Logs and diagnostics

Screenshots or recording

Image

Additional context

Team provisioning diagnostics

Quick triage

  • User-visible title: Launch failed
  • User-visible message: Failed to query OpenCode models: OpenCode command timed out after 10000ms
    Failed to query OpenCode agents: OpenCode command timed out after 10000ms
    OpenCode request timed out after 15000ms for /config
  • Tone: error
  • Started at: 2026-08-14T21:24:34.422Z; elapsed: 14:10; pid: (none)
  • Step index: current=-1; error=0
  • Classification: (none); confidence=(unknown)
  • Bootstrap transport: submitted=(unknown); rejected=(unknown); noStdinWarning=(unknown); lastStage=(none)
  • Counts: warnings=0; launchDiagnostics=0; memberSnapshots=6; artifactFiles=4
  • Manifest counts: expectedMembers=(none); effectiveMembers=(none); spawnStatuses=(none)
  • Manifest progress: state=(none); message=(none); error=(none)
  • Raw CLI logs present: yes; live output present: yes

Summary

Title: Launch failed
Message: Failed to query OpenCode models: OpenCode command timed out after 10000ms
Failed to query OpenCode agents: OpenCode command timed out after 10000ms
OpenCode request timed out after 15000ms for /config
Message severity: (none)
Tone: error
Started at: 2026-08-14T21:24:34.422Z
Elapsed: 14:10
PID: (none)
Current step index: -1
Error step index: 0

Warnings

(none)

Launch diagnostics

(none)

Artifact manifest summary

(manifest unavailable)

Full details

Member launch snapshots

[
{
"teamName": "advwatch",
"runId": "e0587f34-0a70-40e9-a647-54c46eee1e36",
"memberName": "GuanYu",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"agentType": "general-purpose",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode"
},
{
"teamName": "advwatch",
"runId": "e0587f34-0a70-40e9-a647-54c46eee1e36",
"memberName": "GuoJia",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"agentType": "general-purpose",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode"
},
{
"teamName": "advwatch",
"runId": "e0587f34-0a70-40e9-a647-54c46eee1e36",
"memberName": "JiaXu",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"agentType": "general-purpose",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode"
},
{
"teamName": "advwatch",
"runId": "e0587f34-0a70-40e9-a647-54c46eee1e36",
"memberName": "team-lead",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"agentType": "team-lead",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode"
},
{
"teamName": "advwatch",
"runId": "e0587f34-0a70-40e9-a647-54c46eee1e36",
"memberName": "XuHuang",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"agentType": "general-purpose",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode"
},
{
"teamName": "advwatch",
"runId": "e0587f34-0a70-40e9-a647-54c46eee1e36",
"memberName": "ZhangLiao",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"agentType": "general-purpose",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode"
}
]

Launch failure artifact bundle

teamName: advwatch
runId: e0587f34-0a70-40e9-a647-54c46eee1e36
latestPath: /Users/zingg/.claude/teams/advwatch/launch-failure-artifacts/latest.json
artifactDirectory: (none)
manifestPath: (none)

classification:
(none)

bootstrapTransportBreadcrumb:
(none)

files:

--- launch-failure-artifacts/latest.json
path: /Users/zingg/.claude/teams/advwatch/launch-failure-artifacts/latest.json
issue: missing
content:
(empty)

--- launch-failure-artifacts/manifest.json
path: /Users/zingg/.claude/teams/advwatch/launch-failure-artifacts/manifest.json
issue: latest_json_unavailable
content:
(empty)

--- bootstrap-journal.jsonl
path: /Users/zingg/.claude/teams/advwatch/bootstrap-journal.jsonl
issue: missing
content:
(empty)

--- launch-state.json
path: /Users/zingg/.claude/teams/advwatch/launch-state.json
issue: (none)
content:
{
"version": 2,
"teamName": "advwatch",
"updatedAt": "2026-08-14T21:27:48.474Z",
"launchPhase": "finished",
"expectedMembers": [
"team-lead",
"GuanYu",
"GuoJia",
"JiaXu",
"XuHuang",
"ZhangLiao"
],
"members": {
"team-lead": {
"name": "team-lead",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"cwd": "/Users/zingg/Projects/AdvWatch",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode",
"launchState": "failed_to_start",
"agentToolAccepted": false,
"runtimeAlive": false,
"bootstrapConfirmed": false,
"hardFailure": true,
"hardFailureReason": "Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"lastEvaluatedAt": "2026-08-14T21:27:48.474Z",
"sources": {
"processAlive": false,
"nativeHeartbeat": false
},
"diagnostics": [
"Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"Failed to query OpenCode agents: OpenCode command timed out after 10000ms",
"OpenCode request timed out after 15000ms for /config"
]
},
"GuanYu": {
"name": "GuanYu",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"cwd": "/Users/zingg/Projects/AdvWatch",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode",
"launchState": "failed_to_start",
"agentToolAccepted": false,
"runtimeAlive": false,
"bootstrapConfirmed": false,
"hardFailure": true,
"hardFailureReason": "Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"lastEvaluatedAt": "2026-08-14T21:27:48.474Z",
"sources": {
"processAlive": false,
"nativeHeartbeat": false
},
"diagnostics": [
"Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"Failed to query OpenCode agents: OpenCode command timed out after 10000ms",
"OpenCode request timed out after 15000ms for /config"
]
},
"GuoJia": {
"name": "GuoJia",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"cwd": "/Users/zingg/Projects/AdvWatch",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode",
"launchState": "failed_to_start",
"agentToolAccepted": false,
"runtimeAlive": false,
"bootstrapConfirmed": false,
"hardFailure": true,
"hardFailureReason": "Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"lastEvaluatedAt": "2026-08-14T21:27:48.474Z",
"sources": {
"processAlive": false,
"nativeHeartbeat": false
},
"diagnostics": [
"Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"Failed to query OpenCode agents: OpenCode command timed out after 10000ms",
"OpenCode request timed out after 15000ms for /config"
]
},
"JiaXu": {
"name": "JiaXu",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"cwd": "/Users/zingg/Projects/AdvWatch",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode",
"launchState": "failed_to_start",
"agentToolAccepted": false,
"runtimeAlive": false,
"bootstrapConfirmed": false,
"hardFailure": true,
"hardFailureReason": "Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"lastEvaluatedAt": "2026-08-14T21:27:48.474Z",
"sources": {
"processAlive": false,
"nativeHeartbeat": false
},
"diagnostics": [
"Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"Failed to query OpenCode agents: OpenCode command timed out after 10000ms",
"OpenCode request timed out after 15000ms for /config"
]
},
"XuHuang": {
"name": "XuHuang",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"cwd": "/Users/zingg/Projects/AdvWatch",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode",
"launchState": "failed_to_start",
"agentToolAccepted": false,
"runtimeAlive": false,
"bootstrapConfirmed": false,
"hardFailure": true,
"hardFailureReason": "Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"lastEvaluatedAt": "2026-08-14T21:27:48.474Z",
"sources": {
"processAlive": false,
"nativeHeartbeat": false
},
"diagnostics": [
"Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"Failed to query OpenCode agents: OpenCode command timed out after 10000ms",
"OpenCode request timed out after 15000ms for /config"
]
},
"ZhangLiao": {
"name": "ZhangLiao",
"providerId": "opencode",
"model": "openrouter/poolside/laguna-s-2.1:free",
"cwd": "/Users/zingg/Projects/AdvWatch",
"laneId": "primary",
"laneKind": "primary",
"laneOwnerProviderId": "opencode",
"launchState": "failed_to_start",
"agentToolAccepted": false,
"runtimeAlive": false,
"bootstrapConfirmed": false,
"hardFailure": true,
"hardFailureReason": "Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"lastEvaluatedAt": "2026-08-14T21:27:48.474Z",
"sources": {
"processAlive": false,
"nativeHeartbeat": false
},
"diagnostics": [
"Failed to query OpenCode models: OpenCode command timed out after 10000ms",
"Failed to query OpenCode agents: OpenCode command timed out after 10000ms",
"OpenCode request timed out after 15000ms for /config"
]
}
},
"summary": {
"confirmedCount": 0,
"pendingCount": 0,
"failedCount": 6,
"skippedCount": 0,
"runtimeAlivePendingCount": 0,
"shellOnlyPendingCount": 0,
"runtimeProcessPendingCount": 0,
"runtimeCandidatePendingCount": 0,
"noRuntimePendingCount": 0,
"permissionPendingCount": 0
},
"teamLaunchState": "partial_failure"
}

Live output

Launch trace

2026-08-14T21:24:34.422Z [validating] Validating OpenCode team launch gate
2026-08-14T21:24:34.446Z [spawning] Starting OpenCode sessions through runtime adapter
2026-08-14T21:27:48.486Z [failed] OpenCode team launch failed readiness gate - configReady=true | error=Failed to query OpenCode models: OpenCode command timed out after 10000ms Failed to query OpenCode agents: OpenCode command timed out after 10000ms OpenCode request timed out after 15000ms for /config
CLI logs tail

Failed to query OpenCode models: OpenCode command timed out after 10000ms
Failed to query OpenCode agents: OpenCode command timed out after 10000ms
OpenCode request timed out after 15000ms for /config

Activity

  1. 777genius commented on Aug 30, 2026

    @777genius
    Owner

    Resolved on dev with the minimal #443 core:

    The regression path is covered with a fake runtime: hung status or catalog work cannot authorize launch, launch requires fresh exact proof, and member sessions are not created before that proof. Exact-head CI, both test shards, CodeQL, lint, and Windows smoke are green. Verification used only sandbox and fake runtime fixtures - no real user project, provider, team, or agent launch was used.

    Hosted work remains preserved as separate Draft follow-ups and is not part of this fix.

  2. 777genius commented on Aug 31, 2026

    @777genius
    Owner

    Reopening: the earlier closure overstated the production catalog coverage.

    The Desktop catalog hydration path still calls non-summary runtime status, which can enter full OpenCode inventory. The previous fake child-process test accepted that command and therefore did not prove the production route was provider-scoped. A narrow Desktop follow-up is now in progress to use the existing selected-provider models API and test the actual route.

    The separate bounded cancellation follow-up is 777genius/agent_teams_orchestrator#51. It is a P2 session-store lock gap, not evidence that locks caused the original models timeout. Hosted contract work and the large WIP branches remain outside these fixes.

    This issue will not be considered resolved merely because the adapter-level tests or unrelated CI checks pass.

  3. 777genius commented on Sep 3, 2026

    @777genius
    Owner

    Resolved by the merged production changes:

    The hosted no-fast review pool was unavailable for final model verdicts because of external provider capacity/turn-start failures; no worker changed either PR. The unrelated transitive fast-uri audit remains tracked separately.

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 isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions