Repository navigation
Conversation
…aited shell wakes Keep finished background subagents, awaited background shells, and active nested subagent follow-ups listed on the root OpenCode 2 provider thread until their continuation wake run is dispatched, so clients no longer fire a premature completion notification in between. Release abandoned or unstarted continuation offers, expire missing wake holds after 30 seconds, and ignore already-ended subagent and awaited shell items during startup recovery so a restart in that window does not mark them cut off. # Conflicts: # apps/server/src/orchestration-v2/RestartBackgroundNote.ts
mwolson
changed the base branch from
contrib/mobile-duplicate-working-row
to
contrib/steady-mic-button
November 23, 2026 19:20
mwolson
force-pushed
the
contrib/opencode2-quiet-background-wakes
branch
from
November 23, 2026 19:21
3db0b45 to
ed3d801
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When an OpenCode 2 background subagent, awaited background shell, or nested subagent follow-up finishes, the adapter drops it from
pendingBackgroundTasksbefore the continuation wake run is dispatched. Between those two events the thread reads as completed with no active run, so clients fire a premature completion notification.Keep finished background subagents, exited awaited shells, and active nested subagent follow-ups listed on the root provider thread until the wake run is dispatched, release abandoned or unstarted continuation offers, expire missing wake holds after 30 seconds, and skip already-ended subagent and awaited shell items during startup recovery so a restart in that window does not treat them as cut off.