Files
langgraph/libs
Elior Nataf Lackritz 89ff2d33de fix(langgraph): replay a resumed exit-mode run's delta writes in live order
Exit durability stores a run's delta writes on the checkpoint it started
from, under step-prefixed task ids. When that checkpoint already held
writes (a resume after a parallel interrupt), the accumulator stored the
loaded writes a second time, so every later read replayed them twice.
Skipping them alone is not enough: the loaded writes keep their real task
ids, which sort after the step-prefixed ones.

Store the checkpoint's own superstep as sync durability does (real task
id and path), so it interleaves with the loaded writes by task path, and
give later supersteps a task path that sorts after every real one, in
step order. Savers that take no task path keep the previous encoding.
2026-09-29 12:41:16 -04:00
..
2026-09-21 10:38:26 -04:00