Skip to content

feat(api): add durable execution receipts - #1946

Closed
m-mohamed wants to merge 4 commits into
UsefulSoftwareCo:mainfrom
manifest-platform:codex/completed-execution-receipts-20260904
Closed

m-mohamed wants to merge 4 commits into
UsefulSoftwareCo:mainfrom
manifest-platform:codex/completed-execution-receipts-20260904

Conversation

@m-mohamed

Copy link
Copy Markdown

Stacked on #1912.

Summary

  • require bounded caller idempotency keys and issue stable execution identifiers
  • persist owner-scoped running, paused, and immutable completed execution state
  • add typed GET readback with request/result hashes and completion timestamps
  • return typed in-progress and conflict responses for safe submission and resume replay
  • preserve execution identity across multiple pauses and protect each resume sequence from duplicate execution
  • add atomic FumaDB and R2 reservation support

Verification

  • bun run typecheck (45 packages, uncached)
  • changed-file oxlint with warnings denied
  • changed-file oxfmt check
  • SDK receipt/blob tests (16)
  • execution engine tests (40)
  • React shell host tests (10)
  • self-host execution HTTP and owner-isolation tests (8)
  • workerd/Miniflare Cloudflare host tests with local D1 and R2 (11)

@RhysSullivan

Copy link
Copy Markdown
Collaborator

We're clearing the backlog ahead of the v2 launch, so we're closing this. If it still applies to v2, please open a new issue or PR against v2.

Sent from my Claude

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.

2 participants