@@ -31,7 +31,7 @@ import {
3131 TaskRunSuccessfulExecutionResult ,
3232} from "@trigger.dev/core/v3/schemas" ;
3333import {
34- getIdempotencyKeyScope ,
34+ extractIdempotencyKeyScope ,
3535 getUserProvidedIdempotencyKey ,
3636} from "@trigger.dev/core/v3/serverOnly" ;
3737import { parsePacket } from "@trigger.dev/core/v3/utils/ioSerialization" ;
@@ -267,7 +267,7 @@ export class RunAttemptSystem {
267267 createdAt : run . createdAt ,
268268 startedAt : run . startedAt ?? run . createdAt ,
269269 idempotencyKey : getUserProvidedIdempotencyKey ( run ) ?? undefined ,
270- idempotencyKeyScope : getIdempotencyKeyScope ( run ) ,
270+ idempotencyKeyScope : extractIdempotencyKeyScope ( run ) ,
271271 maxAttempts : run . maxAttempts ?? undefined ,
272272 version : run . taskVersion ?? "unknown" ,
273273 maxDuration : run . maxDurationInSeconds ?? undefined ,
@@ -578,7 +578,7 @@ export class RunAttemptSystem {
578578 tags : updatedRun . runTags ,
579579 isTest : updatedRun . isTest ,
580580 idempotencyKey : getUserProvidedIdempotencyKey ( updatedRun ) ?? undefined ,
581- idempotencyKeyScope : getIdempotencyKeyScope ( updatedRun ) ,
581+ idempotencyKeyScope : extractIdempotencyKeyScope ( updatedRun ) ,
582582 startedAt : updatedRun . startedAt ?? updatedRun . createdAt ,
583583 maxAttempts : updatedRun . maxAttempts ?? undefined ,
584584 version : updatedRun . taskVersion ?? "unknown" ,
0 commit comments