Skip to content

[Bug] SESSION END WHEN WAIT FOR BACKGROUND TASK #26062

Closed as not planned
Closed as not planned

Description

@bietkhonhungvandi212

Question

WHEN I USE command

opencode run --thinking "message"

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

  1. changed the title [-]SESSION END WHEN WAIT FOR BACKGROUND TASK[/-] [+][Bug] SESSION END WHEN WAIT FOR BACKGROUND TASK[/+] on May 6, 2026
  2. github-actions commented on May 6, 2026

    @github-actions
    Contributor

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

  3. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Collaborator

    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.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions