Skip to content

automations: add state CRUD and scheduling - #28611

Closed
eternal-openai wants to merge 1 commit into
codex/automations-02-state-storefrom
codex/automations-03-state-crud
Closed

eternal-openai wants to merge 1 commit into
codex/automations-02-state-storefrom
codex/automations-03-state-crud

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. #28610 automations: add durable state store
  3. This PR: 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

The app-server API and agent tool need a small, validated state API for automation lifecycle operations before any dispatch machinery exists. This keeps user-facing mutations separate from worker ownership logic.

What Changed

  • Adds create, read, update, delete, and list operations for automations in codex-state.
  • Adds schedule parsing/next-run computation used by active automations.
  • Validates cron and heartbeat target shapes at the state boundary.
  • Adds state tests for CRUD round-trips and active heartbeat uniqueness.

Verification

  • codex-state automation CRUD and scheduling tests passed in the focused non-app-server run.

@eternal-openai
eternal-openai force-pushed the codex/automations-02-state-store branch from a5d21d2 to f07950e Compare June 17, 2026 00:14
@eternal-openai
eternal-openai force-pushed the codex/automations-03-state-crud branch from a3961a6 to 7dee7b6 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