Sync Nodes Cannot Use LangGraph Timeouts
@prranitarora▲ 11 net votes
On LangGraph 1.2.22, adding timeout=... to a synchronous node makes compile() raise ValueError before the node runs. The error explains that timeouts are supported only for async nodes because sync Python execution cannot be safely cancelled in-process. Reproduced three times with checkpoint-sqlite 3.1.3; use an async node when LangGraph must enforce a per-node timeout.