π OpenHands: AI-Driven Development
F21 β Automations dashboard and actions
The Automate dashboard (/automations) is where a user sees every automation at
a glance and acts on one without opening it. It shows four overview tiles, a
search box, a Filters popover (status, trigger, sort), a grid/list view toggle,
a Drafts group of saved setup drafts (Resume, Edit, Test, Delete), and Active
and Inactive groups of cards or rows with run health, a recent-runs sparkline
and stats. Each automation has a Play (Run now) button and a kebab menu with Run
now, View, Export, Edit, Turn on/off and Delete; Edit opens the setup page
(/automations/setup?automationId=<id>, F22) in edit mode. The page sits in
a Dashboard/Templates sub-page shell. It is reached from the sidebar, the command
menu or a pinned home route, and it only exists when the automation interface
manifest from @openhands/extensions is admitted.
Source: src/routes/automations-list.tsx, src/components/features/automations/ (automation-card.tsx, automation-list-row.tsx, kebab-menu.tsx, build-automation-menu-items.tsx, delete-confirmation-modal.tsx, automation-view-toggle.tsx, empty-state.tsx, dashboard/), src/components/features/manifest/manifest-subpage-layout.tsx, src/components/features/manifest/manifest-overview-tiles.tsx, src/manifests/automation-insights.ts, src/manifests/automation-interface.ts, src/hooks/query/use-automations.ts, src/hooks/use-open-automation-editor.ts, src/hooks/use-start-automation-setup.ts, src/utils/automation-state.ts, src/hooks/use-pinned-home-route.ts, node_modules/@openhands/extensions/automations/interface.json.
Sub-features
F21.sidebar-entry: the sidebar Automate item opens/automationswith the heading Dashboard and the Automate sub-page aside.F21.command-menu: the command menu offers Automations ("Review scheduled and webhook automations."), also found by the keywords automate, cron, schedule, webhook and jobs; choosing it opens/automations.F21.pin-home: the pin on the sidebar Automate item makes/redirect to/automations; unpinning restores the normal home.F21.subpage-nav: Dashboard and Templates sub-pages appear in a left aside from 1024 px up and in a horizontal strip below that (phones and tablets); the current page hasaria-current="page".F21.manifest-404: without an admitted automation interface manifest,/automationsis a 404 from the layout error boundary, and all Automate entry points, including the Home checklist and recommendations, are hidden without error toasts. Known failure: Canvas hides the sidebar entry but leaves a dead Home checklist link and raises two manifest errors (#18210; draft fix PR #18212).F21.health-loading: while the health check runs, the page shows the title and three card skeletons.F21.list-loading: once the backend is healthy, the header, tiles and controls render at once while three card skeletons stand in for the list until the first page arrives.F21.backend-unavailable: when the health check fails, the page shows Automations Unavailable with a Retry button.F21.list-error: when the list request fails with nothing cached, the page shows Failed to load automations with Retry.F21.add-menu: the header Add Automation menu offers Create Automation and Import automation; Create Automation opens the guided setup page at/automations/setup(F22).F21.empty-state: with zero automations and zero saved drafts the page shows No automations configured, the "Create an automation" instructions, a docs link, Create Automation (opens/automations/setup, F22, without creating a conversation) and the Recommended automations rail; the view toggle is disabled.F21.empty-rail: a Recommended automations card on the empty dashboard opens its template setup at/automations/new/<template-id>(F22 owns the setup flow). This rail has no dismiss X and stays shown when Home's rail was hidden (F03.recommended-rail-dismiss).F21.overview-tiles: four tiles summarize the automations the groups list from the loaded org list (hidden DRAFT test automations from a draft Test are left out): Automations (N active), Needs attention (Latest run failedorNo latest-run failures; an enabled automation counts when its latest run is Failed or its task outcome isfailedorblocked, while Partial and Needs review do not count), Total runs and Average duration.F21.search: the search box narrows the visible automations client-side by name, prompt, repository or model, and the saved drafts by name, prompt, kind or trigger; the tiles do not change.F21.filters: the Filters popover filters by status (All / Active / Needs attention / Disabled) and trigger (All / Scheduled / Event-driven), counts non-default choices in a badge and offers Reset all; it stays open while the user changes several choices.F21.sort: Sort (Latest run / Most runs / Name) orders automations inside each group and counts as a non-default choice.F21.filtered-empty: when nothing matches, No automations match these filters and Clear filters appear; Clear filters resets search, status and trigger but keeps the sort.F21.view-toggle: the view-mode menu switches Grid and List; the choice survives a reload.F21.card-grid: a grid card shows name, prompt preview, trigger pills, sparkline, a status strip (latest run status, summary, relative time, or No activity yet) and Runs / Recent success / Avg. duration stats.F21.list-row: a list row shows a health dot, name, schedule or event, relative last run, run badge, sparkline, Play and kebab; its link is labelled<name> <status>.F21.row-tooltip: hovering a list row shows a preview card with the name, Trigger, Status and, once it has run, Last run and Task (the run summary); the Play button's tooltip reads Run now.F21.summary-hovercard: hovering a grid card's truncated run summary shows the full summary in a hovercard.F21.sparkline-deeplink: a sparkline bar links to/automations/<id>?run=<runId>, which opens the detail page with that run highlighted.F21.open-detail: kebab View, the row link, a card click and Enter on a focused card all open/automations/<id>.F21.load-more: past 50 automations a Load more button fetches the next page and disappears when everything is loaded.F21.git-sync-button: the header Git Sync button (manage permission; always on local) opens/automations/git-sync(see F24).F21.kebab-menu: the Automation actions menu lists Run now, View, Export, Edit, Turn on/Turn off and Delete, closes on Escape or an outside click, and flips above the trigger near the viewport bottom.F21.run-now: Play or kebab Run now on an enabled automation dispatches a run with the toast Automation dispatched; the card moves through Pending/Running to the result. Both are disabled on a disabled automation.F21.run-now-error: a failed dispatch shows exactly one error toast with the API message; when the automation is gone (Automation not found), its card then drops out of the dashboard without a reload.F21.toggle: kebab Turn on / Turn off flips the enabled flag immediately (no confirmation on the dashboard) and moves the automation between the Active and Inactive groups.F21.edit: kebab Edit opens the setup page in edit mode (/automations/setup?automationId=<id>) prefilled from the automation, with Test, Save and Close in its toolbar; Save sends one PATCH and toasts Automation updated, Close returns to/automations(field-level editing is F23). For a script (tarball) automation it summarizes the saved bundle (Existing code bundle with the upload id) instead of a code editor, from the kebab and on a cold load alike, and saving keeps that bundle (F23.edit-save).F21.export: kebab Export downloads<name-slug>.automation.jsonwithversion,kind: "automation"and the spec.F21.delete: kebab Delete asksDelete "<name>"? This cannot be undone.; Cancel and the X keep it, Delete removes it for good, and Escape dismisses the dialog.F21.saved-drafts: saved setup drafts (#17242) appear in a Drafts group above Active/Inactive, one row each with the name (Resume), a pencil (Edit), Play (Test draft, tooltip Test Run; disabled for event-triggered or non-dispatchable drafts) and a trash (Delete draft). Resume and Edit open/automations/setup?draftId=<id>; Test dispatches a test run (toast Test run started.) on a materialized DRAFT-state automation that the groups do not list; Delete asks Delete draft? (Delete β<name>β? This removes the saved setup draft, but does not delete any final automations.) with Cancel / Delete draft and toasts Draft deleted., also removing the draft's materialized test automation. The confirmation is the named modal dialog Delete draft? (the automation delete dialog with draft copy): it opens with focus on Cancel, keeps Tab inside, closes on Escape, X, Cancel or a backdrop click and returns focus to the trash button.F21.phone: at 390 px the dashboard has no horizontal overflow, tiles wrap 2Γ2 and the kebab menu stays inside the viewport.
How to get to it (user POV)
- Sidebar Automate (
sidebar-automations-link); hovering it reveals the pin (sidebar-pin-home-toggle-automations). - Direct URL
/automations; the Templates sub-page is/automations/templates(F22). - Command menu (
Control+k/Meta+korcommand-menu-trigger): typeAutomationsor a keyword such ascron, press Enter. - With Automate pinned,
/(logo, a bare visit) lands on/automations. - Sub-page navigation:
automations-navbar-desktop(aside) orautomations-navbar-mobile(phone strip), linksautomations-navigation-listandautomations-navigation-templates. - Header Add Automation (
automations-add-automation) β Create Automation (automations-add-automation-create,/automations/setup, F22) or Import automation (automations-import-automation, F22); on the empty dashboard, the Recommended automations rail cards (recommended-automation-rail-card-<id>). - Getting-started checklist item Schedule a task links to
/automations(onboarding checklist family). - Saved drafts: the Drafts group rows (
automation-setup-draft-resume-<draft-id>,-edit-,-test-,-delete-). - Per automation: Play (
automation-run-now-<id>, name "Run now") and kebab (name "Automation actions") on each card or row; the card itself and the row link open the detail page (F23).
Driving it with control-openhands
Preconditions:
Baseline state (launched, doctored,
onboard --skipdone) with an active LLM profile for Run now (control-openhands llm preset deepseek, or--api-key-file <file>when the key is in a file).No automations exist (
control-openhands api GET /api/automation/v1shows"total": 0); the recipes start from the empty state.Fixtures are imported through Add Automation β Import automation (F22 owns that flow; here it only arranges). Create the files first; each command prints the path to upload (
$OH_VERIFY_RUN/evidence/_fixtures/<name>):control-openhands fixture file --name qa-f21-alpha.automation.json --content '{"version":1,"kind":"automation","spec":{"name":"QA_F21 Alpha","trigger":{"type":"cron","schedule":"0 0 1 1 *","timezone":"UTC"},"enabled":false,"prompt":"Reply with the single word: pong. Do not run any tools."}}',control-openhands fixture file --name qa-f21-beta.automation.json --content '{"version":1,"kind":"automation","spec":{"name":"QA_F21 Beta","trigger":{"type":"event","source":"github","on":"pull_request.opened"},"enabled":false,"prompt":"Beta event-driven QA fixture; never runs."}}',control-openhands fixture file --name qa-f21-fail.automation.json --content '{"version":1,"kind":"automation","spec":{"name":"QA_F21 Fail","trigger":{"type":"cron","schedule":"0 0 1 1 *","timezone":"UTC"},"enabled":false,"prompt":"Reply with the single word: pong.","timeout":1}}'. The yearly cron (0 0 1 1 *) keeps a turned-on fixture from firing on its own.Selectors below avoid run-specific ids:
[data-testid^="automation-card-"] >> has-text=<name>(grid) and[data-testid^="automation-list-row-"] >> has-text=<name>(list). The kebab menu renders in a portal with no test ids; scope its items asrole=list >> has-text=Export >> role=button[name="..."].Sidebar entry (
F21.sidebar-entry). From/runcontrol-openhands browser click 'testid=sidebar-automations-link',control-openhands browser urlandcontrol-openhands browser testids --filter automations-navigation. The URL is/automations, themainheading is Dashboard, andautomations-navigation-listandautomations-navigation-templatesare listed.Command menu (
F21.command-menu). Runcontrol-openhands browser goto /(Sidebar entry ends on/automations, where the URL check would pass at once),control-openhands browser press Control+k,control-openhands browser type 'testid=command-menu >> role=combobox' cron,control-openhands browser snapshot 'testid=command-menu',control-openhands browser press Enter, thencontrol-openhands browser url. The snapshot lists exactly one option,Automations Review scheduled and webhook automations. Go([selected], under Navigation), and the URL ends in/automations.Pin as home (
F21.pin-home). On any page runcontrol-openhands browser hover 'testid=sidebar-automations-link',control-openhands browser click 'testid=sidebar-pin-home-toggle-automations',control-openhands browser attr 'testid=sidebar-pin-home-toggle-automations' aria-pressed(true;aria-labelbecomesUnpin as home page), thencontrol-openhands browser goto /andcontrol-openhands browser url: the URL is/automations. Unpin with the same hover and click (aria-pressedfalse);control-openhands browser goto /then stays on/.Sub-page navigation (
F21.subpage-nav). On/automations(control-openhands browser goto /automations; Pin as home ends on/) runcontrol-openhands browser click 'testid=automations-navbar-desktop >> testid=automations-navigation-templates'(URL/automations/templates, h1 Templates),control-openhands browser click 'testid=automations-navbar-desktop >> testid=automations-navigation-list'andcontrol-openhands browser attr 'testid=automations-navbar-desktop >> testid=automations-navigation-list' aria-current(page). Below 1024 px the same links live undertestid=automations-navbar-mobile(see Phone), tablets included: runcontrol-openhands browser viewport tablet(820 px),control-openhands browser visible 'testid=automations-navbar-mobile'(true) andcontrol-openhands browser visible 'testid=automations-navbar-desktop'(false), thencontrol-openhands browser viewport desktop.Backend unavailable (
F21.backend-unavailable). Runcontrol-openhands service stop automation,control-openhands browser goto /automations,control-openhands browser wait-text 'Automations Unavailable',control-openhands browser text 'role=main'andcontrol-openhands browser screenshot --feature F21.backend-unavailable --name unavailable. The main pane readsDashboard, the subtitle,Automations Unavailable,The automations backend is not available right now. ...andRetry; the sidebar Automate item stays. Thencontrol-openhands restart(the page stays put),control-openhands browser click 'role=button[name="Retry"]'andcontrol-openhands browser wait 'testid=automations-empty': the dashboard returns without a reload.List error (
F21.list-error). The health result is cached for 30 s, and every page's sidebar checklist fetches it but not the 50-row list. Runcontrol-openhands browser goto /settings/secrets, then within 30 scontrol-openhands service stop automation,control-openhands browser click 'testid=sidebar-automations-link' --expect-url '/automations'andcontrol-openhands browser wait-text 'Failed to load automations'. The header, tiles (zeros) and Filters render aboveFailed to load automationsandRetry; screenshot with--feature F21.list-error --name list-error. Thencontrol-openhands restart, clickrole=button[name="Retry"]and wait fortestid=automations-empty. Starting from/does not work: home loads the same list, so the cached copy is shown instead of the error.List loading (
F21.list-loading). Runcontrol-openhands browser goto /settings/secrets, thencontrol-openhands browser click 'testid=sidebar-automations-link' --observe '[data-testid="automation-card-skeleton"], [data-testid="automations-add-automation"]' --observe-ms 2000. One observed state isAdd Automationplus three empty skeleton entries (about 50 ms), followed byAdd Automationalone.Health loading (
F21.health-loading). On an owned disposable Local run, open/automationsand savecontrol-openhands browser tabs(active index and existing tab indices). Runcontrol-openhands service pause automation, then middle-clicktestid=sidebar-automations-linkwithbrowser click --button middle; select the newly opened tab withbrowser tab <new-index>. This creates a fresh document and uncached health request against the genuinely paused service. Within 3 seconds, wait fortestid=automation-card-skeleton >> nth=0: the count is3,testid=automations-add-automationis absent, and the Dashboard title remains. Capture the readback and screenshot. Arrange the pause in atry/finally: alwaysservice resume automation, close only the new tab, restore the original tab and run doctor; if recovery requires it, restart only this owned run and doctor again. A cached SPA navigation may miss this health-only branch; stopping the service produces a failed request instead of the pending state.Missing manifest (
F21.manifest-404). Use an isolated worktree at the frozen target and a private copy of its pinned@openhands/extensionspackage. Remove only theAUTOMATION_INTERFACEexport from the copiedautomations/index.jsbeforenpm run build:app; leave Canvas source and the lockfile unchanged. Serve that frontend against an owned healthy Local backend. Open/and/automations: the sidebar Automate link should be absent,/automationsshould render 404, and Home should have no Schedule a task link, recommendation section, or no-manifest error toast. On frozen61a3bd93(2026-10-17), an isolated private copy of pinned@openhands/[email protected]with only that runtime export removed reproduced the route/sidebar checks on desktop and phone, but Home retained the dead checklist link (visible in the phone drawer) and a visibleNo automation interface manifest is admittedtoast (#18210; draft fix PR #18212). Record the alternate build as fault injection; the unmodified pinned package does include the manifest. Stop the private frontend and remove only this test worktree/build afterward.Empty state (
F21.empty-state). With no automations runcontrol-openhands browser goto /automations,control-openhands browser text 'testid=automations-empty',control-openhands browser enabled 'testid=automations-view-toggle'andcontrol-openhands browser screenshot --feature F21.empty-state --name empty. The text startsNo automations configured, containsCreate an automation,Learn more in the documentationandCreate Automation, and lists the Recommended automations;enabledisfalse; the tiles readAutomations 0 / 0 activeandNeeds attention 0 / No latest-run failures.control-openhands browser click 'testid=automations-empty >> testid=automations-create-automation' --expect-url '/automations/setup'opens the setup page (form plus docked composer, F22) andcontrol-openhands conversation listis unchanged (no conversation until the user sends a prompt). The empty-state copy still says "Start a new conversation and tell OpenHands to Create an automation".Add Automation menu (
F21.add-menu). Runcontrol-openhands browser click 'testid=automations-add-automation'andcontrol-openhands browser snapshot 'testid=automations-add-automation-menu': buttonsCreate AutomationandImport automation.control-openhands browser press Escape(or a click onrole=heading[name="Dashboard"]) makesbrowser count 'testid=automations-add-automation-menu'0. Reopen it andcontrol-openhands browser click 'testid=automations-add-automation-create' --expect-url '/automations/setup': the agent-assisted setup page opens. Go back to/automations, reopen the menu, andcontrol-openhands browser click 'testid=automations-import-automation': the import modal is covered by F22.Recommended rail on the empty dashboard (
F21.empty-rail). With no automations,control-openhands browser click 'testid=automations-empty >> testid=recommended-automation-rail-card-custom-automation' --expect-url 'automations/new'lands on/automations/new/custom-automationwith the Before you start prerequisites dialog (F22).control-openhands browser backreturns to/automations; therebrowser attr 'testid=recommended-automations-rail-fade-left' data-visibleisfalseand...-fade-rightistrue(scrolling is F03.recommended-automations-rail). With Home's rail hidden (browser eval "localStorage.getItem('openhands.home_recommended_automations_dismissed')"istrue),browser count 'testid=automations-empty >> testid=recommended-automations-rail'is still1andbrowser count 'testid=recommended-automations-rail-dismiss'is0.Saved drafts (
F21.saved-drafts,F21.search). Arrange one draft through the setup page (F22's Open and save a draft: nameQA_F22 Delta Draft, promptReply pong. Do not run any tools., custom cron0 0 1 1 *, Save draft), thencontrol-openhands browser goto /automations.control-openhands browser text 'role=main'listsDrafts 1/QA_F22 Delta Draftabove the groups, andcontrol-openhands browser testids 'role=main' --filter draftlistsautomation-setup-draft-<draft-id>,-resume-,-open-,-edit-(Edit),-test-(Test draft) and-delete-(Delete draft).control-openhands browser tooltip 'testid=automation-setup-draft-test-<draft-id>'isTest Run; clicking it toastsTest run started.and the draft (api GET /api/automation/v1/drafts/<draft-id>) gainsmaterialized_automation_idandlast_test_run_id; that automation hasstateDRAFT, is not listed in any group, and its detail page shows the Draft badge (F23.header). Once its run isCOMPLETED(pollapi GET '/api/automation/v1/<materialized-id>/runs?limit=10'),control-openhands browser reloadleaves the tiles atAutomations 0 / 0 active,Total runs 0andAverage duration β(browser text 'testid=overview-tile-total-runs'): the test automation is not counted.testid=automation-setup-draft-resume-<draft-id>andtestid=automation-setup-draft-edit-<draft-id>each open/automations/setup?draftId=<draft-id>(--expect-url '/automations/setup') with the saved values. Search narrows drafts too: fillingDeltaleaves 0 rows and 1 draft;zzqa-nomatchshows the filtered empty state with no draft. Delete: clicktestid=automation-setup-draft-delete-<draft-id>;control-openhands browser snapshot 'role=dialog[name="Delete draft?"]'showsbutton "Close", headingDelete draft?,Delete βQA_F22 Delta Draftβ? This removes the saved setup draft, but does not delete any final automations.,CancelandDelete draft, andcontrol-openhands browser eval "document.activeElement.textContent"isCancel;browser press Tab(repeated) cycles Delete draft, Close and Cancel without leaving the dialog.control-openhands browser press Escapemakesbrowser count 'role=dialog[name="Delete draft?"]'0with the draft kept and focus back onautomation-setup-draft-delete-<draft-id>; reopening and closing with'role=dialog[name="Delete draft?"] >> role=button[name="Close"]',... role=button[name="Cancel"]and a backdrop click (control-openhands browser mouse-click 1400 950) each give0too. At phone width the confirm button isinsideViewport(browser bbox 'testid=automation-setup-draft-delete-confirm').control-openhands browser click 'testid=automation-setup-draft-delete-confirm'toastsDraft deleted.; draftstotalis0and the materialized test automation answers404.Arrange two automations (import, F22). Run
control-openhands browser click 'testid=automations-add-automation',control-openhands browser click 'testid=automations-import-automation',control-openhands browser upload 'testid=automations-import-file' "$OH_VERIFY_RUN/evidence/_fixtures/qa-f21-alpha.automation.json",control-openhands browser click 'testid=import-automation-confirm',control-openhands browser wait 'testid=import-automation-modal' --state detached. Repeat withqa-f21-beta.automation.json. Both arrive disabled, under Inactive 2.Grid cards (
F21.card-grid). Runcontrol-openhands browser reload,control-openhands browser snapshot 'role=main'andcontrol-openhands browser screenshot --feature F21.card-grid --name grid. Each card shows its name, prompt, pills (pull_request.opened+ GitHub logo for Beta,cronfor Alpha), No activity yet, andRuns 0 / Recent success β / Avg. duration β; both Play buttons are[disabled].Kebab menu (
F21.kebab-menu). Runcontrol-openhands browser click '[data-testid^="automation-card-"] >> has-text=QA_F21 Alpha >> role=button[name="Automation actions"]'andcontrol-openhands browser snapshot 'role=list >> has-text=Export': buttonsRun now [disabled],View,Export,Edit,Turn on,Delete.control-openhands browser press Escape, thencontrol-openhands browser count 'role=list >> has-text=Export'is0. Reopen it and clickrole=heading[name="Dashboard"]; the count is0again.Turn on (
F21.toggle). Open Alpha's kebab as above, runcontrol-openhands browser click 'role=list >> has-text=Export >> role=button[name="Turn on"]', thencontrol-openhands browser reloadandcontrol-openhands browser snapshot 'role=main'. No dialog appears; an Active 1 group holds QA_F21 Alpha, the Automations tile reads2 / 1 active, and Alpha's Play is enabled (control-openhands browser enabled '[data-testid^="automation-card-"] >> has-text=QA_F21 Alpha >> role=button[name="Run now"]'istrue).Run now from Play (
F21.run-now). Runcontrol-openhands browser click '[data-testid^="automation-card-"] >> has-text=QA_F21 Alpha >> role=button[name="Run now"]',control-openhands browser wait-text 'Automation dispatched'andcontrol-openhands browser screenshot --feature F21.run-now --name toast. The URL stays/automations, the status strip reads Pending, then Running, and Total runs becomes1. About 40 s later, after a reload, the strip reads Successful with the agent's summary and the sidebar lists a conversation titledQA_F21 Alpha β <UTC timestamp>(control-openhands conversation list).List view (
F21.view-toggle,F21.list-row). Runcontrol-openhands browser click 'testid=automations-view-toggle',control-openhands browser click 'testid=automations-view-toggle-list',control-openhands browser reload,control-openhands browser count '[data-testid^="automation-list-row-"]'(2) andcontrol-openhands browser eval "localStorage.getItem('openhands-automations-view')"("list"). Thencontrol-openhands browser text '[data-testid^="automation-list-row-"] >> has-text=QA_F21 Alpha'readsQA_F21 Alpha / 0 0 1 1 * / <relative time> / <status>, andcontrol-openhands browser attr '[data-testid^="automation-list-row-"] >> has-text=QA_F21 Alpha >> role=link >> nth=0' aria-labelisQA_F21 Alpha <status>(for exampleQA_F21 Alpha Running). Screenshot withcontrol-openhands browser screenshot --feature F21.list-row --name list. Escape closes the open view menu (control-openhands browser count 'testid=automations-view-toggle-list'is0).Hover previews (
F21.row-tooltip,F21.summary-hovercard). After Alpha's run has succeeded, in list view runcontrol-openhands browser tooltip '[data-testid^="automation-list-row-"] >> has-text=QA_F21 Alpha >> role=link >> nth=0':QA_F21 Alpha / Trigger / 0 0 1 1 * / Status / Successful / Last run / <relative time> / Task / <the run summary>(a row without runs shows only Trigger andStatus / No activity yet).control-openhands browser tooltip '[data-testid^="automation-list-row-"] >> has-text=QA_F21 Alpha >> role=button[name="Run now"]'isRun now. In grid view (control-openhands browser click 'testid=automations-view-toggle',control-openhands browser click 'testid=automations-view-toggle-grid'),control-openhands browser tooltip '[data-testid^="automation-card-"] >> has-text=QA_F21 Alpha >> text=Replied'(the start of the truncated summary) returns the full summary, for exampleReplied with the single word "pong" as requested, without running any tools.Switch back withtestid=automations-view-toggleandtestid=automations-view-toggle-list: the next bullets count list rows.Sparkline deep link (
F21.sparkline-deeplink). After Alpha has a run, runcontrol-openhands browser attr '[data-testid^="automation-activity-"] >> role=link >> nth=0' href,control-openhands browser click '[data-testid^="automation-activity-"] >> role=link >> nth=0',control-openhands browser urlandcontrol-openhands browser testids --filter run. The href and URL are/automations/<id>?run=<runId>, andautomation-run-highlight-<runId>is visible. Return withcontrol-openhands browser goto /automations.Search (
F21.search). Runcontrol-openhands browser fill 'role=textbox[name="Search automations..."]' pongandcontrol-openhands browser count '[data-testid^="automation-list-row-"]'. The count is1(Alpha matches by prompt only). Then fillzzqa-nomatch;control-openhands browser text 'testid=overview-tile-automations'still readsAutomations 2 / 1 active.Filtered empty and Clear filters (
F21.filtered-empty). Withzzqa-nomatchin the search box runcontrol-openhands browser text 'testid=automations-filtered-empty'(No automations match these filters/Clear filters),control-openhands browser click 'testid=automations-clear-filters',control-openhands browser value 'role=textbox[name="Search automations..."]'(empty) and the row count (2).Filters (
F21.filters). Runcontrol-openhands browser click 'testid=automations-filters >> testid=dropdown-trigger >> nth=0',control-openhands browser snapshot 'testid=automations-filters-menu'(Filter by statusAll statuses, Filter by triggerAll triggers, Sort automationsLatest run),control-openhands browser click 'testid=automations-filter-status >> testid=dropdown-trigger',control-openhands browser click 'testid=automations-filter-status-disabled', thencontrol-openhands browser text 'testid=automations-filters >> testid=dropdown-trigger >> nth=0'(Filters 1) and the row text (only QA_F21 Beta). The popover stays open:control-openhands browser count 'testid=automations-filters-menu'is1andcontrol-openhands browser attr 'testid=automations-filters >> testid=dropdown-trigger >> nth=0' aria-expandedistrue. In the same popover runcontrol-openhands browser click 'testid=automations-filter-trigger >> testid=dropdown-trigger'andcontrol-openhands browser click 'testid=automations-filter-trigger-schedule': the badge isFilters 2,testid=automations-filtered-emptyappears and the menu count is still1(control-openhands browser screenshot --feature F21.filters --name two-filters).control-openhands browser click 'testid=automations-filters-reset': both rows return, the button readsFiltersand the popover stays open. Trigger Event-driven (automations-filter-trigger-event, chosen in the same open popover) alone leaves only QA_F21 Beta. An outside click closes the popover:control-openhands browser click 'role=heading[name="Dashboard"]', then the menu count is0andaria-expandedisfalse. Runcontrol-openhands browser reloadto clear the filter (filters are page state): the next bullets need Alpha visible.Turn off (
F21.toggle). In list view runcontrol-openhands browser click '[data-testid^="automation-list-row-"] >> has-text=QA_F21 Alpha >> role=button[name="Automation actions"]',control-openhands browser click 'role=list >> has-text=Export >> role=button[name="Turn off"]',control-openhands browser count 'testid=confirmation-modal'(0, no confirmation),control-openhands browser reload. The page shows Inactive 2 with the tile at0 active, and Play reportsenabledfalse.Edit from the dashboard (
F21.edit). Turn off (above) left both automations in the Inactive group, as Sort needs. Open Alpha's kebab andcontrol-openhands browser click 'role=list >> has-text=Export >> role=button[name="Edit"]' --expect-url '/automations/setup': the URL is/automations/setup?automationId=<id>,control-openhands browser value 'testid=automation-setup-name'isQA_F21 Alpha,automation-setup-promptholds the prompt,automation-setup-custom-scheduleis0 0 1 1 *(Frequency Custom, timezone UTC), Timeout600, andbrowser testids 'testid=automation-setup-toolbar'listsautomation-setup-test,automation-setup-saveandautomation-setup-close;control-openhands conversation listis unchanged. Runcontrol-openhands browser fill 'testid=automation-setup-name' 'QA_F21 Zulu',control-openhands browser network --clear,control-openhands browser click 'testid=automation-setup-save'andcontrol-openhands browser toasts --history(Automation updated);control-openhands browser network --bodies --filter 'automation/v1'shows onePATCH /api/automation/v1/<id>withname,trigger,model: null(Active profile kept),agent_profile_id: null,timeoutandprompt, andcontrol-openhands api GET /api/automation/v1showsQA_F21 Zuluwith the schedule unchanged. The toast sits over the toolbar and stays while the pointer rests on it (see Gotchas): runcontrol-openhands browser hover 'testid=automation-setup-name'and wait about 5 s, thencontrol-openhands browser click 'testid=automation-setup-close' --expect-url '/automations$'. At phone width the same kebab Edit on QA_F21 Beta (event trigger) shows Event selected with Event source GitHub and no horizontal overflow (browser bbox 'testid=automation-setup-form'). Script automation: for a tarball automation (create one with F22's Upload tarball bullet), kebab Edit showsCustom Pythonwith the Existing code bundle summary:browser count 'testid=automation-setup-existing-bundle'is1,browser text 'testid=automation-setup-existing-bundle-name'is the upload id (itstitleis the fulloh-internal://uploads/<id>path) andbrowser count 'testid=automation-setup-custom-code'is0; a coldbrowser goto '/automations/setup?automationId=<id>'shows the same summary.Sort (
F21.sort). With QA_F21 Zulu (1 run) and QA_F21 Beta (no runs) both inactive, open Filters,control-openhands browser click 'testid=automations-sort >> testid=dropdown-trigger',control-openhands browser click 'testid=automations-sort-name', thencontrol-openhands browser text '[data-testid^="automation-list-row-"] >> nth=0'. Beta comes first, the badge readsFilters 1and the popover stays open. Fill the search withzzqa-nomatchand clicktestid=automations-clear-filters(a click outside the popover, which closes it): the badge staysFilters 1and Beta stays first (the sort is kept). Open Filters and the sort field again and chooseautomations-sort-runs; Zulu comes first. Close the popover withcontrol-openhands browser click 'role=heading[name="Dashboard"]'(browser count 'testid=automations-filters-menu'is0).Export (
F21.export). Open Zulu's kebab,control-openhands browser click 'role=list >> has-text=Export >> role=button[name="Export"]', thencontrol-openhands browser downloads --last 1 --inspect. The download path ends inqa-f21-zulu.automation.json(under<run>/private/downloads/); the inspected head holds"version": 1,"kind": "automation"and aspecwith name, trigger,enabled, prompt,model(nullfor Active profile), timeout and timezone.Open the detail page (
F21.open-detail). Kebabrole=list >> has-text=Export >> role=button[name="View"],control-openhands browser click '[data-testid^="automation-list-row-"] >> has-text=QA_F21 Zulu >> role=link >> nth=0',control-openhands browser click '[data-testid^="automation-card-"] >> has-text=QA_F21 Zulu >> role=heading'(grid: switch first withcontrol-openhands browser click 'testid=automations-view-toggle'andcontrol-openhands browser click 'testid=automations-view-toggle-grid'; the later bullets use cards), andcontrol-openhands browser focus '[data-testid^="automation-card-"] >> has-text=QA_F21 Beta'+control-openhands browser press Entereach makecontrol-openhands browser urlread/automations/<that automation's id>. Go back withcontrol-openhands browser back.Git Sync button (
F21.git-sync-button).control-openhands browser click 'testid=automations-git-sync', thencontrol-openhands browser url:/automations/git-sync(F24).Needs attention, kebab Run now (
F21.overview-tiles,F21.run-now,F21.filters). Runcontrol-openhands browser goto /automations(the Git Sync button left/automations/git-sync), importqa-f21-fail.automation.jsonas above, turn it on from its kebab, thencontrol-openhands browser click '[data-testid^="automation-card-"] >> has-text=QA_F21 Fail >> role=button[name="Automation actions"]',control-openhands browser enabled 'role=list >> has-text=Export >> role=button[name="Run now"]'(true), click it,control-openhands browser wait-text 'Automation dispatched'. The 1 s timeout run endsFAILEDafter about 3-4 minutes (check withcontrol-openhands api GET /api/automation/v1/<id>/runs; the id is inapi GET /api/automation/v1). Thencontrol-openhands browser reload,control-openhands browser text 'testid=overview-tile-needs-attention'(Needs attention 1 / Latest run failed), andcontrol-openhands browser screenshot --feature F21.overview-tiles --name needs-attention. The Fail card shows Failed withTimed out: command timed out or was killed, a red sparkline bar andRecent success 0%; Total runs is2. Open Filters and choose statusautomations-filter-status-failing(testid=automations-filter-status >> testid=dropdown-trigger, thentestid=automations-filter-status-failing): only QA_F21 Fail is left. In the still-open popover clicktestid=automations-filters-reset(all three automations return), then close it withcontrol-openhands browser click 'role=heading[name="Dashboard"]': the next bullets need QA_F21 Fail and QA_F21 Beta visible.Run now error (
F21.run-now-error). Arrange a stale card: with the dashboard open, runcontrol-openhands api DELETE /api/automation/v1/<QA_F21 Fail id> --writeandcontrol-openhands browser toasts --history --clear(empties the toast history), then click'[data-testid^="automation-card-"] >> has-text=QA_F21 Fail >> role=button[name="Run now"]', thencontrol-openhands browser toasts --historyandcontrol-openhands browser screenshot --feature F21.run-now-error --name error-toast. The history holds exactly one toast,Automation not found, and noRequest failed with status code 404.browser errors --app-onlythen lists the induced 404 on/dispatch. Expected: the card then drops out without a reload:control-openhands browser wait '[data-testid^="automation-card-"] >> has-text=QA_F21 Fail' --state detached --timeout 10000succeeds. Known failure: the wait times out and the card stays untilcontrol-openhands browser reload(#18062, see Gotchas).Delete with confirmation (
F21.delete). Open Beta's kebab and clickrole=list >> has-text=Export >> role=button[name="Delete"].control-openhands browser snapshot 'role=dialog[name="Delete automation"]'shows dialogDelete automationwithClose, the heading,Delete "QA_F21 Beta"? This cannot be undone.,CancelandDelete; focus starts on Cancel (control-openhands browser eval "document.activeElement.textContent"isCancel) andbrowser press Tab/Shift+Tabcycle Cancel, Delete and Close inside the dialog. Takecontrol-openhands browser screenshot --feature F21.delete --name dialog.control-openhands browser click 'role=dialog[name="Delete automation"] >> role=button[name="Cancel"]'closes it (control-openhands browser count 'role=dialog[name="Delete automation"]'is0) with the card kept. Reopen and close it with the X (control-openhands browser click 'role=dialog[name="Delete automation"] >> role=button[name="Close"]'), then reopen andcontrol-openhands browser press Escape: the dialog count is0and the card count1each time. Reopen, thencontrol-openhands browser click 'role=dialog[name="Delete automation"] >> role=button[name="Delete"]',control-openhands browser reloadandcontrol-openhands browser count '[data-testid^="automation-card-"] >> has-text=QA_F21 Beta'. The count is0. Delete the remaining fixtures the same way (rows work too) untiltestid=automations-emptyreturns.Load more (
F21.load-more). Arrange 51 inert automations (event trigger that never fires):for i in $(seq -w 1 51); do control-openhands api POST /api/automation/v1/preset/prompt --write --data "{\"name\":\"QA_F21 Page $i\",\"prompt\":\"QA paging fixture; never runs.\",\"trigger\":{\"type\":\"event\",\"source\":\"qa-f21\",\"on\":\"qa.f21.never\"}}"; done. Thencontrol-openhands browser goto /automations,control-openhands browser wait 'role=button[name="Load more"]', row/card count50,control-openhands browser click 'role=button[name="Load more"]',control-openhands browser wait 'role=button[name="Load more"]' --state detached, count51. The preset fixtures arrive enabled (51 active) but never fire. Keep them for Phone (it needs at least one automation) and clean up after it.Phone (
F21.phone,F21.subpage-nav). With at least one automation, runcontrol-openhands browser viewport phone,control-openhands browser bbox 'role=main'(insideViewporttrue,pageHorizontalOverflowfalse),control-openhands browser screenshot --feature F21.phone --name dashboard,control-openhands browser click 'testid=automations-navbar-mobile >> testid=automations-navigation-templates'(URL/automations/templates) and back throughautomations-navigation-list. Open the first card's kebab and runcontrol-openhands browser bbox 'role=list >> has-text=Export': the menu isinsideViewporttrueand sits above the kebab (flipped). Takecontrol-openhands browser screenshot --feature F21.phone --name kebab, thencontrol-openhands browser press Escapeandcontrol-openhands browser viewport desktop. Now clean up the paging fixtures withcontrol-openhands api DELETE /api/automation/v1/<id> --writefor eachQA_F21 Pageid fromcontrol-openhands api GET '/api/automation/v1?limit=100'(UI deletion is covered above) untiltotalis0.Errors. After each group,
control-openhands browser errors --app-onlyshows no page errors; the only app errors are the induced 404s for the deleted QA_F21 Fail:/dispatchand the stale card's/runs?limit=20&offset=0. The backend-down recipes add 502s on/api/automation/health,/sdk-versionand the list while the service is stopped; clear them withbrowser errors --clearafterrestart.
Gotchas
- Both sub-page navs are always in the DOM (one hidden by CSS). Unscoped
testid=automations-navigation-templatesis a strict-mode violation; scope it withtestid=automations-navbar-desktop >>ortestid=automations-navbar-mobile >>. - The pin toggle is invisible until the Automate item is hovered on a fine pointer:
browser hover 'testid=sidebar-automations-link'before clicking it. The pin is stored per backend and org inlocalStorage(oh:pinned-home-route:<backend>:<org>); unpin before leaving the run. - The Filters popover's status and trigger choices do not apply to the Drafts group: with status Active and trigger Event-driven, a cron draft stays listed and the filtered empty state does not show (search does filter drafts). Intent undocumented in #17242.
- The setup page's success toast (
Automation updated) covers its toolbar's Test, Save and Close and does not time out while the pointer rests on it; a click there fails with "subtree intercepts pointer events". Move the pointer away (browser hoveron a form field), wait about 5 s, then click. testid=dropdown-triggeris reused by the backend selector, the Filters button and every inner dropdown. Always scope it (testid=automations-filters >> testid=dropdown-trigger >> nth=0for the Filters button,testid=automations-filter-status >> testid=dropdown-triggerfor a field).- The Filters popover stays open while choices change and closes only on a click outside it or on the Filters button; Escape does not close it. Open, it covers the right part of the list (in list view the first rows' Play buttons): close it with a click on
role=heading[name="Dashboard"]before clicking row or card controls. - A card whose automation was deleted elsewhere stays on the dashboard after its Run now fails with
Automation not found. Expected: the card drops out once the dispatch returns 404. Known failure: nothing refetches the list after the failed dispatch, so the card stays until a reload or another list refetch (still there 2 minutes later) (#18062). - The delete confirmation has no test ids; scope it as the named dialog
role=dialog[name="Delete automation"]. It opens with focus on Cancel. - Delete closes the dialog at once and shows no success toast; confirm with a reload. Turn off on the dashboard never asks for confirmation (home cards do).
- The kebab menu has no test ids;
role=list >> has-text=Exportis the reliable scope. A card's own Run now has the same accessible name as the kebab item, so scope Play to the card. - Imported automations are always disabled (
Import automationsays so), and Run now is disabled until you Turn on. Use the yearly cron0 0 1 1 *or an event trigger so an enabled fixture never fires by itself, and turn it back off. - Run now uses the active LLM profile when the automation's model is
Active profile. A successful run creates a conversation titled<automation name> β <UTC timestamp>that stays after the automation is deleted. Delete it separately (control-openhands conversation list, conversations family) to leave the run clean. - A timeout of 1 s does not fail fast: the run sat in
Installing dependenciesand failed withTimed out: command timed out or was killedabout 3-4 minutes after dispatch. Budget for that when you need a failing run for Needs attention. - The Automations tile counts only loaded pages: with 51 automations it reads
50until Load more is clicked, although the APItotalis 51. - The row health dot and label reflect the latest run only; a disabled automation with no runs reads
No activity yet, notDisabled. - In grid view a cron automation without
schedule_humanshows the pillcron, while list view shows the raw expression (0 0 1 1 *). - The view mode persists in
localStorage(openhands-automations-view), and the toggle is disabled when the org has no automations. Switch back to Grid before deleting the last automation, or the next run starts in List. - Filters, search and sort are page state only: a reload resets them.
service stop automationstops only this run's automation service;restartbrings the whole stack back with the same state and the browser on the same page. Runcontrol-openhands doctorafterwards.- The Automation dispatched toast lasts only a few seconds: run
browser wait-text 'Automation dispatched'right after the click, not after a long--observewindow. browser screenshot --full-pageat phone width does not capture below the fold, because the page scrolls inside the main pane; screenshot sections or usebbox.- Known issue OpenHands/automation#246 (
F21.backend-unavailable,F21.list-error): The report says only that local automation returns 404. It omits the URL, UI action, release and launcher/service setup, so a normal successful dashboard visit would not reproduce or resolve its unknown branch. Ask for those exact prerequisites before writing a failing recipe. - Known issue OpenHands/automation#347 (
F21.card-grid,F21.overview-tiles): per-automation run-summary reads lack an aggregate contract, and the report describes a 30 s shared-resource stall with HTTP 500 plus SQLite pool settings that do not apply. A failing recipe needs the original database/lock workload and redacted service-log/HAR timing evidence, which the report withholds. Successful summary reads under the Canvas request throttle do not establish those backend contracts.