Skip to content

Commit 0b657b3

Browse files
authored
Allow retrying a job run with an invalid payload (#869)
1 parent 7ac942d commit 0b657b3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

apps/webapp/app/services/runs/continueRun.server.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
import { $transaction, Prisma, PrismaClient, prisma } from "~/db.server";
22
import { ResumeRunService } from "./resumeRun.server";
33

4-
const RESUMABLE_STATUSES = ["FAILURE", "TIMED_OUT", "UNRESOLVED_AUTH", "ABORTED", "CANCELED"];
4+
const RESUMABLE_STATUSES = [
5+
"FAILURE",
6+
"TIMED_OUT",
7+
"UNRESOLVED_AUTH",
8+
"ABORTED",
9+
"CANCELED",
10+
"INVALID_PAYLOAD",
11+
];
512

613
export class ContinueRunService {
714
#prismaClient: PrismaClient;

0 commit comments

Comments
 (0)