Bug Report: Auto-run Setting Not Working as Expected
Description
When the system is configured with:
- Auto-run is enabled (“Auto-run” option is selected)
- User specified “Don’t ask me, execute operations directly”
The system still shows “Run command” button and requires manual confirmation instead of executing commands automatically.
Expected Behavior
When both Auto-run and “Don’t ask me, execute operations directly” are enabled:
- Commands should execute automatically without showing the confirmation UI
- No “Run command” button should be visible
- Commands should process immediately after being entered
Actual Behavior
The system:
- Shows the command in a confirmation dialog
- Displays “Run command” button
- Requires manual confirmation to execute
- Does not respect the auto-run settings
Steps to Reproduce
- Enable Auto-run option
- Set system configuration to “Don’t ask me, execute operations directly”
- Enter any command (e.g., directory operations, helm commands)
- Observe that the system still requires manual confirmation
Environment
- OS: Windows 10 (10.0.19045)
- Shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
- Workspace Path: /d%3A/wt/sidecar
Impact
This bug:
- Breaks the automated workflow
- Requires unnecessary manual intervention
- Contradicts user settings and preferences
Additional Notes
The issue appears consistently across different command types and seems to be a fundamental issue with the command execution pipeline rather than being specific to certain commands.
Suggested Priority
High - This impacts automation capabilities and user experience
Possible Solution
Review the command execution pipeline to ensure it respects the Auto-run and execution preferences before showing any confirmation UI.