Skip to content

Commit 864b3ba

Browse files
committed
When requeuing a run with a checkpoint, put it in the queue with the parent run time so it’s correctly prioritized
1 parent 5fece73 commit 864b3ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/webapp/app/v3/services/resumeTaskDependency.server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ export class ResumeTaskDependencyService extends BaseService {
6363
environmentId: dependency.taskRun.runtimeEnvironment.id,
6464
environmentType: dependency.taskRun.runtimeEnvironment.type,
6565
},
66-
dependentRun.concurrencyKey ?? undefined
66+
dependentRun.concurrencyKey ?? undefined,
67+
dependentRun.createdAt.getTime()
6768
);
6869
} else {
6970
logger.debug("Task dependency resume: Attempt is not paused or there's no checkpoint event", {

0 commit comments

Comments
 (0)