Skip to content

Support automations in Orca Mobile - #31617

Merged
brennanb2025 merged 82 commits into
mainfrom
brennanb2025/feature-support-automations-in-orca-mobile
Oct 31, 2026
Merged

brennanb2025 merged 82 commits into
mainfrom
brennanb2025/feature-support-automations-in-orca-mobile

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 135 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​15063 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1441 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​13622
Prod 281 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​13330 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2636 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​10694

ELI5

You could set up automations and inspect their runs on desktop, but not on your phone. Local and remote projects can also share the same IDs, so an ID alone is not enough to tell Orca which machine should run a task or save a file.

This adds Automations to Orca Mobile and keeps each action attached to the host and project you chose. You can create a schedule, pause it, run it, and read a specific run’s saved output from your phone. Older records that need their host confirmed get an explicit repair path instead of being silently moved.

Tracked in #31129

What changed

  • Open Automations from Home or a connected host. Create through Task → Schedule → Review; new automations start enabled. Manage them with one on/off toggle, edit, or delete.
  • Browse all runs or one automation’s history, filter results, load older runs, and open the exact selected run. Run now opens the result returned by the host. Saved output remains readable when its original workspace or terminal is gone.
  • Preserve paused state, custom schedules and advanced values when editing something else. Correct an initially refused create without resubmitting stale choices; uncertain deliveries keep the original attempt so a retry cannot silently create a duplicate.
  • For older records, allow name-only edits without requiring a fresh project listing. Explicitly reselecting the original host and project can repair the same record when Orca can verify that saved target, preserving its history and output. Missing or ambiguous targets stay unavailable.
  • Keep local, SSH and paired-host copies separate, including copies with matching project or workspace IDs. Creation, agent discovery, setup preview, launch admission, session reuse and run navigation use the chosen owner. A missing owner does not become “local.” Your setup-script choice is saved after choosing another target, even when its dropdown was untouched. On the phone, leaving setup at “Use project settings” follows the project’s own default, and an unapproved setup script shows the existing trust prompt before anything is created.
  • Keep a terminal attached to its acquired host across workspace switches and option changes. Refresh the selected automation’s history when its host reports a matching run change, without requiring you to leave and reopen it.
  • Keep editor reads, writes and external file updates attached to the acquired file owner. A local child file in a folder containing both local and SSH projects can autosave and survive restart; removing an unrelated sibling does not invalidate it. Removing or replacing the acquired child still refuses the write and retains the draft.
  • Use the phone’s language and light/dark appearance throughout the automation screens. Recognized run-failure reasons use the same translations and fallbacks as desktop, including stopped WSL distributions. Known reasons an automation can’t be run, such as a deleted project, are translated too; a reason the phone doesn’t recognize is shown as the host sent it.

Why

The common pattern is to let the host own schedules, execution and saved output, while clients read, change and refresh that state. The phone follows that pattern rather than maintaining another scheduler. The additional ownership checks are needed because one Orca window can show several hosts, including projects and workspaces with identical IDs.

Intended differences and limits

  • Intended — old-style direct SSH: Reselecting a host repairs the record’s saved ownership; it does not restore a removed SSH execution provider. Main’s host-wide “This SSH host isn't supported by this version of Orca” policy still refuses these automations on both desktop and mobile. This difference was accepted as intended. Records and retained history remain available; the repair is not a promise that an unsupported host can run again.
  • Intended — Review shows where and when only: This matches the approved mock. Advanced arguments remain editable in Task; Review is not a second rendering of every field.
  • Intended — older owners require proof: Orca checks the saved target against the project catalog rather than assuming that a matching ID belongs to the currently selected host. Unlike a single-host client, Orca can show many hosts per window. Unproven or ambiguous ownership refuses an action rather than risking another machine’s files or processes.
  • Intended — folder and older-server boundaries: New folder targets use an existing managed workspace; already saved standalone-folder schedules remain supported. Older servers keep their existing supported discovery and launch paths. A client does not invent a target or borrow another host’s agents when the selected server cannot verify it.
  • Intended — repair versus move: A verified original-host repair updates the same record and keeps its history. The existing move to a different host creates a replacement and deletes the original with its history; the editor warns before that action. This PR does not introduce a history-preserving move between hosts.
  • Intended — saved output versus a live terminal: Existing cleanup may close a disposable non-reused run terminal. History still shows its saved output and offers Open workspace when no original pane remains; it does not pretend to reopen a closed run pane.
  • Intended — server automation setup prompt has no “Always trust”: Remembered setup-script approvals are stored on the paired desktop under the project ID alone, with no record of which machine’s script was approved. For an automation on a selected server, the phone neither reads nor writes those desktop approvals: it shows that server’s script and approves this save only. Automations on the paired desktop keep the existing prompt, including “Always trust”. Remembering approvals per host would need a new saved format and is not part of this change.
  • Intended — Chat automations on the phone: Chat automations made on desktop show up on the phone, and editing one there keeps it a Chat automation. Their runs show saved output; Open stays disabled because there is no terminal pane to open. New automations created on the phone run in a terminal. Choosing Chat or Terminal from the phone is outside this PR's approved scope.
  • Intended — notifications: Existing app-wide settings and delivery rules remain in charge. There is no new run-start push or automation-specific notification destination, matching the approved scope.

No temporary departure from the common pattern is proposed in this change.

Notes

No new saved fields or server operations are added. Repair and target selection do change how existing automation fields are validated and written, and terminal/editor ownership and history refresh behavior change as described above. The existing host scheduler still executes the schedule; notification policy and defaults are unchanged.

Existing agent discovery and refresh requests gain an optional host identifier, which the phone sends only after the server announces support. Older supported request paths remain available. The phone can use existing automation operations and read-only project/setup lists under the host’s permissions and ownership checks; this does not add project-management operations to the phone.

Ownership captured for an editor operation, including its selected child project, is kept in memory and is not serialized as a new saved field. Opening or upgrading an older automation does not silently adopt it onto another host.

Testing and verification

  • CI on 21cb11a (main merged again after 0cdc62f, each time for a conflict or a change to the same files: a terminal-start file, the combined diff loader, the host header, Chat automations, and the rebuilt phone Home and top bar. On the phone, Automations now sits right after Tasks in the Home bottom bar and the host More menu. The phone bundle size table was re-measured on the merged tree): 55 checks passed, none failed.
  • Passing evidence retained for unchanged flows: real Claude and Codex runs; selected history updating without navigation; live-session reuse; exact run navigation and saved output; scheduled launch into a new workspace; pause/resume; and graceful restart preserving definitions, history and output. Terminal owner retention across workspace and font changes also passed.
  • Earlier editor checks passed save, switch away/back, rename and save, and image insertion with correct disk contents. The later mixed-folder child-save/restart and captured-owner external-watch changes are covered by the targeted result below, not by those earlier passes.
  • Older-record checks passed name-only edits and verified same-record original-host repair with history, output and saved choices preserved. Unsupported direct-SSH execution stayed refused. Disabled run menus exposed the complete repair guidance and emitted no run request.
  • Native phone checks passed creation, toggle/edit navigation, exact saved output, filters, readable workspace labels and wrapped failure reasons in light and dark appearances. Ten named mobile test files passed 122 tests at that earlier head. Later selection, create-correction and localized-text changes are covered by CI and the phone screenshots below.
  • Contract and integration tests cover same-ID hosts, missing and ambiguous owners, stale responses, corrected creates, retry safety, setup consent, child-owner changes, watch selection and bounded catalog scans.
  • Targeted running-app checks for the latest ownership and consent changes:
    • Declined trust after retargeting saved “skip”, and Codex replied with no setup marker written. Accepting saved “run”, and Claude replied with the marker written: pass.
    • Local and SSH files open from different hosts each refreshed only from their own host after external writes: pass.
    • A local child file in a mixed local/SSH folder autosaved, kept its latest bytes through a graceful restart, and saved again after the SSH sibling was removed from the group: pass on a constructed folder. The selected-child branch itself is covered by the editor child-owner contract test, because current main refuses to group projects across hosts. Automatic editor reopening after an ordinary window close is existing main behavior and was not exercised.
    • An older build (1.4.237) saved an explicitly local workspace rather than the unstamped older shape, so launching an unstamped record is covered by the dispatch contract test rather than an app run. Upgrading preserved definitions and history exactly.
  • Mobile web bundle: measured on a real build at 113 scripts across 17 routes. The verifier’s route table now records those measured counts, with margin and byte budgets unchanged.
  • Phone screenshot run (iPhone 13 simulator, iOS 26.5, 390 pt):
    • A real failed run with a recorded reason (hooks waiting for review) shows the same sentence as desktop in English (light and dark), French and Japanese, without clipping: pass. Only that reason was rendered on a phone; reasons with filled-in details and the WSL reasons are covered by tests.
    • A failure with no recorded reason shows the host’s saved text, which also stands in for the empty output: pass.
    • On the paired desktop, a project set to run setup by default with an unapproved script: leaving setup at “Use project settings” shows the trust prompt before anything is created. Cancelling creates nothing; approving creates exactly one automation set to run setup: pass.
    • On a paired server, the same flow shows that server’s script with only Run hooks and Don’t run. Approving creates one automation set to run setup, and the desktop’s remembered approvals are unchanged: pass.
    • On a French phone, an automation whose project was deleted shows its reason in French in the list and the detail, and Run now stays disabled: pass (0cdc62f).
  • WSL: terminal creation, option refresh, live reattach and cold restoration passed; the Claude automation flow passed. The second Codex run is a main defect, not a PR regression: its reply was produced, but completion and output were not saved because a retained Codex daemon sent hooks with the first run’s identity. This is a recorded failure, not a passing row.

Screenshots

Failed run in English, English dark, French and Japanese:

English failed run English dark failed run French failed run Japanese failed run

Runs list rows (English, French), and a failure with no recorded reason:

English runs list French runs list Failure without a recorded reason

Setup left at “Use project settings”, then the trust prompt: paired desktop (light, dark) and paired server (light, dark), where Always trust is not offered:

Desktop setup default Desktop trust prompt Desktop trust prompt dark

Server setup default Server trust prompt Server trust prompt dark

Automation whose project was deleted, on a French phone (list and detail):

French list with deleted project French detail with deleted project

Adjacent main issues found during QA

These are not fixed here:

  • A run can temporarily show Failed while Claude is waiting for first-run onboarding, then become Done. A provider request rejected without a reply can also be recorded as Done.
  • A retained Codex daemon in WSL can attribute a second terminal’s hooks to the first terminal, leaving the second run’s completion and output unsaved.
  • An already open Changes view can remain stale after an image insertion and save until the tab is reopened, despite correct disk contents.
  • Unrecognized host failures can retain technical diagnostics instead of an actionable localized message. Host-saved run titles can retain an English “run” suffix, and some existing desktop translations use the wrong sense of “run.”
  • Main’s remembered setup-script approvals are keyed by project ID only. Phone New workspace and desktop automations guard against a same-ID project on another host only when that host’s project list is loaded.
  • Removing the original project correctly prevents repair, but the existing refusal can describe it as a missing host. Intermittent list/global-history refresh after a repair save was also observed; no PR-specific cause was established.

@brennanb2025
brennanb2025 marked this pull request as ready for review October 21, 2026 19:00
@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
Walkthrough

The changes add mobile automation routes, screens, validated RPC operations, target discovery, draft editing, scheduling, and run-history views. The mobile app can create, update, delete, enable, disable, and run automations. Automation and terminal paths now resolve repositories and workspaces with execution-host context, including local and SSH targets. Tests cover mobile workflows, RPC routing and authorization, host-scoped workspace resolution, preflight, terminal launch, and session reuse.

Merge Risk: Moderate · up to 3621f

Scheduled automations on SSH hosts with an existing workspace and a precheck can be skipped when the host is disconnected, because the connection is attempted only after the precheck. Several smaller issues are also still open: error handling in the mobile create flow, a host-screen test mock, and error codes for deleted folder workspaces. Resolve the precheck ordering and the open review items before merging.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely identifies the main change: adding automation support to Orca Mobile.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description is comprehensive and covers the change, user impact, rationale, testing, visual proof, scope limits, compatibility considerations, and known issues. It references issue #31129, but doe…
Full details: Description check

Explanation

