feat(automation): add daemon-backed Automation builder and runtime - #487
Merged
Milhouszhang merged 6 commits intoJul 7, 2026
Merged
Conversation
# Conflicts: # apps/puffer-desktop/tests/support/fakeDaemon.ts
The assert_ne! call in workflow_local_runtime_tests.rs exceeded the line width; rustfmt wants it wrapped across lines. This was the sole cause of the failing Rustfmt step in both the "Rust (build + test)" and "Desktop backend (test + clippy)" CI jobs (which gates clippy behind it). Co-Authored-By: Claude Fable 5 <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
Adds product-level Puffer Automations backed by daemon-owned storage, compile/deploy runtime paths, and a daemon-backed Desktop Automation builder.
puffer-automationfor user-facing Automation specs, canonical hashing, validation, persisted records, runtime state, and compile plans.RunAutomationbinding/action plumbing so connector-triggered events can run stable Puffer Automation ids without exposing AgentEnv workflow ids.run_location, including transient local runtime startup and deployed preview fallback for local runtimes without in-memory execution support.Test plan
git diff --checkcargo test -p puffer-automationcargo test -p puffer-subscriptions run_automationcargo test -p puffer-cli automation -- --test-threads=1cargo test -p puffer-cli workflow_local_runtimecargo test -p puffer-cli workflow_runtimePUFFER_DESKTOP_TEST_PORT=1431 npx playwright test tests/automation-ui.spec.ts tests/settings-ui.spec.ts -g "[Aa]utomation|Workflows runtime"scripts/automation-e2e-smoke.sh --local