Azure Durable Task for LangGraph: Recovery Is Not Exactly-Once Execution

An AI agent can recover its recorded progress and still repeat an external action. That distinction matters whenever a tool changes something outside the graph: creating a ticket, for example, rather than just returning information.
Microsoft's November 17 announcement of Azure Durable Task for LangGraph describes a public-preview integration for execution recovery. It also states the limit plainly: activities execute at least once, not exactly once. For developers evaluating it, the useful question is how recorded progress and external side effects behave when a worker disappears.
What the preview adds
The announced integration uses langchain-azure-compute[durabletask] version 0.2.0 or later and the langchain_azure_compute.graph module. Its attach_durability(...) API attaches execution support to compiled LangGraph StateGraph graphs. Microsoft also describes support for LangChain create_agent workflows and Deep Agents created with create_deep_agent.
Completed graph steps and durable tool results are persisted. A replacement worker registered with the same graph and task hub can resume recorded progress. Work interrupted before its result was recorded can execute again.

That last condition deserves attention. Recovery depends on what the system has recorded, which may differ from what an external service has already done. Treat this as a preview whose API may change, and treat the announcement as documentation, not evidence that a particular application has passed a recovery test.
Checkpoints and scheduling solve different problems
LangGraph already has persistence through checkpointers. Microsoft's integration does not introduce that capability. According to the announcement, existing checkpointers can remain while Durable Task coordinates execution, retries, failover and external events. Persistent checkpoint storage must be accessible to all workers.
There is a storage detail that is easy to misread. LangGraph's persistence documentation describes standalone InMemorySaver as RAM storage: its checkpoints do not survive a process restart. The Azure adapter, however, supplies InMemorySaver when no explicit checkpointer is configured and carries checkpoint bundles in Durable Task payloads. The adapter's behavior should not be confused with running an in-memory checkpointer alone.
A checkpoint also has a limited scope. LangGraph's fault-tolerance guidance says checkpoints occur at super-step boundaries, rather than midway through a function. A retry reruns the entire node function from its beginning. Restoring graph state does not undo changes already made in an external system.
The failure window after a successful action
Consider a hypothetical agent that creates a work-tracking ticket. The destination accepts the request and creates the ticket. Before the worker records the successful response, the worker crashes.
The destination has a ticket; the recovering workflow has no recorded success. Repeating the creation request without a deduplication mechanism could create another ticket. This example assumes no particular ticket API or built-in idempotency feature.

This is the distinction behind the integration's at-least-once execution model. Persisting completed results helps recovery reuse recorded work. It does not remove the interval between an external action succeeding and the worker recording that success.
LangGraph's guidance on unknown outcomes is useful here: a missing acknowledgement does not establish failure. Query the provider for status rather than blindly repeating the operation or trying to compensate for something whose outcome is still unknown.
Put deduplication at the destination
Microsoft directs mutating tools to use runtime.config["metadata"]["durable_call_id"] as a durable idempotency key and enforce deduplication at the external mutation boundary. That recommendation appears in the preview announcement.
Passing a key is only part of the design. The destination must recognize repeated requests for the same operation and honor that key. Adding metadata to a request does not, by itself, make the recipient deduplicate it. LangGraph's fault-tolerance documentation likewise calls for stable keys reproducible from durable state and an external service that honors them.
For the hypothetical ticket workflow, review the destination's behavior before enabling automatic retries. Determine how a repeated operation is identified and how the workflow can discover whether an earlier request succeeded. If those questions have no supported answer, do not describe the action as safely deduplicated.
The adapter also provides tool-specific retries through durable_tool(retries=3), described as up to three attempts, and node isolation through durable_node. Those are execution controls, not a substitute for destination-side handling of repeated mutations.
Approval waits and data retention need separate review
The announcement maps standard LangGraph interrupt() calls to Durable Task external events. It shows pending approvals retrieved with run.wait_pending() and continued through run.resume(pending, value). Waiting does not hold a worker thread open. Hosting and infrastructure charges still depend on deployment; this is not a promise of free approval waits.

Storage deserves its own review. Microsoft says activity inputs, outputs and final results still pass through Durable Task even when checkpoints live in a private database. Choosing a private checkpointer therefore does not establish that all workflow payloads stay out of scheduler history. Review scheduler retention and purge settings alongside checkpoint storage.
Start with one mutating tool
Before relying on recovery, choose one tool that changes external state and write down its failure behavior. Identify its stable operation key, where deduplication happens, and how to check an unknown outcome. Then plan a recovery test around the point after the destination commits but before the worker records success.
Keep the acceptance criterion specific: after recovery, the workflow should discover or reuse the intended external result without creating a duplicate. A resumed graph alone does not demonstrate that. Start with that single action before extending the same reasoning to the rest of the agent.
Sources
- Introducing Azure Durable Task for LangGraph agents · Microsoft, Apps on Azure Blog
- Fault tolerance · LangChain
- Persistence · LangChain

