mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-17 13:45:30 +02:00
At a step boundary, tick() checked for a drain before the interrupt_before breakpoints. A drain requested in the step before a breakpoint stopped the run with GraphDrained, and the resume after it (invoke(None, config)) marks the next step's breakpoints as passed, so the breakpoint never fired. The drain check now runs after the breakpoint check, so the run stops at the breakpoint as it would have without the drain. Subgraph breakpoints share the fix, since subgraphs share the run's control.