Commit 576941c
committed
fix(run-engine): don't mislabel DB errors as UnclassifiableWaitpointId in completeWaitpoint
forWaitpointCompletion resolves the owning store by probing the database, so a
transient DB/infra error surfaced from that call was being caught and rethrown
as UnclassifiableWaitpointId with a misleading "length matches neither cuid nor
run-ops id" message, losing the original error's type, retryability, and error
grouping.
Narrow the catch so only a genuine id-classification failure (UnclassifiableRunId)
becomes UnclassifiableWaitpointId; every other error (including DB connectivity
failures) is rethrown unchanged.1 parent c936c79 commit 576941c
1 file changed
Lines changed: 16 additions & 3 deletions
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
98 | | - | |
| 111 | + | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
| |||
0 commit comments