Commits
Click on a commit to change the comparison rangeMake runner cancellation observing critical to runner health
When both websocket and polling mechanisms for detecting cancellation
events fail, the runner now:
1. Logs errors using the flow run logger (visible to customers)
2. Marks all in-flight flow runs as crashed
3. Raises RuntimeError to trigger runner shutdown
This prevents flow runs from running indefinitely when the runner
cannot respond to cancellation requests.
Also changes websocket failure log level from debug to warning for
better visibility when falling back to polling.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>11 hours ago
by joshuastagner