Interactive engineering lab

Interrupt resume: stale answers in lenient and strict modes

Interrupt resume: stale answers in lenient and strict modes. Replay client answers on LangGraph 1.2.19 and 1.2.20 and see which land.

By Sandeep Belgavi · Published 2026-11-05

Synthetic fixtures computed locally. No model or production service is contacted.

Experiment workspace

Decision trace

    The question this experiment answers

    A LangGraph node pauses twice for a person: first to approve a refund, then to send an apology email. The client answers each question by the interrupt id it was shown. What happens when the client retries an answer, sends an empty map, sends one bare value while two questions are pending, or names an id the graph never issued? Compare langgraph 1.2.19 with 1.2.20, with strict resume off or on.

    Change one assumption at a time

    Start from a preset and change a single control. Switch retry120 from strict off to on and the retried answer is refused instead of answering the email question. Switch the version to 1.2.19 and strict mode stops having any effect. Client lines are start, resume q1=yes, resume q1=yes q2=no, resume {}, resume yes (a bare value) or resume other=yes (an id never issued). q1 and q2 stand for the id the client was shown with question 1 or 2.

    Expected outcomes

    retry119 and retry120: the retried answer meant for question 1 completes the node with email=yes, one misapplied answer. retrystrict: the retry is refused with not_pending, and the email question is then answered with its own id. strict119: the strict key is ignored on 1.2.19. emptymap: refused with empty_map. ambiguous: a bare value with two questions pending is refused with ambiguous; without strict mode it raises RuntimeError. unknown: without strict mode the unknown id is ignored silently and the graph pauses again. These match measured runs of langgraph 1.2.19 and 1.2.20 and the companion Python model.

    Read the table and the trace

    The table lists each client line, how the graph handled it (applied, ignored, refused with a reason, or an error), which question received which answer, and what is pending afterwards. The trace explains the reason for each outcome and flags every answer that was taken for a different question than the one the client meant.

    Reset and export

    Reset inputs restores the selected preset and recomputes. Export JSON downloads the inputs, every row, the metrics, the trace and the stated limits, which can serve as a fixture for a client-side resume test.

    Limits

    A rule model of two questions in one task or in two parallel tasks, based on the in-memory checkpointer behaviour measured on langgraph 1.2.19 and 1.2.20 and on pull requests 9574 and 9589. Ids are shown as task names instead of hashes. Subgraphs, static breakpoints, RemoteGraph, retry policies and checkpoints the thread has moved past are not modelled. The strict key is private in 1.2.20.

    Views are my own and do not represent any employer, past or present.