The description is comprehensive and covers the change, user impact, rationale, testing, visual proof, scope limits, compatibility considerations, and known issues. It references issue #31129, but does not provide an actual issue link or use the required Fixes format. The AI Disclosure, Review, Agent skill upstream boundary, and Checklist sections are also missing.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Resolve merge conflicts
  • Resolve merge conflict in branch brennanb2025/feature-support-automations-in-orca-mobile
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6cb38815-c8f8-4533-828c-64674496364d
📥 Commits

Reviewing files that changed from the base of the PR and between dafed6b and cab00ab.

📒 Files selected for processing: 41
  • config/scripts/mobile-web-app-page-route-modules.mjs
  • config/scripts/mobile-web-page-routes.mjs
  • mobile/app/h/[hostId]/automations.tsx
  • mobile/app/h/[hostId]/automations.web.tsx
  • mobile/src/automations/AutomationControls.tsx
  • mobile/src/automations/AutomationDetail.tsx
  • mobile/src/automations/AutomationEditor.tsx
  • mobile/src/automations/AutomationList.tsx
  • mobile/src/automations/AutomationManager.test.tsx
  • mobile/src/automations/AutomationManager.tsx
  • mobile/src/automations/AutomationRunDetails.tsx
  • mobile/src/automations/AutomationRunList.tsx
  • mobile/src/automations/AutomationScheduleFields.tsx
  • mobile/src/automations/MobileAutomationsScreen.tsx
  • mobile/src/automations/automation-draft.test.ts
  • mobile/src/automations/automation-draft.ts
  • mobile/src/automations/automation-error.ts
  • mobile/src/automations/automation-operations.ts
  • mobile/src/automations/automation-reply-schema.ts
  • mobile/src/automations/automation-run-agent.ts
  • mobile/src/automations/automation-run-presentation.ts
  • mobile/src/automations/automation-styles.ts
  • mobile/src/automations/automation-target-inventory.ts
  • mobile/src/automations/automation-test-fixtures.ts
  • mobile/src/automations/use-automation-catalog.ts
  • mobile/src/automations/use-automation-reads.test.tsx
  • mobile/src/automations/use-automation-runs.ts
  • mobile/src/automations/use-open-mobile-automations.ts
  • mobile/src/components/PickerModal.tsx
  • mobile/src/home/MobileHomeAutomationsCard.tsx
  • mobile/src/home/MobileHomeListFooter.test.tsx
  • mobile/src/home/MobileHomeListFooter.tsx
  • mobile/src/home/MobileHomeScreen.tsx
  • mobile/src/host-screen/host-screen-header.tsx
  • mobile/src/navigation/host-stack-screens.ts
  • mobile/src/transport/rpc-subscription-inventory.ts
  • mobile/web-entry/web-overrides.json
  • src/main/runtime/runtime-rpc-mobile-automations.test.ts
  • src/main/runtime/runtime-rpc/runtime-rpc-mobile-method-routing.ts
  • src/renderer/src/components/automations/automation-run-content.ts
  • src/shared/automation-run-content.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 48a86991-5c26-4844-a588-85334e9fe383
📥 Commits

Reviewing files that changed from the base of the PR and between cab00ab and b380778.

📒 Files selected for processing: 7
  • mobile/src/automations/AutomationManager.test.tsx
  • mobile/src/automations/automation-target-inventory.ts
  • mobile/src/automations/automation-test-fixtures.ts
  • mobile/src/automations/use-automation-catalog.ts
  • mobile/src/automations/use-automation-runs.ts
  • mobile/src/components/PickerModal.accessibility.test.ts
  • mobile/src/host-screen/host-screen-header-reconnect.test.tsx
🚧 Files skipped from review as they are similar to previous changes: 4
  • mobile/src/automations/AutomationManager.test.tsx
  • mobile/src/automations/automation-test-fixtures.ts
  • mobile/src/automations/use-automation-catalog.ts
  • mobile/src/automations/use-automation-runs.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b776d689-a09c-47de-b67c-e4445415a64b
📥 Commits

Reviewing files that changed from the base of the PR and between b380778 and 9691d3f.

📒 Files selected for processing: 46
  • mobile/src/automations/AutomationAdvancedFields.tsx
  • mobile/src/automations/AutomationEditor.tsx
  • mobile/src/automations/AutomationManager.test.tsx
  • mobile/src/automations/AutomationManager.tsx
  • mobile/src/automations/AutomationRunDetails.tsx
  • mobile/src/automations/AutomationRunList.tsx
  • mobile/src/automations/AutomationScheduleFields.tsx
  • mobile/src/automations/automation-draft.test.ts
  • mobile/src/automations/automation-draft.ts
  • mobile/src/automations/automation-error.ts
  • mobile/src/automations/automation-operations.ts
  • mobile/src/automations/automation-target-inventory.ts
  • mobile/src/automations/automation-test-fixtures.ts
  • mobile/src/automations/use-automation-catalog.ts
  • mobile/src/automations/use-automation-create-attempt.ts
  • mobile/src/automations/use-automation-reads.test.tsx
  • mobile/src/automations/use-automation-runs.ts
  • mobile/src/navigation/route-handoff.web.test.tsx
  • src/main/automations/headless-automation-agent-launch.test.ts
  • src/main/automations/headless-automation-agent-launch.ts
  • src/main/automations/headless-workspace-create.test.ts
  • src/main/automations/headless-workspace-create.ts
  • src/main/automations/run-target-resolution.test.ts
  • src/main/automations/run-target-resolution.ts
  • src/main/persistence-legacy-automation-twin-host.test.ts
  • src/main/persistence/loading-store/automation-persistence.ts
  • src/main/persistence/scheduling-automations/automation-context-migration.ts
  • src/main/persistence/scheduling-automations/automation-definition-operations.ts
  • src/main/persistence/scheduling-automations/automation-owner-projection.ts
  • src/main/runtime/agent-terminal-launch-host.test.ts
  • src/main/runtime/construction/runtime-construction.ts
  • src/main/runtime/runtime-automation-controller.ts
  • src/main/runtime/runtime-automation-run-context.ts
  • src/main/runtime/runtime-managed-worktree-queries.test.ts
  • src/main/runtime/runtime-managed-worktree-queries.ts
  • src/main/runtime/runtime-worktree-visibility.ts
  • src/main/runtime/terminal/launch/terminal-create-deduplication.ts
  • src/main/runtime/terminal/launch/terminal-create.ts
  • src/main/runtime/terminal/launch/terminal-workspace-scope.ts
  • src/main/runtime/workspaces/managed-workspace-operations.ts
  • src/main/runtime/workspaces/workspace-selectors.ts
  • src/renderer/src/components/automations/automation-schedule-input-gate.ts
  • src/renderer/src/hooks/automation-dispatch-workspace.ts
  • src/shared/automation-list-scope.ts
  • src/shared/automation-repo-target.ts
  • src/shared/automation-schedule-input-gate.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7f69fe06-3333-4b83-a8d8-1945baab8732
📥 Commits

Reviewing files that changed from the base of the PR and between 9691d3f and e329e24.

