orca/src/main/automations
Rod Boev 840bedc90d
fix(automations): start scheduler in headless serve mode (#7296)
* fix(automations): start scheduler in headless serve mode

* Trigger initial catch-up check for headless scheduled automations

Headless serve never receives a renderer-ready IPC, which previously
prevented the initial catch-up pass of due scheduled automations from
running on startup. Checking for the presence of a headless dispatcher
allows starting the evaluation pass immediately.

Additionally, refactor the corresponding test to use fake timers for
better reliability and deterministic assertions.

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
2026-07-04 01:30:04 -07:00
..
dispatch-tokens.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
external-job-mappers.ts
external-manager.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
external-manager.ts Per-Workspace Environments (on-demand disposable runtimes) + Add Project remote host setup (#6320) 2026-06-30 11:31:55 -07:00
headless-dispatch.ts Fix automation run terminal targeting (#6374) 2026-06-25 20:51:34 -07:00
headless-workspace-create.test.ts Run setup scripts for scheduled automation worktrees (#6236) 2026-06-28 15:25:35 -07:00
headless-workspace-create.ts Run setup scripts for scheduled automation worktrees (#6236) 2026-06-28 15:25:35 -07:00
hermes-cron-output.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
hermes-cron-output.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
precheck-runner.test.ts
precheck-runner.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
run-target-resolution.ts
run-usage-collection.ts
service-precheck.test.ts Fix Windows slow startup and multi-minute UI freezes (#7225) (#7266) 2026-07-03 19:40:45 -04:00
service.test.ts fix(automations): start scheduler in headless serve mode (#7296) 2026-07-04 01:30:04 -07:00
service.ts fix(automations): start scheduler in headless serve mode (#7296) 2026-07-04 01:30:04 -07:00
workspace-provenance.ts Show and Filter Automation-Created Workspaces (#5697) 2026-06-18 13:05:57 -07:00