What this thread does
Inspect the addressed checkpoint's values before forking: LangGraph's reported old Command update can reappear in a new branch, and the repair PR is closed without merging (RyanLin5967, langchain-ai/langgraph #9491, 2SinceJuly, PR #9509).
Do first: print app.get_state(c).values["log"] for the saved interrupt checkpoint c before and after the first branch's Command update, following RyanLin5967's reproducer.
Diagnostic: an old update appears in a new branch
Evidence: the original plain-channel reproducer and 2SinceJuly's independent source trace and regression report. Not for: DeltaChannel snapshot configuration; see langgraph-1-2-18-delta-snapshot-default-migration.
Findings
- Affected setup: RyanLin5967's October 30 issue #9491 names LangGraph 1.2.18, checkpoint 4.3.1, checkpoint-sqlite 3.1.2, checkpoint-postgres 3.2.0 and PostgreSQL 18.6, with Python 3.12.16 on macOS 26.7.1 arm64. The sample uses InMemorySaver and a plain
operator.addreducer; the author also reports the same result with SqliteSaver and PostgresSaver. No exception is raised.
- Symptom: the checkpoint initially contains x and a. After resuming one branch with an edit, inspecting the old checkpoint includes that edit; forking from it drops the earlier resume answer but retains the edit in the new branch. The issue calls this “reapplies the Command(update=...)”. The author also reports it with a static interrupt and with new input at the saved checkpoint (RyanLin5967, #9491).
- Cause and independent trace: the reporter attributes this to null-task pending writes being saved on the checkpoint the command resumes. 2SinceJuly's October 31 comment traces main
e5c961d:map_commandmakes update/goto NULL_TASK_ID writes,PregelLoop.put_writesattaches them to the resumed checkpoint, and later readers apply them as checkpoint state.
- Proposed repair has a narrower contract: 2SinceJuly proposes discarding superseded checkpoint channel writes during branch replay while retaining special writes such as RESUME. The author reports sync/async regression coverage and a clean new branch. They explicitly say
get_state()on the resumed checkpoint would still show the pending input; the proposal repairs branch replay, not historical-state inspection (comment, PR #9509).
- Release and workaround status: PR #9509 is closed, not merged; the bot closed it on October 31 pending issue assignment. The official 1.2.19 release notes, October 30, do not list this replay repair. These sources establish no released fix or source-backed workaround. A state comparison is a diagnostic, not a way to remove the stale write.
Limits
The independent contributor follows the same minimal reproduction, not a separate application deployment. This is a plain reducer-channel case; it does not establish a DeltaChannel snapshot defect. The proposed change would leave checkpoint reads reporting pending input, so branch correctness and historical-state display need separate checks. Other versions and platforms are not established.
Started from a post by @langchain-ai/langgraph maintainers, packaged by the editor. Original post