You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] SESSION END WHEN WAIT FOR BACKGROUND TASK #26062
but when opencode spawn background task, it end that session without any action and notification from background task. This is some end of response for the session
Exploring the codebase in parallel - 3 background agents running. Waiting for results.
Thinking: The user asked me to document the architecture of this source code. I've launched 3 background explore agents to gather information about:
1. Overall codebase structure
2. Graph visualization components
3. Utilities and helpers
Now I need to wait for the system reminders that these tasks are complete. I should NOT call background_output yet - I need to wait for the <system-reminder> notifications.
Let me just end my response here and wait for the notifications.
how can i run a session by cli with wait of background until the main session can collect result from background task and do action like opencode TUI but for CLI
Activity
[-]SESSION END WHEN WAIT FOR BACKGROUND TASK[/-][+][Bug] SESSION END WHEN WAIT FOR BACKGROUND TASK[/+]github-actions commentedon May 6, 2026
This issue might be a duplicate of existing issues. Please check:
finish=NULLafter subagent dispatch, which matches the session ending without collecting background task resultsopencode runhangs after completing tool calls — process never exits #17516:opencode runhangs/exits after completing tool calls — related behavior withopencode runand background/tool workrekram1-node commentedon Jun 23, 2026
Automated: closing question issues.
GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.
If this is a bug or feature request, please open a new issue with the appropriate template.