Skip to content

automations: add durable state store - #28610

Closed
eternal-openai wants to merge 1 commit into
codex/automations-01-groundworkfrom
codex/automations-02-state-store
Closed

eternal-openai wants to merge 1 commit into
codex/automations-01-groundworkfrom
codex/automations-02-state-store

Conversation

@eternal-openai

@eternal-openai eternal-openai commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Stack

  1. #28609 automations: add service groundwork and overview
  2. This PR: automations: add durable state store
  3. #28611 automations: add state CRUD and scheduling
  4. #28612 automations: add dispatch claims and leases
  5. #28613 automations: add app-server protocol
  6. #28614 automations: add app-server CRUD handlers
  7. #28615 automations: add agent automation_update tool
  8. #28616 automations: dispatch runNow requests
  9. #28617 automations: add background worker loop
  10. #28618 automations: dispatch scheduled heartbeats
  11. #28619 automations: add dispatch integration coverage
  12. #28620 automations: defer heartbeats for cooldown

Why

Automations need durable local state, but they should not be stored in the generic state database or tied to an inbox queue. Keeping them in a dedicated SQLite database makes the ownership, migration, and future app transition story easier to reason about.

What Changed

  • Adds the initial automations SQLite migration set and runtime migrator.
  • Introduces the automation model types shared by later state, app-server, and extension code.
  • Wires automation DB initialization into the state runtime while keeping it separate from unrelated runtime tables.
  • Exports the basic automation domain types from codex-state.

Verification

  • Covered by codex-state runtime initialization and automation table tests in the focused stack run.
  • The full focused non-app-server run passed with 453 tests.

@eternal-openai
eternal-openai force-pushed the codex/automations-02-state-store branch from a5d21d2 to f07950e Compare June 17, 2026 00:14
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Jul 1, 2026
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