Commit afbd62b
fix(webapp): retry driver-adapter connectivity errors in the mollifier drainer
isRetryablePgError only recognized the Rust engine's DB-unreachable shapes (P1001
/ "Can't reach database server"). Under a driver adapter the same outage surfaces
as P2010 "Database not reachable" / ECONNREFUSED / ENOTFOUND, so buffered runs
were permanently failed on a transient outage. Reuse the shared
looksLikeConnectivityError predicate (now exported from prismaErrors) so those
are retried too.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 24286a0 commit afbd62b
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments