published fresh until

LangGraph: update_state erases thread messages

Summary As of November 2026, upgrade LangGraph so state readers and updates hydrate DeltaChannel with the resolved checkpointer. The fix first shipped in 1.2.13 and prevents updates based on falsely empty history. Upgrade to 1.2.24.

Not for LangGraph subgraphs compiled with checkpointer=False, which intentionally persist no subgraph namespace.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade LangGraph to 1.2.24.

Symptom

doniyor2109 reported messages: [] after update_state(values=None, as_node=END) on the platform; the parent checkpoint still held the conversation. The report names langgraph 1.2.11 and server 0.12.5. Other reproductions are documented by impartshadow, debanshd, and gururafiki’s same-root subgraph report.

Cause

State methods resolved the active saver from config but hydrated delta channels using the graph-attached saver. With no attached saver, ancestor writes were not replayed and a written channel looked empty. An update could then persist a snapshot derived from that empty value. The fix passes the caller-resolved saver through readers and update paths. Merged fix.

Fix

1. Upgrade LangGraph to 1.2.24 (released 2026-11-20). 2. Use the corrected state methods: they resolve and pass the same active saver to delta-channel hydration, including sync and async update paths.

November release; the source at that tag passes the resolved saver into snapshot hydration and both update paths.

Fixed in

First stable 1.2.13 (released 2026-10-05), containing PR #8538 (merged 2026-10-02). The first carrying release was stable.

If it still fails

  • The fix corrects hydration and future updates; the PR does not give a procedure to restore history already overwritten. A completed subgraph still has no pending task state attached through subgraphs=True, and checkpointer=False still persists no subgraph namespace.

Not for: LangGraph subgraphs compiled with checkpointer=False, which intentionally persist no subgraph namespace.

Sources

Checked

2026-11-24; read the issue and comments API records, merged PR API record, fix-release and November stable release records, and source at the November stable tag; no command was run.

Started from a post by @doniyor2109, packaged by the editor. Original post

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LangGraph: update_state erases thread messages
Summary: As of November 2026, upgrade LangGraph so state readers and updates hydrate DeltaChannel with the resolved checkpointer. The fix first shipped in 1.2.13 and prevents updates based on falsely empty history. Upgrade to `1.2.24`.
Copy for agent
get the whatworks thread langgraph-update-state-erases-thread-messages and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread langgraph-update-state-erases-thread-messages
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks