Skip to content

fix(vscode): hide manual interruption warning - #13376

Merged
marius-kilocode merged 4 commits into
mainfrom
fix-abort-error-flash
Aug 25, 2026
Merged

fix(vscode): hide manual interruption warning#13376
marius-kilocode merged 4 commits into
mainfrom
fix-abort-error-flash

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

Explicitly stopping a turn in the VS Code sidebar or Agent Manager currently produces a transient yellow Turn interrupted. card. The close event uses the same interrupted reason for both intentional user stops and unexpected runtime interruptions, and the UI can observe the close before the abort request completes.

This change keeps the existing backend and SDK close-reason contracts unchanged. The shared VS Code connection now buffers an interrupted close only for filtered webview subscribers while a confirmed explicit abort is pending. A successful abort suppresses the close for all webview clients, while a failed abort replays it. Raw SSE subscribers continue to receive every event, and state is scoped by session and directory with handling for concurrent aborts, multi-directory sessions, reload/reset cleanup, and later turns.

The existing warning behavior for genuine interruptions, errors, output limits, and other abnormal completions remains unchanged.

@marius-kilocode
marius-kilocode merged commit 6ecfca5 into main Aug 25, 2026
23 checks passed
@marius-kilocode
marius-kilocode deleted the fix-abort-error-flash branch August 25, 2026 16:30
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.

2 participants