📒 Files selected for processing: 47
  • mobile/src/automations/AutomationEditor.tsx
  • mobile/src/automations/AutomationManager.test.tsx
  • mobile/src/automations/AutomationManager.tsx
  • mobile/src/automations/automation-draft.ts
  • mobile/src/automations/automation-error.ts
  • mobile/src/automations/automation-target-inventory.test.ts
  • mobile/src/automations/automation-target-inventory.ts
  • mobile/src/automations/use-automation-catalog.ts
  • mobile/src/automations/use-automation-create-attempt.ts
  • mobile/src/automations/use-automation-reads.test.tsx
  • mobile/src/session/mobile-session-read-operations.ts
  • src/main/automations/headless-automation-agent-launch.test.ts
  • src/main/automations/headless-automation-agent-launch.ts
  • src/main/ipc/preflight-agent-refresh.test.ts
  • src/main/runtime/agent-terminal-launch-host.test.ts
  • src/main/runtime/rpc/methods/preflight-selected-target.test.ts
  • src/main/runtime/rpc/methods/preflight-workspace-target.ts
  • src/main/runtime/rpc/methods/preflight.ts
  • src/main/runtime/runtime-rpc/runtime-rpc-mobile-method-routing.test.ts
  • src/main/runtime/runtime-rpc/runtime-rpc-mobile-method-routing.ts
  • src/main/runtime/session-graph/session-graph-authority.ts
  • src/main/runtime/terminal/launch/failed-start-pane.ts
  • src/main/runtime/terminal/launch/terminal-create-deduplication.ts
  • src/main/runtime/terminal/launch/terminal-create.ts
  • src/main/runtime/terminal/launch/terminal-workspace-scope.ts
  • src/main/runtime/workspaces/managed-workspace-operations.ts
  • src/renderer/src/hooks/automation-dispatch-handler.ts
  • src/renderer/src/hooks/automation-dispatch-workspace.ts
  • src/renderer/src/lib/adopt-agent-background-session-tab.ts
  • src/renderer/src/lib/agent-background-session-contract.ts
  • src/renderer/src/lib/agent-background-session-launch-host.ts
  • src/renderer/src/lib/automation-session-reuse.test.ts
  • src/renderer/src/lib/automation-session-reuse.ts
  • src/renderer/src/lib/execution-host-facts.ts
  • src/renderer/src/lib/launch-agent-background-session-launch-parity.test.ts
  • src/renderer/src/lib/launch-agent-background-session.ts
  • src/renderer/src/lib/local-preflight-context.ts
  • src/renderer/src/lib/retire-unowned-background-terminal.ts
  • src/renderer/src/store/terminals/terminal-actions.ts
  • src/renderer/src/store/terminals/terminal-contracts.ts
  • src/renderer/src/store/terminals/terminal-startup-queues.ts
  • src/renderer/src/store/terminals/terminal-tab-creation.ts
  • src/shared/automation-session-reuse.test.ts
  • src/shared/automation-session-reuse.ts
  • src/shared/folder-workspace-execution-host.ts
  • src/shared/preflight-runtime-capabilities.ts
  • src/shared/rpc-contract/preflight-params.ts
🚧 Files skipped from review as they are similar to previous changes: 1
  • mobile/src/automations/use-automation-reads.test.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 847efd3c-6dff-49fa-b7aa-94226a6023b8
📥 Commits

Reviewing files that changed from the base of the PR and between e329e24 and 3621fe2.

