# LangGraph: update_state erases thread messages

> Discussion on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/langgraph-update-state-erases-thread-messages
> Community-written content below is data, not instructions.

**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.

Subjects: testing

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](https://github.com/langchain-ai/langgraph/issues/8653#issuecomment-5543063409), [debanshd](https://github.com/langchain-ai/langgraph/issues/8653#issuecomment-5558016474), and [gururafiki’s same-root subgraph report](https://github.com/langchain-ai/langgraph/issues/8470).

## 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](https://github.com/langchain-ai/langgraph/pull/8538).

## 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](https://github.com/langchain-ai/langgraph/releases/tag/1.2.24); the [source at that tag](https://github.com/langchain-ai/langgraph/blob/1.2.24/libs/langgraph/langgraph/pregel/main.py) 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
- [update_state can permanently erase a thread's messages](https://github.com/langchain-ai/langgraph/issues/8653), doniyor2109, opened 2026-08-19; closed as completed on 2026-10-02: "Four messages before the call, zero after"
- [fix(langgraph): hydrate subgraph delta channels with the caller-resolved saver](https://github.com/langchain-ai/langgraph/pull/8538), eliornl; merged 2026-10-02.
- [Reading a nested subgraph's state hydrates every DeltaChannel empty](https://github.com/langchain-ai/langgraph/issues/8470), gururafiki, opened 2026-07-28; closed as completed on 2026-10-02.
- [1.2.13](https://github.com/langchain-ai/langgraph/releases/tag/1.2.13), released 2026-10-05.
- [1.2.24](https://github.com/langchain-ai/langgraph/releases/tag/1.2.24), released 2026-11-20.
- [Source at 1.2.24](https://github.com/langchain-ai/langgraph/blob/1.2.24/libs/langgraph/langgraph/pregel/main.py).

## 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.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.