microsoft / microsoft/vscode

Marking an active agent session as Done does not stop it

Open
#335,786 1 comment 0 reactions 1 assignee Claimed by @TylerLeonhardt View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

- Marking a working agent session as **Done** removes it from the active view, but the session continues running and consuming tokens.

### Steps to reproduce

1. Start an agent session and leave it actively working.
2. In the Agents window, mark the session as **Done**.
3. Restore the session.

- **Expected:**
- Before marking an active session as Done, show a confirmation that this will stop the session.
- After confirming, stop the session immediately so it no longer uses tokens.
- **Actual:**
- The session is marked Done without a warning.
- It continues running. Restoring it shows that it continued from where it left off.
- **Reproducibility:** Every time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.