mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-14 12:15:25 +02:00
- A resume that reapplies the head's pending writes now seals the delta channels of the loaded writes no task of the run claimed, decided in `after_tick` once the tasks are known. `Command(resume=..., goto=[Send(...)])` replaces the fan-out, so the finished task's writes stayed on the head and the reload replayed them. - One predicate, `_reapplies_pending_writes`, answers whether the loaded writes go back to their tasks, for every site that reapplies them. - The snapshot cadence skips delta channels without a version. Past DELTA_MAX_SUPERSTEPS_SINCE_SNAPSHOT, every checkpoint minted a version and an empty snapshot for each never-written delta channel. - Versions minted only to store a snapshot are recorded under `SNAPSHOT_BUMPS` in `versions_seen`, and `update_state` skips them when it infers `as_node`. Advancing `versions_seen` over a bump made a raw `Pregel` subscriber look like the last writer after an exit-durability run. - `_mark_bumps_seen` no longer synthesizes an `INTERRUPT` entry.