Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: Run Now on the app Automation tab no longer requires the per-app schedule switch (#12589)
[._.]/ Adam Eivy06da0dfaf97a
diff --git a/client/src/components/apps/tabs/AutomationTab.jsx b/client/src/components/apps/tabs/AutomationTab.jsxindex 7802b662fc..170edd1bd3 100644--- a/client/src/components/apps/tabs/AutomationTab.jsx+++ b/client/src/components/apps/tabs/AutomationTab.jsx@@ -181,7 +181,7 @@ export default function AutomationTab({ appId, appName }) {<div className="flex-1 min-w-0"><p className="text-sm font-medium text-port-warning">Scheduled automation is globally paused</p><p className="text-xs text-gray-400 mt-0.5">- Scheduled and autonomous tasks won't run until resumed. You can still trigger an enabled task manually with <span className="text-gray-300">Run</span>.+ Scheduled and autonomous tasks won't run until resumed. Any task can still be run once with <span className="text-gray-300">Run Now</span>.</p></div><buttondiff --git a/client/src/components/apps/tabs/AutomationTab.test.jsx b/client/src/components/apps/tabs/AutomationTab.test.jsxindex 863fd86f6d..dcb206ef68 100644--- a/client/src/components/apps/tabs/AutomationTab.test.jsx+++ b/client/src/components/apps/tabs/AutomationTab.test.jsx@@ -145,6 +145,7 @@ describe('AutomationTab per-app options', () => {api.updateAppTaskTypeOverride.mockReturnValueOnce(new Promise((_resolve, reject) => { rejectSave = reject; }));fireEvent.click(within(row).getByRole('switch', { name: 'security enabled for this app: off' }));expect(api.updateAppTaskTypeOverride).toHaveBeenCalledWith('app-1', 'security', { enabled: true }, { silent: true });+ // In-flight save gates Run Now.expect(within(row).getByRole('button', { name: 'Run Now' })).toBeDisabled();await act(async () => rejectSave(new Error('Save failed')));expect(within(row).getByRole('switch', { name: 'security enabled for this app: off' })).toHaveAttribute('aria-checked', 'false');@@ -156,6 +157,19 @@ describe('AutomationTab per-app options', () => {await waitFor(() => expect(api.triggerCosOnDemandTask).toHaveBeenCalledWith('security', 'app-1', { silent: true }));});+ it('Run Now sends the app id while the per-app switch stays off', async () => {+ await renderTab();+ const row = rowFor('security');+ expect(within(row).getByRole('switch', { name: 'security enabled for this app: off' })).toBeInTheDocument();+ api.triggerCosOnDemandTask.mockResolvedValue({ success: true });+ const run = within(row).getByRole('button', { name: 'Run Now' });+ expect(run).toBeEnabled();+ fireEvent.click(run);+ await waitFor(() => expect(api.triggerCosOnDemandTask).toHaveBeenCalledWith('security', 'app-1', { silent: true }));+ expect(api.updateAppTaskTypeOverride).not.toHaveBeenCalled();+ expect(within(row).getByRole('switch', { name: 'security enabled for this app: off' })).toBeInTheDocument();+ });+it('Configure toggle expands the provider override panel', async () => {await renderTab();const row = rowFor('layered-intelligence');diff --git a/client/src/components/cos/tabs/schedule/AppTaskCard.jsx b/client/src/components/cos/tabs/schedule/AppTaskCard.jsxindex fd6deee9ea..4a29ec87b7 100644--- a/client/src/components/cos/tabs/schedule/AppTaskCard.jsx+++ b/client/src/components/cos/tabs/schedule/AppTaskCard.jsx@@ -126,8 +126,8 @@ export default function AppTaskCard({ taskType, config, apps, onTrigger, onConfi)}{appContext && (- <div className="flex items-center gap-2 px-4 pb-3">- <span className="text-xs text-gray-400">Enabled</span>+ <div className="flex flex-wrap items-center gap-x-2 gap-y-1 px-4 pb-3">+ <span className="text-xs text-gray-400">Runs on schedule for this app</span><ToggleSwitchenabled={appContext.enabled}onChange={appContext.onToggle}@@ -135,6 +135,7 @@ export default function AppTaskCard({ taskType, config, apps, onTrigger, onConfisize="sm"ariaLabel={`${taskType} enabled for this app: ${appContext.enabled ? 'on' : 'off'}`}/>+ <span className="text-xs text-gray-500">Run Now runs it once, whatever this is set to.</span></div>)}{children && <fieldset disabled={appContext?.saving} className="min-w-0 px-4 pb-3 space-y-3">{children}</fieldset>}@@ -159,7 +160,7 @@ export default function AppTaskCard({ taskType, config, apps, onTrigger, onConfionTrigger={onTrigger}installWide={!appContext && config.installWide}programmatic={config.programmatic}- disabledReason={appContext?.saving ? SAVING_TITLE : appContext && !appContext.enabled ? 'Enable this task for this app first' : improvementDisabled ? IMPROVEMENT_DISABLED_TITLE : (pins.saving ? SAVING_TITLE : '')}+ disabledReason={appContext?.saving ? SAVING_TITLE : improvementDisabled ? IMPROVEMENT_DISABLED_TITLE : (pins.saving ? SAVING_TITLE : '')}/>{appContext && (<button