Skip to content

Conversation

@Danztee
Copy link
Contributor

@Danztee Danztee commented Jan 22, 2026

Fixes #9950

What does this PR do?

  • Adds a try/catch around Session.get() in the task tool to gracefully handle invalid session IDs instead of crashing.
  • Adds test/tool/task.test.ts to test the task tool and verify the graceful error handling.

How did you verify your code works?

Ran bun test packages/opencode/test/tool/task.test.ts and verified the new test passes.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Desktop] - Error when attempting to launch multiple subagents

1 participant