@workflow/world-testing 5.0.0-beta.26 → 5.0.0-beta.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,17 +6,6 @@
6
6
  "stepId": "step//./workflows/addition//add"
7
7
  }
8
8
  },
9
- "workflows/inline-execution.ts": {
10
- "add": {
11
- "stepId": "step//./workflows/inline-execution//add"
12
- },
13
- "closeOutputStream": {
14
- "stepId": "step//./workflows/inline-execution//closeOutputStream"
15
- },
16
- "writeToStream": {
17
- "stepId": "step//./workflows/inline-execution//writeToStream"
18
- }
19
- },
20
9
  "workflows/retriable-and-fatal.ts": {
21
10
  "stepThatFails": {
22
11
  "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
@@ -30,21 +19,26 @@
30
19
  "stepId": "step//./workflows/noop//noop"
31
20
  }
32
21
  },
33
- "workflows/null-byte.ts": {
34
- "nullByteStep": {
35
- "stepId": "step//./workflows/null-byte//nullByteStep"
36
- }
37
- },
38
22
  "workflows/hooks.ts": {
39
23
  "writeEvent": {
40
24
  "stepId": "step//./workflows/hooks//writeEvent"
41
25
  }
42
26
  },
27
+ "workflows/signal-cost.ts": {
28
+ "trivialStep": {
29
+ "stepId": "step//./workflows/signal-cost//trivialStep"
30
+ }
31
+ },
43
32
  "workflow/dist/stdlib.js": {
44
33
  "fetch": {
45
34
  "stepId": "step//./workflow/dist/stdlib//fetch"
46
35
  }
47
36
  },
37
+ "workflows/null-byte.ts": {
38
+ "nullByteStep": {
39
+ "stepId": "step//./workflows/null-byte//nullByteStep"
40
+ }
41
+ },
48
42
  "workflow/dist/internal/builtins.js": {
49
43
  "__builtin_response_array_buffer": {
50
44
  "stepId": "__builtin_response_array_buffer"
@@ -59,41 +53,52 @@
59
53
  "stepId": "__builtin_set_attributes"
60
54
  }
61
55
  },
56
+ "workflows/inline-execution.ts": {
57
+ "add": {
58
+ "stepId": "step//./workflows/inline-execution//add"
59
+ },
60
+ "closeOutputStream": {
61
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
62
+ },
63
+ "writeToStream": {
64
+ "stepId": "step//./workflows/inline-execution//writeToStream"
65
+ }
66
+ },
67
+ "core/dist/runtime/start.js": {
68
+ "start": {
69
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.28//start"
70
+ }
71
+ },
62
72
  "core/dist/runtime/run.js": {
63
73
  "Run#cancel": {
64
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#cancel"
74
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#cancel"
65
75
  },
66
76
  "Run#completedAt": {
67
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#completedAt"
77
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#completedAt"
68
78
  },
69
79
  "Run#createdAt": {
70
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#createdAt"
80
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#createdAt"
71
81
  },
72
82
  "Run#exists": {
73
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#exists"
83
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#exists"
74
84
  },
75
85
  "Run#getReadable": {
76
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#getReadable"
86
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#getReadable"
77
87
  },
78
88
  "Run#returnValue": {
79
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#returnValue"
89
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#returnValue"
80
90
  },
81
91
  "Run#startedAt": {
82
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#startedAt"
92
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#startedAt"
83
93
  },
84
94
  "Run#status": {
85
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#status"
95
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#status"
86
96
  },
87
97
  "Run#wakeUp": {
88
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#wakeUp"
98
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#wakeUp"
89
99
  },
90
100
  "Run#workflowName": {
91
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#workflowName"
92
- }
93
- },
94
- "core/dist/runtime/start.js": {
95
- "start": {
96
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.26//start"
101
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.28//Run#workflowName"
97
102
  }
98
103
  }
99
104
  },
@@ -111,6 +116,33 @@
111
116
  "nodeKind": "workflow_start"
112
117
  }
113
118
  },
119
+ {
120
+ "id": "node_0",
121
+ "type": "step",
122
+ "data": {
123
+ "label": "add",
124
+ "nodeKind": "step",
125
+ "stepId": "step//./workflows/addition//add"
126
+ }
127
+ },
128
+ {
129
+ "id": "node_1",
130
+ "type": "step",
131
+ "data": {
132
+ "label": "add",
133
+ "nodeKind": "step",
134
+ "stepId": "step//./workflows/addition//add"
135
+ }
136
+ },
137
+ {
138
+ "id": "node_2",
139
+ "type": "step",
140
+ "data": {
141
+ "label": "add",
142
+ "nodeKind": "step",
143
+ "stepId": "step//./workflows/addition//add"
144
+ }
145
+ },
114
146
  {
115
147
  "id": "end",
116
148
  "type": "workflowEnd",
@@ -122,8 +154,26 @@
122
154
  ],
123
155
  "edges": [
124
156
  {
125
- "id": "e_start_end",
157
+ "id": "e_start_node_0",
126
158
  "source": "start",
159
+ "target": "node_0",
160
+ "type": "default"
161
+ },
162
+ {
163
+ "id": "e_node_0_node_1",
164
+ "source": "node_0",
165
+ "target": "node_1",
166
+ "type": "default"
167
+ },
168
+ {
169
+ "id": "e_node_1_node_2",
170
+ "source": "node_1",
171
+ "target": "node_2",
172
+ "type": "default"
173
+ },
174
+ {
175
+ "id": "e_node_2_end",
176
+ "source": "node_2",
127
177
  "target": "end",
128
178
  "type": "default"
129
179
  }
@@ -142,6 +192,15 @@
142
192
  "nodeKind": "workflow_start"
143
193
  }
144
194
  },
195
+ {
196
+ "id": "node_0",
197
+ "type": "step",
198
+ "data": {
199
+ "label": "add",
200
+ "nodeKind": "step",
201
+ "stepId": "step//./workflows/addition//add"
202
+ }
203
+ },
145
204
  {
146
205
  "id": "end",
147
206
  "type": "workflowEnd",
@@ -153,8 +212,14 @@
153
212
  ],
154
213
  "edges": [
155
214
  {
156
- "id": "e_start_end",
215
+ "id": "e_start_node_0",
157
216
  "source": "start",
217
+ "target": "node_0",
218
+ "type": "default"
219
+ },
220
+ {
221
+ "id": "e_node_0_end",
222
+ "source": "node_0",
158
223
  "target": "end",
159
224
  "type": "default"
160
225
  }
@@ -162,19 +227,28 @@
162
227
  }
163
228
  }
164
229
  },
165
- "workflows/inline-execution.ts": {
166
- "hookWorkflow": {
167
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
230
+ "workflows/retriable-and-fatal.ts": {
231
+ "retryableAndFatalErrorWorkflow": {
232
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
168
233
  "graph": {
169
234
  "nodes": [
170
235
  {
171
236
  "id": "start",
172
237
  "type": "workflowStart",
173
238
  "data": {
174
- "label": "Start: hookWorkflow",
239
+ "label": "Start: retryableAndFatalErrorWorkflow",
175
240
  "nodeKind": "workflow_start"
176
241
  }
177
242
  },
243
+ {
244
+ "id": "node_0",
245
+ "type": "step",
246
+ "data": {
247
+ "label": "stepThatThrowsRetryableError",
248
+ "nodeKind": "step",
249
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
250
+ }
251
+ },
178
252
  {
179
253
  "id": "end",
180
254
  "type": "workflowEnd",
@@ -186,26 +260,52 @@
186
260
  ],
187
261
  "edges": [
188
262
  {
189
- "id": "e_start_end",
263
+ "id": "e_start_node_0",
190
264
  "source": "start",
265
+ "target": "node_0",
266
+ "type": "default"
267
+ },
268
+ {
269
+ "id": "e_node_0_end",
270
+ "source": "node_0",
191
271
  "target": "end",
192
272
  "type": "default"
193
273
  }
194
274
  ]
195
275
  }
196
- },
197
- "parallelStepsWorkflow": {
198
- "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
276
+ }
277
+ },
278
+ "workflows/noop.ts": {
279
+ "brokenWf": {
280
+ "workflowId": "workflow//./workflows/noop//brokenWf",
199
281
  "graph": {
200
282
  "nodes": [
201
283
  {
202
284
  "id": "start",
203
285
  "type": "workflowStart",
204
286
  "data": {
205
- "label": "Start: parallelStepsWorkflow",
287
+ "label": "Start: brokenWf",
206
288
  "nodeKind": "workflow_start"
207
289
  }
208
290
  },
291
+ {
292
+ "id": "node_0",
293
+ "type": "step",
294
+ "data": {
295
+ "label": "noop",
296
+ "nodeKind": "step",
297
+ "stepId": "step//./workflows/noop//noop"
298
+ }
299
+ },
300
+ {
301
+ "id": "node_1",
302
+ "type": "step",
303
+ "data": {
304
+ "label": "noop",
305
+ "nodeKind": "step",
306
+ "stepId": "step//./workflows/noop//noop"
307
+ }
308
+ },
209
309
  {
210
310
  "id": "end",
211
311
  "type": "workflowEnd",
@@ -217,26 +317,62 @@
217
317
  ],
218
318
  "edges": [
219
319
  {
220
- "id": "e_start_end",
320
+ "id": "e_start_node_0",
221
321
  "source": "start",
322
+ "target": "node_0",
323
+ "type": "default"
324
+ },
325
+ {
326
+ "id": "e_node_0_node_1",
327
+ "source": "node_0",
328
+ "target": "node_1",
329
+ "type": "default"
330
+ },
331
+ {
332
+ "id": "e_node_1_end",
333
+ "source": "node_1",
222
334
  "target": "end",
223
335
  "type": "default"
224
336
  }
225
337
  ]
226
338
  }
227
- },
228
- "sequentialStepsWithStreamWorkflow": {
229
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
339
+ }
340
+ },
341
+ "workflows/hooks.ts": {
342
+ "collectWithHook": {
343
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
230
344
  "graph": {
231
345
  "nodes": [
232
346
  {
233
347
  "id": "start",
234
348
  "type": "workflowStart",
235
349
  "data": {
236
- "label": "Start: sequentialStepsWithStreamWorkflow",
350
+ "label": "Start: collectWithHook",
237
351
  "nodeKind": "workflow_start"
238
352
  }
239
353
  },
354
+ {
355
+ "id": "node_0",
356
+ "type": "step",
357
+ "data": {
358
+ "label": "writeEvent",
359
+ "nodeKind": "step",
360
+ "stepId": "step//./workflows/hooks//writeEvent"
361
+ }
362
+ },
363
+ {
364
+ "id": "node_1",
365
+ "type": "step",
366
+ "data": {
367
+ "label": "writeEvent",
368
+ "nodeKind": "step",
369
+ "stepId": "step//./workflows/hooks//writeEvent"
370
+ },
371
+ "metadata": {
372
+ "loopId": "loop_0",
373
+ "loopIsAwait": true
374
+ }
375
+ },
240
376
  {
241
377
  "id": "end",
242
378
  "type": "workflowEnd",
@@ -248,26 +384,58 @@
248
384
  ],
249
385
  "edges": [
250
386
  {
251
- "id": "e_start_end",
387
+ "id": "e_start_node_0",
252
388
  "source": "start",
389
+ "target": "node_0",
390
+ "type": "default"
391
+ },
392
+ {
393
+ "id": "e_node_1_back_node_1",
394
+ "source": "node_1",
395
+ "target": "node_1",
396
+ "type": "loop"
397
+ },
398
+ {
399
+ "id": "e_node_0_node_1",
400
+ "source": "node_0",
401
+ "target": "node_1",
402
+ "type": "default"
403
+ },
404
+ {
405
+ "id": "e_node_1_end",
406
+ "source": "node_1",
253
407
  "target": "end",
254
408
  "type": "default"
255
409
  }
256
410
  ]
257
411
  }
258
- },
259
- "sequentialStepsWorkflow": {
260
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
412
+ }
413
+ },
414
+ "workflows/signal-cost.ts": {
415
+ "signalCostWorkflow": {
416
+ "workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
261
417
  "graph": {
262
418
  "nodes": [
263
419
  {
264
420
  "id": "start",
265
421
  "type": "workflowStart",
266
422
  "data": {
267
- "label": "Start: sequentialStepsWorkflow",
423
+ "label": "Start: signalCostWorkflow",
268
424
  "nodeKind": "workflow_start"
269
425
  }
270
426
  },
427
+ {
428
+ "id": "node_0",
429
+ "type": "step",
430
+ "data": {
431
+ "label": "trivialStep",
432
+ "nodeKind": "step",
433
+ "stepId": "step//./workflows/signal-cost//trivialStep"
434
+ },
435
+ "metadata": {
436
+ "loopId": "loop_0"
437
+ }
438
+ },
271
439
  {
272
440
  "id": "end",
273
441
  "type": "workflowEnd",
@@ -279,32 +447,47 @@
279
447
  ],
280
448
  "edges": [
281
449
  {
282
- "id": "e_start_end",
450
+ "id": "e_node_0_back_node_0",
451
+ "source": "node_0",
452
+ "target": "node_0",
453
+ "type": "loop"
454
+ },
455
+ {
456
+ "id": "e_start_node_0",
283
457
  "source": "start",
458
+ "target": "node_0",
459
+ "type": "default"
460
+ },
461
+ {
462
+ "id": "e_node_0_end",
463
+ "source": "node_0",
284
464
  "target": "end",
285
465
  "type": "default"
286
466
  }
287
467
  ]
288
468
  }
289
- },
290
- "sleepWorkflow": {
291
- "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
469
+ }
470
+ },
471
+ "workflows/null-byte.ts": {
472
+ "nullByteWorkflow": {
473
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
292
474
  "graph": {
293
475
  "nodes": [
294
476
  {
295
477
  "id": "start",
296
478
  "type": "workflowStart",
297
479
  "data": {
298
- "label": "Start: sleepWorkflow",
480
+ "label": "Start: nullByteWorkflow",
299
481
  "nodeKind": "workflow_start"
300
482
  }
301
483
  },
302
484
  {
303
485
  "id": "node_0",
304
- "type": "primitive",
486
+ "type": "step",
305
487
  "data": {
306
- "label": "sleep",
307
- "nodeKind": "primitive"
488
+ "label": "nullByteStep",
489
+ "nodeKind": "step",
490
+ "stepId": "step//./workflows/null-byte//nullByteStep"
308
491
  }
309
492
  },
310
493
  {
@@ -331,16 +514,18 @@
331
514
  }
332
515
  ]
333
516
  }
334
- },
335
- "threeBatchesOfFiveWorkflow": {
336
- "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
517
+ }
518
+ },
519
+ "workflows/inline-execution.ts": {
520
+ "hookWorkflow": {
521
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
337
522
  "graph": {
338
523
  "nodes": [
339
524
  {
340
525
  "id": "start",
341
526
  "type": "workflowStart",
342
527
  "data": {
343
- "label": "Start: threeBatchesOfFiveWorkflow",
528
+ "label": "Start: hookWorkflow",
344
529
  "nodeKind": "workflow_start"
345
530
  }
346
531
  },
@@ -362,21 +547,45 @@
362
547
  }
363
548
  ]
364
549
  }
365
- }
366
- },
367
- "workflows/retriable-and-fatal.ts": {
368
- "retryableAndFatalErrorWorkflow": {
369
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
550
+ },
551
+ "parallelStepsWorkflow": {
552
+ "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
370
553
  "graph": {
371
554
  "nodes": [
372
555
  {
373
556
  "id": "start",
374
557
  "type": "workflowStart",
375
558
  "data": {
376
- "label": "Start: retryableAndFatalErrorWorkflow",
559
+ "label": "Start: parallelStepsWorkflow",
377
560
  "nodeKind": "workflow_start"
378
561
  }
379
562
  },
563
+ {
564
+ "id": "node_0",
565
+ "type": "step",
566
+ "data": {
567
+ "label": "add",
568
+ "nodeKind": "step",
569
+ "stepId": "step//./workflows/inline-execution//add"
570
+ },
571
+ "metadata": {
572
+ "parallelGroupId": "parallel_0",
573
+ "parallelMethod": "all"
574
+ }
575
+ },
576
+ {
577
+ "id": "node_1",
578
+ "type": "step",
579
+ "data": {
580
+ "label": "add",
581
+ "nodeKind": "step",
582
+ "stepId": "step//./workflows/inline-execution//add"
583
+ },
584
+ "metadata": {
585
+ "parallelGroupId": "parallel_0",
586
+ "parallelMethod": "all"
587
+ }
588
+ },
380
589
  {
381
590
  "id": "end",
382
591
  "type": "workflowEnd",
@@ -388,61 +597,147 @@
388
597
  ],
389
598
  "edges": [
390
599
  {
391
- "id": "e_start_end",
600
+ "id": "e_start_node_0",
601
+ "source": "start",
602
+ "target": "node_0",
603
+ "type": "parallel"
604
+ },
605
+ {
606
+ "id": "e_start_node_1",
392
607
  "source": "start",
608
+ "target": "node_1",
609
+ "type": "parallel"
610
+ },
611
+ {
612
+ "id": "e_node_0_end",
613
+ "source": "node_0",
614
+ "target": "end",
615
+ "type": "default"
616
+ },
617
+ {
618
+ "id": "e_node_1_end",
619
+ "source": "node_1",
393
620
  "target": "end",
394
621
  "type": "default"
395
622
  }
396
623
  ]
397
624
  }
398
- }
399
- },
400
- "workflows/noop.ts": {
401
- "brokenWf": {
402
- "workflowId": "workflow//./workflows/noop//brokenWf",
625
+ },
626
+ "sequentialStepsWithStreamWorkflow": {
627
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
403
628
  "graph": {
404
629
  "nodes": [
405
630
  {
406
631
  "id": "start",
407
632
  "type": "workflowStart",
408
633
  "data": {
409
- "label": "Start: brokenWf",
634
+ "label": "Start: sequentialStepsWithStreamWorkflow",
410
635
  "nodeKind": "workflow_start"
411
636
  }
412
637
  },
413
638
  {
414
- "id": "end",
415
- "type": "workflowEnd",
639
+ "id": "node_0",
640
+ "type": "step",
416
641
  "data": {
417
- "label": "Return",
418
- "nodeKind": "workflow_end"
642
+ "label": "writeToStream",
643
+ "nodeKind": "step",
644
+ "stepId": "step//./workflows/inline-execution//writeToStream"
645
+ }
646
+ },
647
+ {
648
+ "id": "node_1",
649
+ "type": "step",
650
+ "data": {
651
+ "label": "writeToStream",
652
+ "nodeKind": "step",
653
+ "stepId": "step//./workflows/inline-execution//writeToStream"
654
+ }
655
+ },
656
+ {
657
+ "id": "node_2",
658
+ "type": "step",
659
+ "data": {
660
+ "label": "closeOutputStream",
661
+ "nodeKind": "step",
662
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
663
+ }
664
+ },
665
+ {
666
+ "id": "end",
667
+ "type": "workflowEnd",
668
+ "data": {
669
+ "label": "Return",
670
+ "nodeKind": "workflow_end"
419
671
  }
420
672
  }
421
673
  ],
422
674
  "edges": [
423
675
  {
424
- "id": "e_start_end",
676
+ "id": "e_start_node_0",
425
677
  "source": "start",
678
+ "target": "node_0",
679
+ "type": "default"
680
+ },
681
+ {
682
+ "id": "e_node_0_node_1",
683
+ "source": "node_0",
684
+ "target": "node_1",
685
+ "type": "default"
686
+ },
687
+ {
688
+ "id": "e_node_1_node_2",
689
+ "source": "node_1",
690
+ "target": "node_2",
691
+ "type": "default"
692
+ },
693
+ {
694
+ "id": "e_node_2_end",
695
+ "source": "node_2",
426
696
  "target": "end",
427
697
  "type": "default"
428
698
  }
429
699
  ]
430
700
  }
431
- }
432
- },
433
- "workflows/null-byte.ts": {
434
- "nullByteWorkflow": {
435
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
701
+ },
702
+ "sequentialStepsWorkflow": {
703
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
436
704
  "graph": {
437
705
  "nodes": [
438
706
  {
439
707
  "id": "start",
440
708
  "type": "workflowStart",
441
709
  "data": {
442
- "label": "Start: nullByteWorkflow",
710
+ "label": "Start: sequentialStepsWorkflow",
443
711
  "nodeKind": "workflow_start"
444
712
  }
445
713
  },
714
+ {
715
+ "id": "node_0",
716
+ "type": "step",
717
+ "data": {
718
+ "label": "add",
719
+ "nodeKind": "step",
720
+ "stepId": "step//./workflows/inline-execution//add"
721
+ }
722
+ },
723
+ {
724
+ "id": "node_1",
725
+ "type": "step",
726
+ "data": {
727
+ "label": "add",
728
+ "nodeKind": "step",
729
+ "stepId": "step//./workflows/inline-execution//add"
730
+ }
731
+ },
732
+ {
733
+ "id": "node_2",
734
+ "type": "step",
735
+ "data": {
736
+ "label": "add",
737
+ "nodeKind": "step",
738
+ "stepId": "step//./workflows/inline-execution//add"
739
+ }
740
+ },
446
741
  {
447
742
  "id": "end",
448
743
  "type": "workflowEnd",
@@ -454,28 +749,61 @@
454
749
  ],
455
750
  "edges": [
456
751
  {
457
- "id": "e_start_end",
752
+ "id": "e_start_node_0",
458
753
  "source": "start",
754
+ "target": "node_0",
755
+ "type": "default"
756
+ },
757
+ {
758
+ "id": "e_node_0_node_1",
759
+ "source": "node_0",
760
+ "target": "node_1",
761
+ "type": "default"
762
+ },
763
+ {
764
+ "id": "e_node_1_node_2",
765
+ "source": "node_1",
766
+ "target": "node_2",
767
+ "type": "default"
768
+ },
769
+ {
770
+ "id": "e_node_2_end",
771
+ "source": "node_2",
459
772
  "target": "end",
460
773
  "type": "default"
461
774
  }
462
775
  ]
463
776
  }
464
- }
465
- },
466
- "workflows/hooks.ts": {
467
- "collectWithHook": {
468
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
777
+ },
778
+ "sleepWorkflow": {
779
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
469
780
  "graph": {
470
781
  "nodes": [
471
782
  {
472
783
  "id": "start",
473
784
  "type": "workflowStart",
474
785
  "data": {
475
- "label": "Start: collectWithHook",
786
+ "label": "Start: sleepWorkflow",
476
787
  "nodeKind": "workflow_start"
477
788
  }
478
789
  },
790
+ {
791
+ "id": "node_0",
792
+ "type": "primitive",
793
+ "data": {
794
+ "label": "sleep",
795
+ "nodeKind": "primitive"
796
+ }
797
+ },
798
+ {
799
+ "id": "node_1",
800
+ "type": "step",
801
+ "data": {
802
+ "label": "add",
803
+ "nodeKind": "step",
804
+ "stepId": "step//./workflows/inline-execution//add"
805
+ }
806
+ },
479
807
  {
480
808
  "id": "end",
481
809
  "type": "workflowEnd",
@@ -487,8 +815,600 @@
487
815
  ],
488
816
  "edges": [
489
817
  {
490
- "id": "e_start_end",
818
+ "id": "e_start_node_0",
491
819
  "source": "start",
820
+ "target": "node_0",
821
+ "type": "default"
822
+ },
823
+ {
824
+ "id": "e_node_0_node_1",
825
+ "source": "node_0",
826
+ "target": "node_1",
827
+ "type": "default"
828
+ },
829
+ {
830
+ "id": "e_node_1_end",
831
+ "source": "node_1",
832
+ "target": "end",
833
+ "type": "default"
834
+ }
835
+ ]
836
+ }
837
+ },
838
+ "threeBatchesOfFiveWorkflow": {
839
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
840
+ "graph": {
841
+ "nodes": [
842
+ {
843
+ "id": "start",
844
+ "type": "workflowStart",
845
+ "data": {
846
+ "label": "Start: threeBatchesOfFiveWorkflow",
847
+ "nodeKind": "workflow_start"
848
+ }
849
+ },
850
+ {
851
+ "id": "node_0",
852
+ "type": "step",
853
+ "data": {
854
+ "label": "add",
855
+ "nodeKind": "step",
856
+ "stepId": "step//./workflows/inline-execution//add"
857
+ },
858
+ "metadata": {
859
+ "parallelGroupId": "parallel_0",
860
+ "parallelMethod": "all"
861
+ }
862
+ },
863
+ {
864
+ "id": "node_1",
865
+ "type": "step",
866
+ "data": {
867
+ "label": "add",
868
+ "nodeKind": "step",
869
+ "stepId": "step//./workflows/inline-execution//add"
870
+ },
871
+ "metadata": {
872
+ "parallelGroupId": "parallel_0",
873
+ "parallelMethod": "all"
874
+ }
875
+ },
876
+ {
877
+ "id": "node_2",
878
+ "type": "step",
879
+ "data": {
880
+ "label": "add",
881
+ "nodeKind": "step",
882
+ "stepId": "step//./workflows/inline-execution//add"
883
+ },
884
+ "metadata": {
885
+ "parallelGroupId": "parallel_0",
886
+ "parallelMethod": "all"
887
+ }
888
+ },
889
+ {
890
+ "id": "node_3",
891
+ "type": "step",
892
+ "data": {
893
+ "label": "add",
894
+ "nodeKind": "step",
895
+ "stepId": "step//./workflows/inline-execution//add"
896
+ },
897
+ "metadata": {
898
+ "parallelGroupId": "parallel_0",
899
+ "parallelMethod": "all"
900
+ }
901
+ },
902
+ {
903
+ "id": "node_4",
904
+ "type": "step",
905
+ "data": {
906
+ "label": "add",
907
+ "nodeKind": "step",
908
+ "stepId": "step//./workflows/inline-execution//add"
909
+ },
910
+ "metadata": {
911
+ "parallelGroupId": "parallel_0",
912
+ "parallelMethod": "all"
913
+ }
914
+ },
915
+ {
916
+ "id": "node_5",
917
+ "type": "step",
918
+ "data": {
919
+ "label": "add",
920
+ "nodeKind": "step",
921
+ "stepId": "step//./workflows/inline-execution//add"
922
+ },
923
+ "metadata": {
924
+ "parallelGroupId": "parallel_1",
925
+ "parallelMethod": "all"
926
+ }
927
+ },
928
+ {
929
+ "id": "node_6",
930
+ "type": "step",
931
+ "data": {
932
+ "label": "add",
933
+ "nodeKind": "step",
934
+ "stepId": "step//./workflows/inline-execution//add"
935
+ },
936
+ "metadata": {
937
+ "parallelGroupId": "parallel_1",
938
+ "parallelMethod": "all"
939
+ }
940
+ },
941
+ {
942
+ "id": "node_7",
943
+ "type": "step",
944
+ "data": {
945
+ "label": "add",
946
+ "nodeKind": "step",
947
+ "stepId": "step//./workflows/inline-execution//add"
948
+ },
949
+ "metadata": {
950
+ "parallelGroupId": "parallel_1",
951
+ "parallelMethod": "all"
952
+ }
953
+ },
954
+ {
955
+ "id": "node_8",
956
+ "type": "step",
957
+ "data": {
958
+ "label": "add",
959
+ "nodeKind": "step",
960
+ "stepId": "step//./workflows/inline-execution//add"
961
+ },
962
+ "metadata": {
963
+ "parallelGroupId": "parallel_1",
964
+ "parallelMethod": "all"
965
+ }
966
+ },
967
+ {
968
+ "id": "node_9",
969
+ "type": "step",
970
+ "data": {
971
+ "label": "add",
972
+ "nodeKind": "step",
973
+ "stepId": "step//./workflows/inline-execution//add"
974
+ },
975
+ "metadata": {
976
+ "parallelGroupId": "parallel_1",
977
+ "parallelMethod": "all"
978
+ }
979
+ },
980
+ {
981
+ "id": "node_10",
982
+ "type": "step",
983
+ "data": {
984
+ "label": "add",
985
+ "nodeKind": "step",
986
+ "stepId": "step//./workflows/inline-execution//add"
987
+ },
988
+ "metadata": {
989
+ "parallelGroupId": "parallel_2",
990
+ "parallelMethod": "all"
991
+ }
992
+ },
993
+ {
994
+ "id": "node_11",
995
+ "type": "step",
996
+ "data": {
997
+ "label": "add",
998
+ "nodeKind": "step",
999
+ "stepId": "step//./workflows/inline-execution//add"
1000
+ },
1001
+ "metadata": {
1002
+ "parallelGroupId": "parallel_2",
1003
+ "parallelMethod": "all"
1004
+ }
1005
+ },
1006
+ {
1007
+ "id": "node_12",
1008
+ "type": "step",
1009
+ "data": {
1010
+ "label": "add",
1011
+ "nodeKind": "step",
1012
+ "stepId": "step//./workflows/inline-execution//add"
1013
+ },
1014
+ "metadata": {
1015
+ "parallelGroupId": "parallel_2",
1016
+ "parallelMethod": "all"
1017
+ }
1018
+ },
1019
+ {
1020
+ "id": "node_13",
1021
+ "type": "step",
1022
+ "data": {
1023
+ "label": "add",
1024
+ "nodeKind": "step",
1025
+ "stepId": "step//./workflows/inline-execution//add"
1026
+ },
1027
+ "metadata": {
1028
+ "parallelGroupId": "parallel_2",
1029
+ "parallelMethod": "all"
1030
+ }
1031
+ },
1032
+ {
1033
+ "id": "node_14",
1034
+ "type": "step",
1035
+ "data": {
1036
+ "label": "add",
1037
+ "nodeKind": "step",
1038
+ "stepId": "step//./workflows/inline-execution//add"
1039
+ },
1040
+ "metadata": {
1041
+ "parallelGroupId": "parallel_2",
1042
+ "parallelMethod": "all"
1043
+ }
1044
+ },
1045
+ {
1046
+ "id": "end",
1047
+ "type": "workflowEnd",
1048
+ "data": {
1049
+ "label": "Return",
1050
+ "nodeKind": "workflow_end"
1051
+ }
1052
+ }
1053
+ ],
1054
+ "edges": [
1055
+ {
1056
+ "id": "e_start_node_0",
1057
+ "source": "start",
1058
+ "target": "node_0",
1059
+ "type": "parallel"
1060
+ },
1061
+ {
1062
+ "id": "e_start_node_1",
1063
+ "source": "start",
1064
+ "target": "node_1",
1065
+ "type": "parallel"
1066
+ },
1067
+ {
1068
+ "id": "e_start_node_2",
1069
+ "source": "start",
1070
+ "target": "node_2",
1071
+ "type": "parallel"
1072
+ },
1073
+ {
1074
+ "id": "e_start_node_3",
1075
+ "source": "start",
1076
+ "target": "node_3",
1077
+ "type": "parallel"
1078
+ },
1079
+ {
1080
+ "id": "e_start_node_4",
1081
+ "source": "start",
1082
+ "target": "node_4",
1083
+ "type": "parallel"
1084
+ },
1085
+ {
1086
+ "id": "e_node_0_node_5",
1087
+ "source": "node_0",
1088
+ "target": "node_5",
1089
+ "type": "parallel"
1090
+ },
1091
+ {
1092
+ "id": "e_node_0_node_6",
1093
+ "source": "node_0",
1094
+ "target": "node_6",
1095
+ "type": "parallel"
1096
+ },
1097
+ {
1098
+ "id": "e_node_0_node_7",
1099
+ "source": "node_0",
1100
+ "target": "node_7",
1101
+ "type": "parallel"
1102
+ },
1103
+ {
1104
+ "id": "e_node_0_node_8",
1105
+ "source": "node_0",
1106
+ "target": "node_8",
1107
+ "type": "parallel"
1108
+ },
1109
+ {
1110
+ "id": "e_node_0_node_9",
1111
+ "source": "node_0",
1112
+ "target": "node_9",
1113
+ "type": "parallel"
1114
+ },
1115
+ {
1116
+ "id": "e_node_1_node_5",
1117
+ "source": "node_1",
1118
+ "target": "node_5",
1119
+ "type": "parallel"
1120
+ },
1121
+ {
1122
+ "id": "e_node_1_node_6",
1123
+ "source": "node_1",
1124
+ "target": "node_6",
1125
+ "type": "parallel"
1126
+ },
1127
+ {
1128
+ "id": "e_node_1_node_7",
1129
+ "source": "node_1",
1130
+ "target": "node_7",
1131
+ "type": "parallel"
1132
+ },
1133
+ {
1134
+ "id": "e_node_1_node_8",
1135
+ "source": "node_1",
1136
+ "target": "node_8",
1137
+ "type": "parallel"
1138
+ },
1139
+ {
1140
+ "id": "e_node_1_node_9",
1141
+ "source": "node_1",
1142
+ "target": "node_9",
1143
+ "type": "parallel"
1144
+ },
1145
+ {
1146
+ "id": "e_node_2_node_5",
1147
+ "source": "node_2",
1148
+ "target": "node_5",
1149
+ "type": "parallel"
1150
+ },
1151
+ {
1152
+ "id": "e_node_2_node_6",
1153
+ "source": "node_2",
1154
+ "target": "node_6",
1155
+ "type": "parallel"
1156
+ },
1157
+ {
1158
+ "id": "e_node_2_node_7",
1159
+ "source": "node_2",
1160
+ "target": "node_7",
1161
+ "type": "parallel"
1162
+ },
1163
+ {
1164
+ "id": "e_node_2_node_8",
1165
+ "source": "node_2",
1166
+ "target": "node_8",
1167
+ "type": "parallel"
1168
+ },
1169
+ {
1170
+ "id": "e_node_2_node_9",
1171
+ "source": "node_2",
1172
+ "target": "node_9",
1173
+ "type": "parallel"
1174
+ },
1175
+ {
1176
+ "id": "e_node_3_node_5",
1177
+ "source": "node_3",
1178
+ "target": "node_5",
1179
+ "type": "parallel"
1180
+ },
1181
+ {
1182
+ "id": "e_node_3_node_6",
1183
+ "source": "node_3",
1184
+ "target": "node_6",
1185
+ "type": "parallel"
1186
+ },
1187
+ {
1188
+ "id": "e_node_3_node_7",
1189
+ "source": "node_3",
1190
+ "target": "node_7",
1191
+ "type": "parallel"
1192
+ },
1193
+ {
1194
+ "id": "e_node_3_node_8",
1195
+ "source": "node_3",
1196
+ "target": "node_8",
1197
+ "type": "parallel"
1198
+ },
1199
+ {
1200
+ "id": "e_node_3_node_9",
1201
+ "source": "node_3",
1202
+ "target": "node_9",
1203
+ "type": "parallel"
1204
+ },
1205
+ {
1206
+ "id": "e_node_4_node_5",
1207
+ "source": "node_4",
1208
+ "target": "node_5",
1209
+ "type": "parallel"
1210
+ },
1211
+ {
1212
+ "id": "e_node_4_node_6",
1213
+ "source": "node_4",
1214
+ "target": "node_6",
1215
+ "type": "parallel"
1216
+ },
1217
+ {
1218
+ "id": "e_node_4_node_7",
1219
+ "source": "node_4",
1220
+ "target": "node_7",
1221
+ "type": "parallel"
1222
+ },
1223
+ {
1224
+ "id": "e_node_4_node_8",
1225
+ "source": "node_4",
1226
+ "target": "node_8",
1227
+ "type": "parallel"
1228
+ },
1229
+ {
1230
+ "id": "e_node_4_node_9",
1231
+ "source": "node_4",
1232
+ "target": "node_9",
1233
+ "type": "parallel"
1234
+ },
1235
+ {
1236
+ "id": "e_node_5_node_10",
1237
+ "source": "node_5",
1238
+ "target": "node_10",
1239
+ "type": "parallel"
1240
+ },
1241
+ {
1242
+ "id": "e_node_5_node_11",
1243
+ "source": "node_5",
1244
+ "target": "node_11",
1245
+ "type": "parallel"
1246
+ },
1247
+ {
1248
+ "id": "e_node_5_node_12",
1249
+ "source": "node_5",
1250
+ "target": "node_12",
1251
+ "type": "parallel"
1252
+ },
1253
+ {
1254
+ "id": "e_node_5_node_13",
1255
+ "source": "node_5",
1256
+ "target": "node_13",
1257
+ "type": "parallel"
1258
+ },
1259
+ {
1260
+ "id": "e_node_5_node_14",
1261
+ "source": "node_5",
1262
+ "target": "node_14",
1263
+ "type": "parallel"
1264
+ },
1265
+ {
1266
+ "id": "e_node_6_node_10",
1267
+ "source": "node_6",
1268
+ "target": "node_10",
1269
+ "type": "parallel"
1270
+ },
1271
+ {
1272
+ "id": "e_node_6_node_11",
1273
+ "source": "node_6",
1274
+ "target": "node_11",
1275
+ "type": "parallel"
1276
+ },
1277
+ {
1278
+ "id": "e_node_6_node_12",
1279
+ "source": "node_6",
1280
+ "target": "node_12",
1281
+ "type": "parallel"
1282
+ },
1283
+ {
1284
+ "id": "e_node_6_node_13",
1285
+ "source": "node_6",
1286
+ "target": "node_13",
1287
+ "type": "parallel"
1288
+ },
1289
+ {
1290
+ "id": "e_node_6_node_14",
1291
+ "source": "node_6",
1292
+ "target": "node_14",
1293
+ "type": "parallel"
1294
+ },
1295
+ {
1296
+ "id": "e_node_7_node_10",
1297
+ "source": "node_7",
1298
+ "target": "node_10",
1299
+ "type": "parallel"
1300
+ },
1301
+ {
1302
+ "id": "e_node_7_node_11",
1303
+ "source": "node_7",
1304
+ "target": "node_11",
1305
+ "type": "parallel"
1306
+ },
1307
+ {
1308
+ "id": "e_node_7_node_12",
1309
+ "source": "node_7",
1310
+ "target": "node_12",
1311
+ "type": "parallel"
1312
+ },
1313
+ {
1314
+ "id": "e_node_7_node_13",
1315
+ "source": "node_7",
1316
+ "target": "node_13",
1317
+ "type": "parallel"
1318
+ },
1319
+ {
1320
+ "id": "e_node_7_node_14",
1321
+ "source": "node_7",
1322
+ "target": "node_14",
1323
+ "type": "parallel"
1324
+ },
1325
+ {
1326
+ "id": "e_node_8_node_10",
1327
+ "source": "node_8",
1328
+ "target": "node_10",
1329
+ "type": "parallel"
1330
+ },
1331
+ {
1332
+ "id": "e_node_8_node_11",
1333
+ "source": "node_8",
1334
+ "target": "node_11",
1335
+ "type": "parallel"
1336
+ },
1337
+ {
1338
+ "id": "e_node_8_node_12",
1339
+ "source": "node_8",
1340
+ "target": "node_12",
1341
+ "type": "parallel"
1342
+ },
1343
+ {
1344
+ "id": "e_node_8_node_13",
1345
+ "source": "node_8",
1346
+ "target": "node_13",
1347
+ "type": "parallel"
1348
+ },
1349
+ {
1350
+ "id": "e_node_8_node_14",
1351
+ "source": "node_8",
1352
+ "target": "node_14",
1353
+ "type": "parallel"
1354
+ },
1355
+ {
1356
+ "id": "e_node_9_node_10",
1357
+ "source": "node_9",
1358
+ "target": "node_10",
1359
+ "type": "parallel"
1360
+ },
1361
+ {
1362
+ "id": "e_node_9_node_11",
1363
+ "source": "node_9",
1364
+ "target": "node_11",
1365
+ "type": "parallel"
1366
+ },
1367
+ {
1368
+ "id": "e_node_9_node_12",
1369
+ "source": "node_9",
1370
+ "target": "node_12",
1371
+ "type": "parallel"
1372
+ },
1373
+ {
1374
+ "id": "e_node_9_node_13",
1375
+ "source": "node_9",
1376
+ "target": "node_13",
1377
+ "type": "parallel"
1378
+ },
1379
+ {
1380
+ "id": "e_node_9_node_14",
1381
+ "source": "node_9",
1382
+ "target": "node_14",
1383
+ "type": "parallel"
1384
+ },
1385
+ {
1386
+ "id": "e_node_10_end",
1387
+ "source": "node_10",
1388
+ "target": "end",
1389
+ "type": "default"
1390
+ },
1391
+ {
1392
+ "id": "e_node_11_end",
1393
+ "source": "node_11",
1394
+ "target": "end",
1395
+ "type": "default"
1396
+ },
1397
+ {
1398
+ "id": "e_node_12_end",
1399
+ "source": "node_12",
1400
+ "target": "end",
1401
+ "type": "default"
1402
+ },
1403
+ {
1404
+ "id": "e_node_13_end",
1405
+ "source": "node_13",
1406
+ "target": "end",
1407
+ "type": "default"
1408
+ },
1409
+ {
1410
+ "id": "e_node_14_end",
1411
+ "source": "node_14",
492
1412
  "target": "end",
493
1413
  "type": "default"
494
1414
  }
@@ -500,7 +1420,7 @@
500
1420
  "classes": {
501
1421
  "core/dist/runtime/run.js": {
502
1422
  "Run": {
503
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.26//Run"
1423
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.28//Run"
504
1424
  }
505
1425
  }
506
1426
  }