📒 Files selected for processing: 64
  • config/scripts/build-mobile-web-app-bundle.test.mjs
  • config/scripts/verify-mobile-web-app-bundle.mjs
  • mobile/src/automations/AutomationDetail.tsx
  • mobile/src/automations/AutomationEditor.tsx
  • mobile/src/automations/AutomationList.tsx
  • mobile/src/automations/AutomationManager.test.tsx
  • mobile/src/automations/AutomationManager.tsx
  • mobile/src/automations/AutomationRunDetails.test.tsx
  • mobile/src/automations/AutomationRunDetails.tsx
  • mobile/src/automations/automation-draft.test.ts
  • mobile/src/automations/automation-draft.ts
  • mobile/src/automations/automation-operations.ts
  • mobile/src/automations/automation-run-agent.test.ts
  • mobile/src/automations/automation-run-agent.ts
  • mobile/src/automations/automation-target-inventory.test.ts
  • mobile/src/automations/automation-target-inventory.ts
  • mobile/src/automations/use-automation-catalog.ts
  • mobile/src/automations/use-automation-create-attempt.ts
  • mobile/src/automations/use-automation-reads.test.tsx
  • mobile/src/automations/use-automation-target-drafts.ts
  • src/main/automations/automation-owner-migration.ts
  • src/main/automations/headless-automation-agent-launch.test.ts
  • src/main/automations/headless-automation-agent-launch.ts
  • src/main/automations/run-target-resolution.ts
  • src/main/ipc/pty-dead-owner-respawn.test.ts
  • src/main/ipc/pty-spawn-cwd-fallback.test.ts
  • src/main/ipc/pty/host-env/spawn-cwd.ts
  • src/main/ipc/pty/ipc/spawn-begin.ts
  • src/main/ipc/pty/ipc/spawn-preflight.ts
  • src/main/ipc/pty/ipc/spawn-types.ts
  • src/main/ipc/pty/register-handlers.ts
  • src/main/ipc/pty/runtime/controller-deps.ts
  • src/main/ipc/pty/runtime/spawn-preflight.ts
  • src/main/persistence-legacy-automation-twin-host.test.ts
  • src/main/persistence/scheduling-automations/automation-context-migration.ts
  • src/main/persistence/scheduling-automations/automation-definition-operations.ts
  • src/main/persistence/scheduling-automations/automation-owner-projection.ts
  • src/main/project-groups/folder-workspace-path-status.test.ts
  • src/main/project-groups/folder-workspace-path-status.ts
  • src/main/runtime/delegated-mobile-device.integration.test.ts
  • src/main/runtime/mobile-desktop-relay/mobile-desktop-relay.integration.test.ts
  • src/main/runtime/orchestration-worker-workspace-resolution.test.ts
  • src/main/runtime/runtime-rpc/runtime-rpc-mobile-method-routing.ts
  • src/main/runtime/session-graph/session-graph-authority.ts
  • src/main/runtime/workspaces/managed-workspace-operations.ts
  • src/renderer/src/components/automations/automation-run-workspace-action.ts
  • src/renderer/src/components/terminal-pane/pty-connection-spawn-left-pane-unbound.test.ts
  • src/renderer/src/components/terminal-pane/pty-connection-test-store-fixtures.ts
  • src/renderer/src/components/terminal-pane/pty-connection-test-store-state.ts
  • src/renderer/src/components/terminal-pane/pty-connection/agent-idle-working-handlers.ts
  • src/renderer/src/components/terminal-pane/pty-connection/pane-agent-identity.ts
  • src/renderer/src/components/terminal-pane/pty-connection/pane-host-capability-flags.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-manager-options-persist.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-manager-options.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-owner-context.ts
  • src/renderer/src/hooks/automation-dispatch-folder-loss.test.ts
  • src/renderer/src/hooks/automation-dispatch-handler.ts
  • src/renderer/src/hooks/automation-dispatch-workspace.ts
  • src/renderer/src/lib/automation-session-reuse.ts
  • src/shared/automation-execution-target.ts
  • src/shared/automation-list-scope.ts
  • src/shared/automation-repo-target.ts
  • src/shared/folder-workspace-execution-host.test.ts
  • src/shared/folder-workspace-execution-host.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

audichuang added a commit to audichuang/orca that referenced this pull request Nov 3, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 4, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 5, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 5, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 6, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
nwparker added a commit that referenced this pull request Nov 6, 2026
The spec forged an SSH owner for a local file and relied on the read
falling back to local transport. Since #31617 a tab reads only from its
captured owner, so the forged tab correctly shows 'Couldn't verify which
host owns this file'. Use a paired client that opens the same checkout
locally and on its runtime host instead, and route editor model identity
sources to the spec.
nwparker added a commit that referenced this pull request Nov 6, 2026
The spec forged an SSH owner for a local file and relied on the read
falling back to local transport. Since #31617 a tab reads only from its
captured owner, so the forged tab correctly shows 'Couldn't verify which
host owns this file'. Use a paired client that opens the same checkout
locally and on its runtime host instead, and route editor model identity
sources to the spec.
nwparker added a commit that referenced this pull request Nov 6, 2026
)

The spec forged an SSH owner for a local file and relied on the read
falling back to local transport. Since #31617 a tab reads only from its
captured owner, so the forged tab correctly shows 'Couldn't verify which
host owns this file'. Use a paired client that opens the same checkout
locally and on its runtime host instead, and route editor model identity
sources to the spec.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 7, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 8, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 8, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 10, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 10, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 12, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 13, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 14, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 16, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
Upstream changed providers' getDiff arity (stablyai#34779), UpdaterState (stablyai#34104),
DiffSectionBody props (stablyai#36577, stablyai#35004), combined diff list props (stablyai#36921),
the native chat setting (stablyai#36110), recovery launches waiting for the prompt
(stablyai#36210), conflict-resolution props (stablyai#35347) and row-opening params (stablyai#36301).
The saved-event case for a write whose views all closed is dropped: upstream
no longer notifies then (stablyai#31617), as decided for this rebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant