fix: queue concurrent subagent questions - #36916
lucas-gaitzsch wants to merge 1 commit into
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR that might be worth reviewing in context: Related PR:
However, this appears to be addressing a different but complementary aspect (preserving session work) rather than a duplicate of the current PR's focus on queueing and routing concurrent subagent questions. The current PR (#36916) is the primary PR implementing the queue management for concurrent subagent questions and does not appear to have exact duplicates in the open PR list. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
|
Please reopen the PR. It ist not fixed yet and and still relevant for me. |
Issue for this PR
Closes #36915
Type of change
What does this PR do?
Collects pending questions across the full root session tree, orders them by request ID, and keeps the active request selected until it resolves.
The TUI now remounts prompt state per request, preserves interrupted drafts, blocks duplicate submissions, and routes replies through the owning session location. Desktop/web uses the same sticky queue selection and owner-location routing.
How did you verify your code works?
packages/tui: 194 passed, 1 skipped; typecheck passed.packages/app: targeted queue tests and typecheck passed.Screenshots / recordings
Not applicable; this changes request selection and routing without changing the UI.
Checklist