Skip to content

feat: add durable workflow runtime core - #13

Merged
yuyukosama2004 merged 1 commit into
mainfrom
codex/r2-workflow-runtime-core
Jul 18, 2026
Merged

yuyukosama2004 merged 1 commit into
mainfrom
codex/r2-workflow-runtime-core

Conversation

@yuyukosama2004

Copy link
Copy Markdown
Owner

R2 durable runtime core

  • add normalized workflow step attempts and durable ordered events
  • add idempotent enqueue and an atomic SQLite-safe lease claim
  • fence expired workers with owner and lease checks
  • commit raw model output before parsing, then persist output hashes and checkpoints
  • requeue retryable failures as a new workflow and step attempt
  • preserve legacy workflow rows across upgrade/downgrade/re-upgrade

Verification

  • Ruff check and format: passed
  • mypy (93 source files): passed
  • focused runtime/migration tests: 6 passed
  • full backend suite: 83 passed
  • Alembic base/head/check/downgrade/re-upgrade: passed

@yuyukosama2004
yuyukosama2004 merged commit 87062f6 into main Jul 18, 2026
2 checks passed
@yuyukosama2004
yuyukosama2004 deleted the codex/r2-workflow-runtime-core branch July 18, 2026 11:29
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