Skip to content

fix(acp): await settled prompt after Stop; skip SESSION_BUSY auto-retry - #1232

Open
richardmilles wants to merge 1 commit into
thunderbird:mainfrom
richardmilles:fix/1094-acp-stop-session-busy
Open

fix(acp): await settled prompt after Stop; skip SESSION_BUSY auto-retry#1232
richardmilles wants to merge 1 commit into
thunderbird:mainfrom
richardmilles:fix/1094-acp-stop-session-busy

Conversation

@richardmilles

Copy link
Copy Markdown

After Stop, wait for the in-flight session/prompt to settle before sending again on the same ACP session, and treat active-prompt-turn / SESSION_BUSY as non-retryable so chat auto-retry does not amplify the race.

Fixes #1094

Stop frees the local stream before some ACP agents clear the busy slot; wait for the in-flight prompt and do not blind-retry active-prompt-turn errors.
@richardmilles
richardmilles deployed to fork-preview-approval August 21, 2026 17:54 — with GitHub Actions Active
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.

ACP: Stop then quick send can hit SESSION_BUSY / active prompt turn

1 participant