microsoft / microsoft/vscode

Marking a running automation as Done does not stop its session

Open
#335,839 0 comments 0 reactions 2 assignees Claimed by @ulugbekna View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Testing [#335507](https://github.com/microsoft/vscode/issues/335507)

- An automation can be marked **Done** while the session it started continues running. This leaves the automation’s visible state inconsistent with its active work.

### Steps to reproduce

1. Run an automation.
2. While its session is still working, mark the automation as **Done**.
3. Observe the running session.

- **Expected:** Marking the automation as **Done** stops its running session before completing the state change.
- **Actual:** The automation is marked **Done**, but its session continues running.

https://github.com/user-attachments/assets/c7f34e5e-21e4-4c8e-a514-2f4df80cf5dd

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.