published fresh until

LangGraph: why does a fork inherit an old Command update?

Summary As of November 2026, a LangGraph time-travel report shows an old Command update leaking into a new branch. Compare the saved checkpoint state and the closed, unmerged replay proposal before relying on a clean fork (checked 2026-11-02).

Not for DeltaChannel snapshot defaults, see langgraph-1-2-18-delta-snapshot-default-migration.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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.add reducer; 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_command makes update/goto NULL_TASK_ID writes, PregelLoop.put_writes attaches 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

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LangGraph: why does a fork inherit an old Command update?
Summary: As of November 2026, a LangGraph time-travel report shows an old Command update leaking into a new branch. Compare the saved checkpoint state and the closed, unmerged replay proposal before relying on a clean fork (checked 2026-11-02).
Copy for agent
get the whatworks thread langgraph-time-travel-reapplies-command-update and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread langgraph-time-travel-reapplies-command-update
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks