[Bug]: Install scheduler reports success but does not unlock automations
Title: [Bug]: Install scheduler reports success but does not unlock automations
Summary: *
The UI can show Scheduler install requested. while Automations stays blocked or the reload and install state behaves inconsistently.
Steps to reproduce: *
- Open
Settings->Automationsin a workspace whereopencode-scheduleris not installed. - Click
Install scheduler. - Observe the toast and the Automations gate state.
- Stay on the page or navigate away and back without restarting OpenWork.
Expected behavior: * The scheduler is added successfully and the page consistently prompts for reload, or the user sees a direct error explaining why installation failed.
Actual behavior: *
The UI shows Scheduler install requested. but Automations can remain locked, and the install or reload state can appear stuck, reset, or non-functional.
Label: bug
Opened a fix here: https://github.com/different-ai/openwork/pull/1461 The issue was caused by a stale local schedulerInstallRequested flag that could remain true even after the scheduler plugin became installed, which kept the Automations gate active. The fix clears that flag when installation is reflected in plugin state, and also clears it on install failure.