Delete is disabled for an automation with a running session without explanation
- 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.

Contributor guide
Assessment
This issue has not been assessed yet.