microsoft / microsoft/vscode

Delete is disabled for an automation with a running session without explanation

Open
#335,819 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

- An automation cannot be deleted while one of its sessions is running. The **Delete** action is disabled without explaining the restriction or how to proceed.

### Steps to reproduce

1. Run an automation.
2. While its session is still working, open the automation’s overflow menu.
3. Try to delete the automation.

- **Expected:** Preferably, deleting the automation is allowed and a confirmation explains that its running session will be stopped. At minimum, the UI should explain that deletion is blocked until the session finishes and indicate what the user can do next.
- **Actual:** **Delete** is disabled with no tooltip, message, or action for stopping the running session.

![Automation menu with Delete disabled while its session is running](https://github.com/user-attachments/assets/9ba1a861-12d6-461e-902e-0c5a35fc65c9)

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.