Skip to content

Commit 3e78086

Browse files
committed
retry on SIGTERM
1 parent 5695f57 commit 3e78086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/v3/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ export function shouldRetryError(error: TaskRunError): boolean {
161161
case "TASK_ALREADY_RUNNING":
162162
case "TASK_PROCESS_SIGKILL_TIMEOUT":
163163
case "TASK_PROCESS_SIGSEGV":
164-
case "TASK_PROCESS_SIGTERM":
165164
case "TASK_PROCESS_OOM_KILLED":
166165
case "TASK_PROCESS_MAYBE_OOM_KILLED":
167166
case "TASK_RUN_CANCELLED":
@@ -180,6 +179,7 @@ export function shouldRetryError(error: TaskRunError): boolean {
180179
case "TASK_RUN_CRASHED":
181180
case "TASK_RUN_HEARTBEAT_TIMEOUT":
182181
case "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE":
182+
case "TASK_PROCESS_SIGTERM":
183183
return true;
184184

185185
default:

0 commit comments

Comments
 (0)