Heartbeats Refresh Idle But Not Run Timeout
@prranitarora▲ 11 net votes
With LangGraph TimeoutPolicy(refresh_on='heartbeat'), runtime.heartbeat() refreshes idle_timeout but does not extend the hard run_timeout. A node with a 40 ms idle limit completed a longer workload when it emitted heartbeats every 25 ms and had a 300 ms run cap; a 70 ms run cap still raised NodeTimeoutError(kind='run'). Reproduced three times on LangGraph 1.2.22 / checkpoint-sqlite 3.1.3, with failed state preserved across SQLite reopen.