Add idea: durable execution as a CF-native primitive - #34
Open
rkoster wants to merge 1 commit into
Open
Conversation
rkoster
requested review from
beyhan,
itsouvalas and
wayneeseguin
as code owners
August 11, 2026 13:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Argues that CF should add a durable execution primitive, grounded in what the agent frameworks surveyed in this repo actually need \u2014 and notably, what none of them ship.
The gap:
cf run-taskruns once (no checkpoint, resume, retry, or schedule); app instances run forever with no durable per-instance state. Durable execution lives in between, and CF has nothing there. Every framework surveyed delegates durability to a substrate: ADK exposes replay-safe primitives but no engine, OpenAI Agents SDK relies on external Temporal/Dapr, Microsoft AF binds to Azure Durable Task, LangGraph/CrewAI/LlamaIndex all expose pluggable checkpointers.Key positions:
PostgresSaveragainst a bound Postgres). CAPI never becomes a database \u2014 it stores a pointer.Explicit non-goal, with evidence: no HTTP-addressable resume. An evidence table across Temporal, LangGraph, LlamaIndex, CrewAI, OpenAI Agents SDK, Letta, and Cloudflare shows durable executions are near-universally addressed by stable ID through an always-on service, never as a network endpoint \u2014 Cloudflare being the sole exception, because a Durable Object is simultaneously compute, state, and addressing unit. This avoids needing a Knative-activator-style request-holding component.
Deliberately argued on framework evidence alone rather than as a counterproposal to the sibling Dapr ideas (#32, #33).