diff --git a/apps/web/src/components/settings/automations/AutomationsSettings.render.client.test.tsx b/apps/web/src/components/settings/automations/AutomationsSettings.render.client.test.tsx index 833de0c41..150c11d96 100644 --- a/apps/web/src/components/settings/automations/AutomationsSettings.render.client.test.tsx +++ b/apps/web/src/components/settings/automations/AutomationsSettings.render.client.test.tsx @@ -1513,6 +1513,49 @@ describe('AutomationsSettings', () => { ).toBeInTheDocument(); }); + it('explains that Telegram replies continue the Fast session', async () => { + state.settingsQuery.data.capabilities.telegramConnected = true; + state.customAutomations = [ + { + id: 'automation-telegram-fast', + name: 'Telegram daily brief', + prompt: 'Summarize my priorities.', + enabled: true, + scheduleMode: 'daily', + cronExpression: null, + model: null, + executionMode: 'fast', + environmentId: '__fast__', + target: { + provider: 'telegram', + targetKind: 'telegram_user', + externalRef: 'user-1', + }, + lastRunAt: null, + lastSucceededAt: null, + lastFailedAt: null, + lastError: null, + lastLaunchedTaskId: null, + createdByName: 'Ada', + createdAt: new Date('2026-01-01T00:00:00Z'), + updatedAt: new Date('2026-01-01T00:00:00Z'), + }, + ]; + + render(); + fireEvent.click( + await screen.findByRole('button', { + name: 'Configure Telegram daily brief', + }), + ); + + expect( + screen.getByText( + 'Each run is a Session that reports findings and failures here, and replies continue it.', + ), + ).toBeInTheDocument(); + }); + it('only offers connected providers as custom automation destinations', async () => { state.settingsQuery.data.capabilities.slackConnected = false; state.settingsQuery.data.capabilities.discordConnected = true; diff --git a/apps/web/src/components/settings/automations/CustomAutomationsSection.tsx b/apps/web/src/components/settings/automations/CustomAutomationsSection.tsx index 32beed083..66588a708 100644 --- a/apps/web/src/components/settings/automations/CustomAutomationsSection.tsx +++ b/apps/web/src/components/settings/automations/CustomAutomationsSection.tsx @@ -839,9 +839,7 @@ export function CustomAutomationsSection() {

{form.targetProvider === 'none' ? 'Each run is a Session in the web app and does not post to chat.' - : form.targetProvider === 'telegram' - ? 'Each run is a Session that reports findings and failures here. Continue it from the web app; chat replies on this provider do not resume it yet.' - : 'Each run is a Session that reports findings and failures here, and replies continue it.'} + : 'Each run is a Session that reports findings and failures here, and replies continue it.'}