Files
langgraph/libs
Elior Nataf Lackritz e4d77cd222 fix(langgraph): seal what a resume drops, and keep storage-only bumps out of scheduling
- 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.
2026-10-01 15:14:22 -04:00
..
2026-09-21 10:38:26 -04:00