Commits
Click on a commit to change the comparison rangeAdd httpx.ConnectError to client retry exceptions
When the Prefect server becomes unavailable after initial connection
(e.g., during restart), API calls now retry with exponential backoff
instead of failing immediately. This prevents flow runs from getting
stuck in Pending state when the server goes down, as the worker can
now successfully mark them as crashed once the server recovers.
Key behavior:
- ConnectError is NOT retried on first request (fail fast for wrong URL)
- ConnectError IS retried after a successful connection has been made
Closes #18324
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>12 hours ago
by joshuastagner