mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-29 13:05:15 +02:00
A fork used to snapshot every DeltaChannel whenever the caller passed a checkpoint_id. That fired on every turn a client addresses the head (storing a full copy of the channel per turn), missed new input sent to an interrupted head without an id, and its storage-only version bump read as a real write: interrupt_before fired again on resume, and a replay paused at a node it had already passed. Snapshot the delta channels the base checkpoint has pending writes for, since only those can leak into a branch that does not consume them, and advance versions_seen past any bump that only stores a snapshot, including the interrupt tracker. update_state no longer records its narrower updated_channels when it snapshots, so a deferred node listed in next still runs on resume (#9089).