@@ -153,6 +153,8 @@ export function testBackend(options: TestBackendOptions): void {
153153 input : null ,
154154 config : { } ,
155155 context : null ,
156+ parentStepAttemptNamespaceId : null ,
157+ parentStepAttemptId : null ,
156158 availableAt : null ,
157159 deadlineAt : null ,
158160 } ) ;
@@ -196,6 +198,8 @@ export function testBackend(options: TestBackendOptions): void {
196198 ...base ,
197199 concurrencyKey : "tenant:acme" ,
198200 concurrencyLimit : null ,
201+ parentStepAttemptNamespaceId : null ,
202+ parentStepAttemptId : null ,
199203 } ;
200204 await expect (
201205 Promise . resolve ( ) . then ( ( ) => backend . createWorkflowRun ( keyOnly ) ) ,
@@ -220,6 +224,8 @@ export function testBackend(options: TestBackendOptions): void {
220224 ...base ,
221225 concurrencyKey : null ,
222226 concurrencyLimit : 1 ,
227+ parentStepAttemptNamespaceId : null ,
228+ parentStepAttemptId : null ,
223229 } ;
224230 const created = await backend . createWorkflowRun ( limitOnly ) ;
225231 expect ( created . concurrencyKey ) . toBeNull ( ) ;
@@ -299,6 +305,8 @@ export function testBackend(options: TestBackendOptions): void {
299305 input : null ,
300306 config : { } ,
301307 context : null ,
308+ parentStepAttemptNamespaceId : null ,
309+ parentStepAttemptId : null ,
302310 availableAt : null ,
303311 deadlineAt : null ,
304312 } ) ,
@@ -328,6 +336,8 @@ export function testBackend(options: TestBackendOptions): void {
328336 input : null ,
329337 config : { } ,
330338 context : null ,
339+ parentStepAttemptNamespaceId : null ,
340+ parentStepAttemptId : null ,
331341 availableAt : null ,
332342 deadlineAt : null ,
333343 } ) ,
@@ -371,6 +381,8 @@ export function testBackend(options: TestBackendOptions): void {
371381 input : null ,
372382 config : { } ,
373383 context : null ,
384+ parentStepAttemptNamespaceId : null ,
385+ parentStepAttemptId : null ,
374386 availableAt : null ,
375387 deadlineAt : null ,
376388 } ) ;
@@ -414,6 +426,8 @@ export function testBackend(options: TestBackendOptions): void {
414426 input : null ,
415427 config : { } ,
416428 context : null ,
429+ parentStepAttemptNamespaceId : null ,
430+ parentStepAttemptId : null ,
417431 availableAt : null ,
418432 deadlineAt : null ,
419433 } ) ;
@@ -455,6 +469,8 @@ export function testBackend(options: TestBackendOptions): void {
455469 workflowName : randomUUID ( ) ,
456470 version : null ,
457471 idempotencyKey : null ,
472+ concurrencyKey : null ,
473+ concurrencyLimit : null ,
458474 input : { key : "val" } ,
459475 config : { } ,
460476 context : null ,
@@ -1598,7 +1614,7 @@ export function testBackend(options: TestBackendOptions): void {
15981614 workerId,
15991615 availableAt : new Date ( Date . now ( ) + 200 ) ,
16001616 } ) ;
1601- expect ( sleeping . status ) . toBe ( "sleeping " ) ;
1617+ expect ( sleeping . status ) . toBe ( "running " ) ;
16021618
16031619 const secondClaimed = await backend . claimWorkflowRun ( {
16041620 workerId : randomUUID ( ) ,
@@ -1907,6 +1923,8 @@ export function testBackend(options: TestBackendOptions): void {
19071923 workflowName : randomUUID ( ) ,
19081924 version : null ,
19091925 idempotencyKey : null ,
1926+ concurrencyKey : null ,
1927+ concurrencyLimit : null ,
19101928 input : null ,
19111929 config : { } ,
19121930 context : null ,
@@ -1993,6 +2011,8 @@ export function testBackend(options: TestBackendOptions): void {
19932011 workflowName : randomUUID ( ) ,
19942012 version : null ,
19952013 idempotencyKey : null ,
2014+ concurrencyKey : null ,
2015+ concurrencyLimit : null ,
19962016 input : null ,
19972017 config : { } ,
19982018 context : null ,
@@ -2158,6 +2178,8 @@ export function testBackend(options: TestBackendOptions): void {
21582178 workflowName : randomUUID ( ) ,
21592179 version : null ,
21602180 idempotencyKey : null ,
2181+ concurrencyKey : null ,
2182+ concurrencyLimit : null ,
21612183 input : null ,
21622184 config : { } ,
21632185 context : null ,
@@ -2316,6 +2338,8 @@ export function testBackend(options: TestBackendOptions): void {
23162338 workflowName : randomUUID ( ) ,
23172339 version : null ,
23182340 idempotencyKey : null ,
2341+ concurrencyKey : null ,
2342+ concurrencyLimit : null ,
23192343 input : null ,
23202344 config : { } ,
23212345 context : null ,
@@ -2357,6 +2381,8 @@ export function testBackend(options: TestBackendOptions): void {
23572381 workflowName : randomUUID ( ) ,
23582382 version : null ,
23592383 idempotencyKey : null ,
2384+ concurrencyKey : null ,
2385+ concurrencyLimit : null ,
23602386 input : null ,
23612387 config : { } ,
23622388 context : null ,
@@ -2397,6 +2423,8 @@ export function testBackend(options: TestBackendOptions): void {
23972423 workflowName : randomUUID ( ) ,
23982424 version : null ,
23992425 idempotencyKey : null ,
2426+ concurrencyKey : null ,
2427+ concurrencyLimit : null ,
24002428 input : null ,
24012429 config : { } ,
24022430 context : null ,
0 commit comments