feat(code): add cloud-based automation scheduling#1373
Open
annikaschmid wants to merge 5 commits intomainfrom
Open
feat(code): add cloud-based automation scheduling#1373annikaschmid wants to merge 5 commits intomainfrom
annikaschmid wants to merge 5 commits intomainfrom
Conversation
Adds the backend infrastructure for running skills on a cron schedule: - automations + automation_runs DB tables with drizzle migration - AutomationRepository for CRUD operations - AutomationService with setTimeout-based scheduler, agent execution - tRPC router with full CRUD, triggerNow, run history, subscriptions - Shared types for automation schedules and run info Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merges colleague's frontend (AutomationsView, store, templates, sidebar) with the backend (DB schema, repository, service, tRPC router, scheduler). Aligned shared types to use her Zod-based Automation schema with scheduleTime + timezone model. Updated backend DB schema, repository, service, and router to match. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switch workspaceMode from "local" to "cloud" so automation tasks execute in PostHog cloud sandboxes rather than local agent sessions. Works even after laptop closes - missed runs catch up on app startup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove local automation backend (DB repository, scheduler, service, tRPC router) and replace with cloud API calls via PostHog client. Automations are now managed server-side with CRUD hooks and cloud task visibility in sidebar/command center. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
useAutomations) replacing local DB/schedulerAlso includes upstream changes from main: signals inbox improvements, MCP apps, environments, skills view, Windows support, logo updates, and more.
How did you test this code?
🤖 Generated with Claude Code
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com