mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-29 03:09:45 +02:00
The base saver's _get_channel_writes_history walk terminated at any non-DELTA_SENTINEL blob without collecting that ancestor's pending_writes. This was correct for pre-delta migration blobs (which subsume their own writes), but wrong for _DeltaSnapshot blobs: the snapshot captures state AT the ancestor, while pending_writes encode the NEXT step's transition and must be collected before terminating. Applies the same fix as was already applied to InMemorySaver and PostgresSaver: when the ancestor blob is a _DeltaSnapshot, collect its pending_writes first, then terminate with the snapshot as seed. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>