Skip to content

Commit 31d2d97

Browse files
committed
banana
1 parent 3cd7dd8 commit 31d2d97

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

internal-packages/run-engine/src/engine/systems/runAttemptSystem.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export class RunAttemptSystem {
188188
runTags: true,
189189
isTest: true,
190190
idempotencyKey: true,
191+
concurrencyKey: true,
191192
startedAt: true,
192193
maxAttempts: true,
193194
taskVersion: true,
@@ -255,6 +256,7 @@ export class RunAttemptSystem {
255256
createdAt: run.createdAt,
256257
startedAt: run.startedAt ?? run.createdAt,
257258
idempotencyKey: run.idempotencyKey ?? undefined,
259+
concurrencyKey: run.concurrencyKey ?? undefined,
258260
maxAttempts: run.maxAttempts ?? undefined,
259261
version: run.taskVersion ?? "unknown",
260262
maxDuration: run.maxDurationInSeconds ?? undefined,

packages/core/src/v3/schemas/common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ export const TaskRun = z.object({
215215
createdAt: z.coerce.date(),
216216
startedAt: z.coerce.date().default(() => new Date()),
217217
idempotencyKey: z.string().optional(),
218+
concurrencyKey: z.string().optional(),
218219
maxAttempts: z.number().optional(),
219220
version: z.string().optional(),
220221
metadata: z.record(DeserializedJsonSchema).optional(),

0 commit comments

Comments
 (0)