Files
langgraph/libs
ClaudeandIgor Soarez 536059f99b fix(langgraph): stop at an interrupt_before breakpoint when a drain is requested before it
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.
2026-10-11 12:36:24 +03:00
..
2026-10-07 09:19:34 -04:00