microsoft / microsoft/vscode

Manual automations can be disabled even though they remain runnable

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

- A manual automation can be marked **Disabled**, but it can still be run manually. Since it has no schedule or
cron job to suspend, the disabled state has no clear meaning.

### Steps to reproduce

1. Create or import a manual automation.
2. Open its overflow menu and choose **Disable**.
3. Observe the automation card and run action.

- **Expected:** Manual automations do not offer a **Disable** action or show a disabled state. Disabling should apply only to automations with a schedule that can be suspended.
- **Actual:** The manual automation is labeled **Disabled**, but its run button remains available and the automation can still be started.

![Manual automation marked Disabled while its run button remains available](https://github.com/user-attachments/assets/d9d23a85-7bc8-4952-9ca0-0392af1f67e1)

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.