You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(execution): retry transient database failures during execution setup (#7681)
* fix(execution): retry transient database failures during execution setup
A dropped Postgres connection during workflow execution setup killed the
run permanently. The first read in preprocessing is the workflow fetch; an
ECONNRESET there surfaced as "Internal error while fetching workflow", and
because background executions run with maxAttempts 1 there was no retry.
Route the read-only setup operations through the existing
withDatabaseReadRetry helper so a dropped connection is retried in place,
before any effect exists. The retried operations are all reads, so the
rate-limit token debit and the concurrency reservation are never re-entered.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYi7yz8qo98ziQWZmRpqb8
* test(execution): type the logging-session factory instead of casting
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BYi7yz8qo98ziQWZmRpqb8
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments