@workflow/world-testing 5.0.0-beta.34 → 5.0.0-beta.36

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.
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/hooks.ts": {
5
- "writeEvent": {
6
- "stepId": "step//./workflows/hooks//writeEvent"
4
+ "workflows/noop.ts": {
5
+ "noop": {
6
+ "stepId": "step//./workflows/noop//noop"
7
7
  }
8
8
  },
9
9
  "workflows/signal-cost.ts": {
@@ -11,39 +11,19 @@
11
11
  "stepId": "step//./workflows/signal-cost//trivialStep"
12
12
  }
13
13
  },
14
- "workflows/inline-execution.ts": {
15
- "add": {
16
- "stepId": "step//./workflows/inline-execution//add"
17
- },
18
- "closeOutputStream": {
19
- "stepId": "step//./workflows/inline-execution//closeOutputStream"
20
- },
21
- "writeToStream": {
22
- "stepId": "step//./workflows/inline-execution//writeToStream"
23
- }
24
- },
25
- "workflows/addition.ts": {
26
- "add": {
27
- "stepId": "step//./workflows/addition//add"
14
+ "workflows/lineage.ts": {
15
+ "noop": {
16
+ "stepId": "step//./workflows/lineage//noop"
28
17
  }
29
18
  },
30
- "workflow/dist/internal/builtins.js": {
31
- "__builtin_response_array_buffer": {
32
- "stepId": "__builtin_response_array_buffer"
33
- },
34
- "__builtin_response_json": {
35
- "stepId": "__builtin_response_json"
36
- },
37
- "__builtin_response_text": {
38
- "stepId": "__builtin_response_text"
39
- },
40
- "__builtin_set_attributes": {
41
- "stepId": "__builtin_set_attributes"
19
+ "workflows/hooks.ts": {
20
+ "writeEvent": {
21
+ "stepId": "step//./workflows/hooks//writeEvent"
42
22
  }
43
23
  },
44
- "workflows/noop.ts": {
45
- "noop": {
46
- "stepId": "step//./workflows/noop//noop"
24
+ "workflows/event-limit.ts": {
25
+ "tick": {
26
+ "stepId": "step//./workflows/event-limit//tick"
47
27
  }
48
28
  },
49
29
  "workflows/null-byte.ts": {
@@ -51,11 +31,6 @@
51
31
  "stepId": "step//./workflows/null-byte//nullByteStep"
52
32
  }
53
33
  },
54
- "workflow/dist/stdlib.js": {
55
- "fetch": {
56
- "stepId": "step//./workflow/dist/stdlib//fetch"
57
- }
58
- },
59
34
  "workflows/retriable-and-fatal.ts": {
60
35
  "stepThatFails": {
61
36
  "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
@@ -64,55 +39,90 @@
64
39
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
65
40
  }
66
41
  },
42
+ "workflows/addition.ts": {
43
+ "add": {
44
+ "stepId": "step//./workflows/addition//add"
45
+ }
46
+ },
47
+ "workflow/dist/stdlib.js": {
48
+ "fetch": {
49
+ "stepId": "step//./workflow/dist/stdlib//fetch"
50
+ }
51
+ },
67
52
  "core/dist/runtime/run.js": {
68
53
  "Run#cancel": {
69
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#cancel"
54
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#cancel"
70
55
  },
71
56
  "Run#completedAt": {
72
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#completedAt"
57
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#completedAt"
73
58
  },
74
59
  "Run#createdAt": {
75
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#createdAt"
60
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#createdAt"
76
61
  },
77
62
  "Run#exists": {
78
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#exists"
63
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#exists"
79
64
  },
80
65
  "Run#getReadable": {
81
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#getReadable"
66
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#getReadable"
82
67
  },
83
68
  "Run#returnValue": {
84
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#returnValue"
69
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#returnValue"
85
70
  },
86
71
  "Run#startedAt": {
87
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#startedAt"
72
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#startedAt"
88
73
  },
89
74
  "Run#status": {
90
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#status"
75
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#status"
91
76
  },
92
77
  "Run#wakeUp": {
93
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#wakeUp"
78
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#wakeUp"
94
79
  },
95
80
  "Run#workflowName": {
96
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.34//Run#workflowName"
81
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.36//Run#workflowName"
82
+ }
83
+ },
84
+ "workflows/inline-execution.ts": {
85
+ "add": {
86
+ "stepId": "step//./workflows/inline-execution//add"
87
+ },
88
+ "closeOutputStream": {
89
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
90
+ },
91
+ "writeToStream": {
92
+ "stepId": "step//./workflows/inline-execution//writeToStream"
97
93
  }
98
94
  },
99
95
  "core/dist/runtime/start.js": {
100
96
  "start": {
101
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.34//start"
97
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.36//start"
98
+ }
99
+ },
100
+ "workflow/dist/internal/builtins.js": {
101
+ "__builtin_response_array_buffer": {
102
+ "stepId": "__builtin_response_array_buffer"
103
+ },
104
+ "__builtin_response_json": {
105
+ "stepId": "__builtin_response_json"
106
+ },
107
+ "__builtin_response_text": {
108
+ "stepId": "__builtin_response_text"
109
+ },
110
+ "__builtin_set_attributes": {
111
+ "stepId": "__builtin_set_attributes"
102
112
  }
103
113
  }
104
114
  },
105
115
  "workflows": {
106
- "workflows/hooks.ts": {
107
- "collectWithHook": {
108
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
116
+ "workflows/noop.ts": {
117
+ "brokenWf": {
118
+ "workflowId": "workflow//./workflows/noop//brokenWf",
109
119
  "graph": {
110
120
  "nodes": [
111
121
  {
112
122
  "id": "start",
113
123
  "type": "workflowStart",
114
124
  "data": {
115
- "label": "Start: collectWithHook",
125
+ "label": "Start: brokenWf",
116
126
  "nodeKind": "workflow_start"
117
127
  }
118
128
  },
@@ -120,22 +130,18 @@
120
130
  "id": "node_0",
121
131
  "type": "step",
122
132
  "data": {
123
- "label": "writeEvent",
133
+ "label": "noop",
124
134
  "nodeKind": "step",
125
- "stepId": "step//./workflows/hooks//writeEvent"
135
+ "stepId": "step//./workflows/noop//noop"
126
136
  }
127
137
  },
128
138
  {
129
139
  "id": "node_1",
130
140
  "type": "step",
131
141
  "data": {
132
- "label": "writeEvent",
142
+ "label": "noop",
133
143
  "nodeKind": "step",
134
- "stepId": "step//./workflows/hooks//writeEvent"
135
- },
136
- "metadata": {
137
- "loopId": "loop_0",
138
- "loopIsAwait": true
144
+ "stepId": "step//./workflows/noop//noop"
139
145
  }
140
146
  },
141
147
  {
@@ -154,12 +160,6 @@
154
160
  "target": "node_0",
155
161
  "type": "default"
156
162
  },
157
- {
158
- "id": "e_node_1_back_node_1",
159
- "source": "node_1",
160
- "target": "node_1",
161
- "type": "loop"
162
- },
163
163
  {
164
164
  "id": "e_node_0_node_1",
165
165
  "source": "node_0",
@@ -233,19 +233,37 @@
233
233
  }
234
234
  }
235
235
  },
236
- "workflows/inline-execution.ts": {
237
- "hookWorkflow": {
238
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
236
+ "workflows/lineage.ts": {
237
+ "bodyStartsChild": {
238
+ "workflowId": "workflow//./workflows/lineage//bodyStartsChild",
239
239
  "graph": {
240
240
  "nodes": [
241
241
  {
242
242
  "id": "start",
243
243
  "type": "workflowStart",
244
244
  "data": {
245
- "label": "Start: hookWorkflow",
245
+ "label": "Start: bodyStartsChild",
246
246
  "nodeKind": "workflow_start"
247
247
  }
248
248
  },
249
+ {
250
+ "id": "node_0",
251
+ "type": "step",
252
+ "data": {
253
+ "label": "noop",
254
+ "nodeKind": "step",
255
+ "stepId": "step//./workflows/lineage//noop"
256
+ }
257
+ },
258
+ {
259
+ "id": "node_1",
260
+ "type": "step",
261
+ "data": {
262
+ "label": "start",
263
+ "nodeKind": "step",
264
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.36//start"
265
+ }
266
+ },
249
267
  {
250
268
  "id": "end",
251
269
  "type": "workflowEnd",
@@ -257,23 +275,35 @@
257
275
  ],
258
276
  "edges": [
259
277
  {
260
- "id": "e_start_end",
278
+ "id": "e_start_node_0",
261
279
  "source": "start",
280
+ "target": "node_0",
281
+ "type": "default"
282
+ },
283
+ {
284
+ "id": "e_node_0_node_1",
285
+ "source": "node_0",
286
+ "target": "node_1",
287
+ "type": "default"
288
+ },
289
+ {
290
+ "id": "e_node_1_end",
291
+ "source": "node_1",
262
292
  "target": "end",
263
293
  "type": "default"
264
294
  }
265
295
  ]
266
296
  }
267
297
  },
268
- "parallelStepsWorkflow": {
269
- "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
298
+ "chainLeaf": {
299
+ "workflowId": "workflow//./workflows/lineage//chainLeaf",
270
300
  "graph": {
271
301
  "nodes": [
272
302
  {
273
303
  "id": "start",
274
304
  "type": "workflowStart",
275
305
  "data": {
276
- "label": "Start: parallelStepsWorkflow",
306
+ "label": "Start: chainLeaf",
277
307
  "nodeKind": "workflow_start"
278
308
  }
279
309
  },
@@ -281,26 +311,9 @@
281
311
  "id": "node_0",
282
312
  "type": "step",
283
313
  "data": {
284
- "label": "add",
285
- "nodeKind": "step",
286
- "stepId": "step//./workflows/inline-execution//add"
287
- },
288
- "metadata": {
289
- "parallelGroupId": "parallel_0",
290
- "parallelMethod": "all"
291
- }
292
- },
293
- {
294
- "id": "node_1",
295
- "type": "step",
296
- "data": {
297
- "label": "add",
314
+ "label": "noop",
298
315
  "nodeKind": "step",
299
- "stepId": "step//./workflows/inline-execution//add"
300
- },
301
- "metadata": {
302
- "parallelGroupId": "parallel_0",
303
- "parallelMethod": "all"
316
+ "stepId": "step//./workflows/lineage//noop"
304
317
  }
305
318
  },
306
319
  {
@@ -317,38 +330,26 @@
317
330
  "id": "e_start_node_0",
318
331
  "source": "start",
319
332
  "target": "node_0",
320
- "type": "parallel"
321
- },
322
- {
323
- "id": "e_start_node_1",
324
- "source": "start",
325
- "target": "node_1",
326
- "type": "parallel"
333
+ "type": "default"
327
334
  },
328
335
  {
329
336
  "id": "e_node_0_end",
330
337
  "source": "node_0",
331
338
  "target": "end",
332
339
  "type": "default"
333
- },
334
- {
335
- "id": "e_node_1_end",
336
- "source": "node_1",
337
- "target": "end",
338
- "type": "default"
339
340
  }
340
341
  ]
341
342
  }
342
343
  },
343
- "sequentialStepsWithStreamWorkflow": {
344
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
344
+ "chainMiddle": {
345
+ "workflowId": "workflow//./workflows/lineage//chainMiddle",
345
346
  "graph": {
346
347
  "nodes": [
347
348
  {
348
349
  "id": "start",
349
350
  "type": "workflowStart",
350
351
  "data": {
351
- "label": "Start: sequentialStepsWithStreamWorkflow",
352
+ "label": "Start: chainMiddle",
352
353
  "nodeKind": "workflow_start"
353
354
  }
354
355
  },
@@ -356,27 +357,18 @@
356
357
  "id": "node_0",
357
358
  "type": "step",
358
359
  "data": {
359
- "label": "writeToStream",
360
+ "label": "noop",
360
361
  "nodeKind": "step",
361
- "stepId": "step//./workflows/inline-execution//writeToStream"
362
+ "stepId": "step//./workflows/lineage//noop"
362
363
  }
363
364
  },
364
365
  {
365
366
  "id": "node_1",
366
367
  "type": "step",
367
368
  "data": {
368
- "label": "writeToStream",
369
- "nodeKind": "step",
370
- "stepId": "step//./workflows/inline-execution//writeToStream"
371
- }
372
- },
373
- {
374
- "id": "node_2",
375
- "type": "step",
376
- "data": {
377
- "label": "closeOutputStream",
369
+ "label": "start",
378
370
  "nodeKind": "step",
379
- "stepId": "step//./workflows/inline-execution//closeOutputStream"
371
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.36//start"
380
372
  }
381
373
  },
382
374
  {
@@ -402,29 +394,23 @@
402
394
  "type": "default"
403
395
  },
404
396
  {
405
- "id": "e_node_1_node_2",
397
+ "id": "e_node_1_end",
406
398
  "source": "node_1",
407
- "target": "node_2",
408
- "type": "default"
409
- },
410
- {
411
- "id": "e_node_2_end",
412
- "source": "node_2",
413
399
  "target": "end",
414
400
  "type": "default"
415
401
  }
416
402
  ]
417
403
  }
418
404
  },
419
- "sequentialStepsWorkflow": {
420
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
405
+ "chainRoot": {
406
+ "workflowId": "workflow//./workflows/lineage//chainRoot",
421
407
  "graph": {
422
408
  "nodes": [
423
409
  {
424
410
  "id": "start",
425
411
  "type": "workflowStart",
426
412
  "data": {
427
- "label": "Start: sequentialStepsWorkflow",
413
+ "label": "Start: chainRoot",
428
414
  "nodeKind": "workflow_start"
429
415
  }
430
416
  },
@@ -432,27 +418,18 @@
432
418
  "id": "node_0",
433
419
  "type": "step",
434
420
  "data": {
435
- "label": "add",
421
+ "label": "noop",
436
422
  "nodeKind": "step",
437
- "stepId": "step//./workflows/inline-execution//add"
423
+ "stepId": "step//./workflows/lineage//noop"
438
424
  }
439
425
  },
440
426
  {
441
427
  "id": "node_1",
442
428
  "type": "step",
443
429
  "data": {
444
- "label": "add",
445
- "nodeKind": "step",
446
- "stepId": "step//./workflows/inline-execution//add"
447
- }
448
- },
449
- {
450
- "id": "node_2",
451
- "type": "step",
452
- "data": {
453
- "label": "add",
430
+ "label": "start",
454
431
  "nodeKind": "step",
455
- "stepId": "step//./workflows/inline-execution//add"
432
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.36//start"
456
433
  }
457
434
  },
458
435
  {
@@ -478,47 +455,33 @@
478
455
  "type": "default"
479
456
  },
480
457
  {
481
- "id": "e_node_1_node_2",
458
+ "id": "e_node_1_end",
482
459
  "source": "node_1",
483
- "target": "node_2",
484
- "type": "default"
485
- },
486
- {
487
- "id": "e_node_2_end",
488
- "source": "node_2",
489
460
  "target": "end",
490
461
  "type": "default"
491
462
  }
492
463
  ]
493
464
  }
494
465
  },
495
- "sleepWorkflow": {
496
- "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
466
+ "spawnedChild": {
467
+ "workflowId": "workflow//./workflows/lineage//spawnedChild",
497
468
  "graph": {
498
469
  "nodes": [
499
470
  {
500
471
  "id": "start",
501
472
  "type": "workflowStart",
502
473
  "data": {
503
- "label": "Start: sleepWorkflow",
474
+ "label": "Start: spawnedChild",
504
475
  "nodeKind": "workflow_start"
505
476
  }
506
477
  },
507
478
  {
508
479
  "id": "node_0",
509
- "type": "primitive",
510
- "data": {
511
- "label": "sleep",
512
- "nodeKind": "primitive"
513
- }
514
- },
515
- {
516
- "id": "node_1",
517
480
  "type": "step",
518
481
  "data": {
519
- "label": "add",
482
+ "label": "noop",
520
483
  "nodeKind": "step",
521
- "stepId": "step//./workflows/inline-execution//add"
484
+ "stepId": "step//./workflows/lineage//noop"
522
485
  }
523
486
  },
524
487
  {
@@ -538,29 +501,25 @@
538
501
  "type": "default"
539
502
  },
540
503
  {
541
- "id": "e_node_0_node_1",
504
+ "id": "e_node_0_end",
542
505
  "source": "node_0",
543
- "target": "node_1",
544
- "type": "default"
545
- },
546
- {
547
- "id": "e_node_1_end",
548
- "source": "node_1",
549
506
  "target": "end",
550
507
  "type": "default"
551
508
  }
552
509
  ]
553
510
  }
554
- },
555
- "threeBatchesOfFiveWorkflow": {
556
- "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
511
+ }
512
+ },
513
+ "workflows/hooks.ts": {
514
+ "collectWithHook": {
515
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
557
516
  "graph": {
558
517
  "nodes": [
559
518
  {
560
519
  "id": "start",
561
520
  "type": "workflowStart",
562
521
  "data": {
563
- "label": "Start: threeBatchesOfFiveWorkflow",
522
+ "label": "Start: collectWithHook",
564
523
  "nodeKind": "workflow_start"
565
524
  }
566
525
  },
@@ -568,195 +527,187 @@
568
527
  "id": "node_0",
569
528
  "type": "step",
570
529
  "data": {
571
- "label": "add",
530
+ "label": "writeEvent",
572
531
  "nodeKind": "step",
573
- "stepId": "step//./workflows/inline-execution//add"
574
- },
575
- "metadata": {
576
- "parallelGroupId": "parallel_0",
577
- "parallelMethod": "all"
532
+ "stepId": "step//./workflows/hooks//writeEvent"
578
533
  }
579
534
  },
580
535
  {
581
536
  "id": "node_1",
582
537
  "type": "step",
583
538
  "data": {
584
- "label": "add",
539
+ "label": "writeEvent",
585
540
  "nodeKind": "step",
586
- "stepId": "step//./workflows/inline-execution//add"
541
+ "stepId": "step//./workflows/hooks//writeEvent"
587
542
  },
588
543
  "metadata": {
589
- "parallelGroupId": "parallel_0",
590
- "parallelMethod": "all"
544
+ "loopId": "loop_0",
545
+ "loopIsAwait": true
591
546
  }
592
547
  },
593
548
  {
594
- "id": "node_2",
595
- "type": "step",
549
+ "id": "end",
550
+ "type": "workflowEnd",
596
551
  "data": {
597
- "label": "add",
598
- "nodeKind": "step",
599
- "stepId": "step//./workflows/inline-execution//add"
600
- },
601
- "metadata": {
602
- "parallelGroupId": "parallel_0",
603
- "parallelMethod": "all"
552
+ "label": "Return",
553
+ "nodeKind": "workflow_end"
604
554
  }
605
- },
555
+ }
556
+ ],
557
+ "edges": [
606
558
  {
607
- "id": "node_3",
608
- "type": "step",
609
- "data": {
610
- "label": "add",
611
- "nodeKind": "step",
612
- "stepId": "step//./workflows/inline-execution//add"
613
- },
614
- "metadata": {
615
- "parallelGroupId": "parallel_0",
616
- "parallelMethod": "all"
617
- }
559
+ "id": "e_start_node_0",
560
+ "source": "start",
561
+ "target": "node_0",
562
+ "type": "default"
618
563
  },
619
564
  {
620
- "id": "node_4",
621
- "type": "step",
622
- "data": {
623
- "label": "add",
624
- "nodeKind": "step",
625
- "stepId": "step//./workflows/inline-execution//add"
626
- },
627
- "metadata": {
628
- "parallelGroupId": "parallel_0",
629
- "parallelMethod": "all"
630
- }
565
+ "id": "e_node_1_back_node_1",
566
+ "source": "node_1",
567
+ "target": "node_1",
568
+ "type": "loop"
631
569
  },
632
570
  {
633
- "id": "node_5",
634
- "type": "step",
635
- "data": {
636
- "label": "add",
637
- "nodeKind": "step",
638
- "stepId": "step//./workflows/inline-execution//add"
639
- },
640
- "metadata": {
641
- "parallelGroupId": "parallel_1",
642
- "parallelMethod": "all"
643
- }
571
+ "id": "e_node_0_node_1",
572
+ "source": "node_0",
573
+ "target": "node_1",
574
+ "type": "default"
644
575
  },
645
576
  {
646
- "id": "node_6",
647
- "type": "step",
577
+ "id": "e_node_1_end",
578
+ "source": "node_1",
579
+ "target": "end",
580
+ "type": "default"
581
+ }
582
+ ]
583
+ }
584
+ }
585
+ },
586
+ "workflows/event-limit.ts": {
587
+ "runawayWorkflow": {
588
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
589
+ "graph": {
590
+ "nodes": [
591
+ {
592
+ "id": "start",
593
+ "type": "workflowStart",
648
594
  "data": {
649
- "label": "add",
650
- "nodeKind": "step",
651
- "stepId": "step//./workflows/inline-execution//add"
652
- },
653
- "metadata": {
654
- "parallelGroupId": "parallel_1",
655
- "parallelMethod": "all"
595
+ "label": "Start: runawayWorkflow",
596
+ "nodeKind": "workflow_start"
656
597
  }
657
598
  },
658
599
  {
659
- "id": "node_7",
600
+ "id": "node_0",
660
601
  "type": "step",
661
602
  "data": {
662
- "label": "add",
603
+ "label": "tick",
663
604
  "nodeKind": "step",
664
- "stepId": "step//./workflows/inline-execution//add"
605
+ "stepId": "step//./workflows/event-limit//tick"
665
606
  },
666
607
  "metadata": {
667
- "parallelGroupId": "parallel_1",
668
- "parallelMethod": "all"
608
+ "loopId": "loop_0"
669
609
  }
670
610
  },
671
611
  {
672
- "id": "node_8",
673
- "type": "step",
612
+ "id": "end",
613
+ "type": "workflowEnd",
674
614
  "data": {
675
- "label": "add",
676
- "nodeKind": "step",
677
- "stepId": "step//./workflows/inline-execution//add"
678
- },
679
- "metadata": {
680
- "parallelGroupId": "parallel_1",
681
- "parallelMethod": "all"
615
+ "label": "Return",
616
+ "nodeKind": "workflow_end"
682
617
  }
618
+ }
619
+ ],
620
+ "edges": [
621
+ {
622
+ "id": "e_node_0_back_node_0",
623
+ "source": "node_0",
624
+ "target": "node_0",
625
+ "type": "loop"
683
626
  },
684
627
  {
685
- "id": "node_9",
686
- "type": "step",
687
- "data": {
688
- "label": "add",
689
- "nodeKind": "step",
690
- "stepId": "step//./workflows/inline-execution//add"
691
- },
692
- "metadata": {
693
- "parallelGroupId": "parallel_1",
694
- "parallelMethod": "all"
695
- }
628
+ "id": "e_start_node_0",
629
+ "source": "start",
630
+ "target": "node_0",
631
+ "type": "default"
696
632
  },
697
633
  {
698
- "id": "node_10",
699
- "type": "step",
634
+ "id": "e_node_0_end",
635
+ "source": "node_0",
636
+ "target": "end",
637
+ "type": "default"
638
+ }
639
+ ]
640
+ }
641
+ }
642
+ },
643
+ "workflows/null-byte.ts": {
644
+ "nullByteWorkflow": {
645
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
646
+ "graph": {
647
+ "nodes": [
648
+ {
649
+ "id": "start",
650
+ "type": "workflowStart",
700
651
  "data": {
701
- "label": "add",
702
- "nodeKind": "step",
703
- "stepId": "step//./workflows/inline-execution//add"
704
- },
705
- "metadata": {
706
- "parallelGroupId": "parallel_2",
707
- "parallelMethod": "all"
652
+ "label": "Start: nullByteWorkflow",
653
+ "nodeKind": "workflow_start"
708
654
  }
709
655
  },
710
656
  {
711
- "id": "node_11",
657
+ "id": "node_0",
712
658
  "type": "step",
713
659
  "data": {
714
- "label": "add",
660
+ "label": "nullByteStep",
715
661
  "nodeKind": "step",
716
- "stepId": "step//./workflows/inline-execution//add"
717
- },
718
- "metadata": {
719
- "parallelGroupId": "parallel_2",
720
- "parallelMethod": "all"
662
+ "stepId": "step//./workflows/null-byte//nullByteStep"
721
663
  }
722
664
  },
723
665
  {
724
- "id": "node_12",
725
- "type": "step",
666
+ "id": "end",
667
+ "type": "workflowEnd",
726
668
  "data": {
727
- "label": "add",
728
- "nodeKind": "step",
729
- "stepId": "step//./workflows/inline-execution//add"
730
- },
731
- "metadata": {
732
- "parallelGroupId": "parallel_2",
733
- "parallelMethod": "all"
669
+ "label": "Return",
670
+ "nodeKind": "workflow_end"
734
671
  }
672
+ }
673
+ ],
674
+ "edges": [
675
+ {
676
+ "id": "e_start_node_0",
677
+ "source": "start",
678
+ "target": "node_0",
679
+ "type": "default"
735
680
  },
736
681
  {
737
- "id": "node_13",
738
- "type": "step",
682
+ "id": "e_node_0_end",
683
+ "source": "node_0",
684
+ "target": "end",
685
+ "type": "default"
686
+ }
687
+ ]
688
+ }
689
+ }
690
+ },
691
+ "workflows/retriable-and-fatal.ts": {
692
+ "retryableAndFatalErrorWorkflow": {
693
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
694
+ "graph": {
695
+ "nodes": [
696
+ {
697
+ "id": "start",
698
+ "type": "workflowStart",
739
699
  "data": {
740
- "label": "add",
741
- "nodeKind": "step",
742
- "stepId": "step//./workflows/inline-execution//add"
743
- },
744
- "metadata": {
745
- "parallelGroupId": "parallel_2",
746
- "parallelMethod": "all"
700
+ "label": "Start: retryableAndFatalErrorWorkflow",
701
+ "nodeKind": "workflow_start"
747
702
  }
748
703
  },
749
704
  {
750
- "id": "node_14",
705
+ "id": "node_0",
751
706
  "type": "step",
752
707
  "data": {
753
- "label": "add",
708
+ "label": "stepThatThrowsRetryableError",
754
709
  "nodeKind": "step",
755
- "stepId": "step//./workflows/inline-execution//add"
756
- },
757
- "metadata": {
758
- "parallelGroupId": "parallel_2",
759
- "parallelMethod": "all"
710
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
760
711
  }
761
712
  },
762
713
  {
@@ -773,20 +724,696 @@
773
724
  "id": "e_start_node_0",
774
725
  "source": "start",
775
726
  "target": "node_0",
776
- "type": "parallel"
777
- },
778
- {
779
- "id": "e_start_node_1",
780
- "source": "start",
781
- "target": "node_1",
782
- "type": "parallel"
727
+ "type": "default"
783
728
  },
784
729
  {
785
- "id": "e_start_node_2",
786
- "source": "start",
787
- "target": "node_2",
788
- "type": "parallel"
789
- },
730
+ "id": "e_node_0_end",
731
+ "source": "node_0",
732
+ "target": "end",
733
+ "type": "default"
734
+ }
735
+ ]
736
+ }
737
+ }
738
+ },
739
+ "workflows/addition.ts": {
740
+ "addTenWorkflow": {
741
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
742
+ "graph": {
743
+ "nodes": [
744
+ {
745
+ "id": "start",
746
+ "type": "workflowStart",
747
+ "data": {
748
+ "label": "Start: addTenWorkflow",
749
+ "nodeKind": "workflow_start"
750
+ }
751
+ },
752
+ {
753
+ "id": "node_0",
754
+ "type": "step",
755
+ "data": {
756
+ "label": "add",
757
+ "nodeKind": "step",
758
+ "stepId": "step//./workflows/addition//add"
759
+ }
760
+ },
761
+ {
762
+ "id": "node_1",
763
+ "type": "step",
764
+ "data": {
765
+ "label": "add",
766
+ "nodeKind": "step",
767
+ "stepId": "step//./workflows/addition//add"
768
+ }
769
+ },
770
+ {
771
+ "id": "node_2",
772
+ "type": "step",
773
+ "data": {
774
+ "label": "add",
775
+ "nodeKind": "step",
776
+ "stepId": "step//./workflows/addition//add"
777
+ }
778
+ },
779
+ {
780
+ "id": "end",
781
+ "type": "workflowEnd",
782
+ "data": {
783
+ "label": "Return",
784
+ "nodeKind": "workflow_end"
785
+ }
786
+ }
787
+ ],
788
+ "edges": [
789
+ {
790
+ "id": "e_start_node_0",
791
+ "source": "start",
792
+ "target": "node_0",
793
+ "type": "default"
794
+ },
795
+ {
796
+ "id": "e_node_0_node_1",
797
+ "source": "node_0",
798
+ "target": "node_1",
799
+ "type": "default"
800
+ },
801
+ {
802
+ "id": "e_node_1_node_2",
803
+ "source": "node_1",
804
+ "target": "node_2",
805
+ "type": "default"
806
+ },
807
+ {
808
+ "id": "e_node_2_end",
809
+ "source": "node_2",
810
+ "target": "end",
811
+ "type": "default"
812
+ }
813
+ ]
814
+ }
815
+ },
816
+ "addition": {
817
+ "workflowId": "workflow//./workflows/addition//addition",
818
+ "graph": {
819
+ "nodes": [
820
+ {
821
+ "id": "start",
822
+ "type": "workflowStart",
823
+ "data": {
824
+ "label": "Start: addition",
825
+ "nodeKind": "workflow_start"
826
+ }
827
+ },
828
+ {
829
+ "id": "node_0",
830
+ "type": "step",
831
+ "data": {
832
+ "label": "add",
833
+ "nodeKind": "step",
834
+ "stepId": "step//./workflows/addition//add"
835
+ }
836
+ },
837
+ {
838
+ "id": "end",
839
+ "type": "workflowEnd",
840
+ "data": {
841
+ "label": "Return",
842
+ "nodeKind": "workflow_end"
843
+ }
844
+ }
845
+ ],
846
+ "edges": [
847
+ {
848
+ "id": "e_start_node_0",
849
+ "source": "start",
850
+ "target": "node_0",
851
+ "type": "default"
852
+ },
853
+ {
854
+ "id": "e_node_0_end",
855
+ "source": "node_0",
856
+ "target": "end",
857
+ "type": "default"
858
+ }
859
+ ]
860
+ }
861
+ }
862
+ },
863
+ "workflows/inline-execution.ts": {
864
+ "hookWorkflow": {
865
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
866
+ "graph": {
867
+ "nodes": [
868
+ {
869
+ "id": "start",
870
+ "type": "workflowStart",
871
+ "data": {
872
+ "label": "Start: hookWorkflow",
873
+ "nodeKind": "workflow_start"
874
+ }
875
+ },
876
+ {
877
+ "id": "end",
878
+ "type": "workflowEnd",
879
+ "data": {
880
+ "label": "Return",
881
+ "nodeKind": "workflow_end"
882
+ }
883
+ }
884
+ ],
885
+ "edges": [
886
+ {
887
+ "id": "e_start_end",
888
+ "source": "start",
889
+ "target": "end",
890
+ "type": "default"
891
+ }
892
+ ]
893
+ }
894
+ },
895
+ "parallelStepsWorkflow": {
896
+ "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
897
+ "graph": {
898
+ "nodes": [
899
+ {
900
+ "id": "start",
901
+ "type": "workflowStart",
902
+ "data": {
903
+ "label": "Start: parallelStepsWorkflow",
904
+ "nodeKind": "workflow_start"
905
+ }
906
+ },
907
+ {
908
+ "id": "node_0",
909
+ "type": "step",
910
+ "data": {
911
+ "label": "add",
912
+ "nodeKind": "step",
913
+ "stepId": "step//./workflows/inline-execution//add"
914
+ },
915
+ "metadata": {
916
+ "parallelGroupId": "parallel_0",
917
+ "parallelMethod": "all"
918
+ }
919
+ },
920
+ {
921
+ "id": "node_1",
922
+ "type": "step",
923
+ "data": {
924
+ "label": "add",
925
+ "nodeKind": "step",
926
+ "stepId": "step//./workflows/inline-execution//add"
927
+ },
928
+ "metadata": {
929
+ "parallelGroupId": "parallel_0",
930
+ "parallelMethod": "all"
931
+ }
932
+ },
933
+ {
934
+ "id": "end",
935
+ "type": "workflowEnd",
936
+ "data": {
937
+ "label": "Return",
938
+ "nodeKind": "workflow_end"
939
+ }
940
+ }
941
+ ],
942
+ "edges": [
943
+ {
944
+ "id": "e_start_node_0",
945
+ "source": "start",
946
+ "target": "node_0",
947
+ "type": "parallel"
948
+ },
949
+ {
950
+ "id": "e_start_node_1",
951
+ "source": "start",
952
+ "target": "node_1",
953
+ "type": "parallel"
954
+ },
955
+ {
956
+ "id": "e_node_0_end",
957
+ "source": "node_0",
958
+ "target": "end",
959
+ "type": "default"
960
+ },
961
+ {
962
+ "id": "e_node_1_end",
963
+ "source": "node_1",
964
+ "target": "end",
965
+ "type": "default"
966
+ }
967
+ ]
968
+ }
969
+ },
970
+ "sequentialStepsWithStreamWorkflow": {
971
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
972
+ "graph": {
973
+ "nodes": [
974
+ {
975
+ "id": "start",
976
+ "type": "workflowStart",
977
+ "data": {
978
+ "label": "Start: sequentialStepsWithStreamWorkflow",
979
+ "nodeKind": "workflow_start"
980
+ }
981
+ },
982
+ {
983
+ "id": "node_0",
984
+ "type": "step",
985
+ "data": {
986
+ "label": "writeToStream",
987
+ "nodeKind": "step",
988
+ "stepId": "step//./workflows/inline-execution//writeToStream"
989
+ }
990
+ },
991
+ {
992
+ "id": "node_1",
993
+ "type": "step",
994
+ "data": {
995
+ "label": "writeToStream",
996
+ "nodeKind": "step",
997
+ "stepId": "step//./workflows/inline-execution//writeToStream"
998
+ }
999
+ },
1000
+ {
1001
+ "id": "node_2",
1002
+ "type": "step",
1003
+ "data": {
1004
+ "label": "closeOutputStream",
1005
+ "nodeKind": "step",
1006
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
1007
+ }
1008
+ },
1009
+ {
1010
+ "id": "end",
1011
+ "type": "workflowEnd",
1012
+ "data": {
1013
+ "label": "Return",
1014
+ "nodeKind": "workflow_end"
1015
+ }
1016
+ }
1017
+ ],
1018
+ "edges": [
1019
+ {
1020
+ "id": "e_start_node_0",
1021
+ "source": "start",
1022
+ "target": "node_0",
1023
+ "type": "default"
1024
+ },
1025
+ {
1026
+ "id": "e_node_0_node_1",
1027
+ "source": "node_0",
1028
+ "target": "node_1",
1029
+ "type": "default"
1030
+ },
1031
+ {
1032
+ "id": "e_node_1_node_2",
1033
+ "source": "node_1",
1034
+ "target": "node_2",
1035
+ "type": "default"
1036
+ },
1037
+ {
1038
+ "id": "e_node_2_end",
1039
+ "source": "node_2",
1040
+ "target": "end",
1041
+ "type": "default"
1042
+ }
1043
+ ]
1044
+ }
1045
+ },
1046
+ "sequentialStepsWorkflow": {
1047
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
1048
+ "graph": {
1049
+ "nodes": [
1050
+ {
1051
+ "id": "start",
1052
+ "type": "workflowStart",
1053
+ "data": {
1054
+ "label": "Start: sequentialStepsWorkflow",
1055
+ "nodeKind": "workflow_start"
1056
+ }
1057
+ },
1058
+ {
1059
+ "id": "node_0",
1060
+ "type": "step",
1061
+ "data": {
1062
+ "label": "add",
1063
+ "nodeKind": "step",
1064
+ "stepId": "step//./workflows/inline-execution//add"
1065
+ }
1066
+ },
1067
+ {
1068
+ "id": "node_1",
1069
+ "type": "step",
1070
+ "data": {
1071
+ "label": "add",
1072
+ "nodeKind": "step",
1073
+ "stepId": "step//./workflows/inline-execution//add"
1074
+ }
1075
+ },
1076
+ {
1077
+ "id": "node_2",
1078
+ "type": "step",
1079
+ "data": {
1080
+ "label": "add",
1081
+ "nodeKind": "step",
1082
+ "stepId": "step//./workflows/inline-execution//add"
1083
+ }
1084
+ },
1085
+ {
1086
+ "id": "end",
1087
+ "type": "workflowEnd",
1088
+ "data": {
1089
+ "label": "Return",
1090
+ "nodeKind": "workflow_end"
1091
+ }
1092
+ }
1093
+ ],
1094
+ "edges": [
1095
+ {
1096
+ "id": "e_start_node_0",
1097
+ "source": "start",
1098
+ "target": "node_0",
1099
+ "type": "default"
1100
+ },
1101
+ {
1102
+ "id": "e_node_0_node_1",
1103
+ "source": "node_0",
1104
+ "target": "node_1",
1105
+ "type": "default"
1106
+ },
1107
+ {
1108
+ "id": "e_node_1_node_2",
1109
+ "source": "node_1",
1110
+ "target": "node_2",
1111
+ "type": "default"
1112
+ },
1113
+ {
1114
+ "id": "e_node_2_end",
1115
+ "source": "node_2",
1116
+ "target": "end",
1117
+ "type": "default"
1118
+ }
1119
+ ]
1120
+ }
1121
+ },
1122
+ "sleepWorkflow": {
1123
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
1124
+ "graph": {
1125
+ "nodes": [
1126
+ {
1127
+ "id": "start",
1128
+ "type": "workflowStart",
1129
+ "data": {
1130
+ "label": "Start: sleepWorkflow",
1131
+ "nodeKind": "workflow_start"
1132
+ }
1133
+ },
1134
+ {
1135
+ "id": "node_0",
1136
+ "type": "primitive",
1137
+ "data": {
1138
+ "label": "sleep",
1139
+ "nodeKind": "primitive"
1140
+ }
1141
+ },
1142
+ {
1143
+ "id": "node_1",
1144
+ "type": "step",
1145
+ "data": {
1146
+ "label": "add",
1147
+ "nodeKind": "step",
1148
+ "stepId": "step//./workflows/inline-execution//add"
1149
+ }
1150
+ },
1151
+ {
1152
+ "id": "end",
1153
+ "type": "workflowEnd",
1154
+ "data": {
1155
+ "label": "Return",
1156
+ "nodeKind": "workflow_end"
1157
+ }
1158
+ }
1159
+ ],
1160
+ "edges": [
1161
+ {
1162
+ "id": "e_start_node_0",
1163
+ "source": "start",
1164
+ "target": "node_0",
1165
+ "type": "default"
1166
+ },
1167
+ {
1168
+ "id": "e_node_0_node_1",
1169
+ "source": "node_0",
1170
+ "target": "node_1",
1171
+ "type": "default"
1172
+ },
1173
+ {
1174
+ "id": "e_node_1_end",
1175
+ "source": "node_1",
1176
+ "target": "end",
1177
+ "type": "default"
1178
+ }
1179
+ ]
1180
+ }
1181
+ },
1182
+ "threeBatchesOfFiveWorkflow": {
1183
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
1184
+ "graph": {
1185
+ "nodes": [
1186
+ {
1187
+ "id": "start",
1188
+ "type": "workflowStart",
1189
+ "data": {
1190
+ "label": "Start: threeBatchesOfFiveWorkflow",
1191
+ "nodeKind": "workflow_start"
1192
+ }
1193
+ },
1194
+ {
1195
+ "id": "node_0",
1196
+ "type": "step",
1197
+ "data": {
1198
+ "label": "add",
1199
+ "nodeKind": "step",
1200
+ "stepId": "step//./workflows/inline-execution//add"
1201
+ },
1202
+ "metadata": {
1203
+ "parallelGroupId": "parallel_0",
1204
+ "parallelMethod": "all"
1205
+ }
1206
+ },
1207
+ {
1208
+ "id": "node_1",
1209
+ "type": "step",
1210
+ "data": {
1211
+ "label": "add",
1212
+ "nodeKind": "step",
1213
+ "stepId": "step//./workflows/inline-execution//add"
1214
+ },
1215
+ "metadata": {
1216
+ "parallelGroupId": "parallel_0",
1217
+ "parallelMethod": "all"
1218
+ }
1219
+ },
1220
+ {
1221
+ "id": "node_2",
1222
+ "type": "step",
1223
+ "data": {
1224
+ "label": "add",
1225
+ "nodeKind": "step",
1226
+ "stepId": "step//./workflows/inline-execution//add"
1227
+ },
1228
+ "metadata": {
1229
+ "parallelGroupId": "parallel_0",
1230
+ "parallelMethod": "all"
1231
+ }
1232
+ },
1233
+ {
1234
+ "id": "node_3",
1235
+ "type": "step",
1236
+ "data": {
1237
+ "label": "add",
1238
+ "nodeKind": "step",
1239
+ "stepId": "step//./workflows/inline-execution//add"
1240
+ },
1241
+ "metadata": {
1242
+ "parallelGroupId": "parallel_0",
1243
+ "parallelMethod": "all"
1244
+ }
1245
+ },
1246
+ {
1247
+ "id": "node_4",
1248
+ "type": "step",
1249
+ "data": {
1250
+ "label": "add",
1251
+ "nodeKind": "step",
1252
+ "stepId": "step//./workflows/inline-execution//add"
1253
+ },
1254
+ "metadata": {
1255
+ "parallelGroupId": "parallel_0",
1256
+ "parallelMethod": "all"
1257
+ }
1258
+ },
1259
+ {
1260
+ "id": "node_5",
1261
+ "type": "step",
1262
+ "data": {
1263
+ "label": "add",
1264
+ "nodeKind": "step",
1265
+ "stepId": "step//./workflows/inline-execution//add"
1266
+ },
1267
+ "metadata": {
1268
+ "parallelGroupId": "parallel_1",
1269
+ "parallelMethod": "all"
1270
+ }
1271
+ },
1272
+ {
1273
+ "id": "node_6",
1274
+ "type": "step",
1275
+ "data": {
1276
+ "label": "add",
1277
+ "nodeKind": "step",
1278
+ "stepId": "step//./workflows/inline-execution//add"
1279
+ },
1280
+ "metadata": {
1281
+ "parallelGroupId": "parallel_1",
1282
+ "parallelMethod": "all"
1283
+ }
1284
+ },
1285
+ {
1286
+ "id": "node_7",
1287
+ "type": "step",
1288
+ "data": {
1289
+ "label": "add",
1290
+ "nodeKind": "step",
1291
+ "stepId": "step//./workflows/inline-execution//add"
1292
+ },
1293
+ "metadata": {
1294
+ "parallelGroupId": "parallel_1",
1295
+ "parallelMethod": "all"
1296
+ }
1297
+ },
1298
+ {
1299
+ "id": "node_8",
1300
+ "type": "step",
1301
+ "data": {
1302
+ "label": "add",
1303
+ "nodeKind": "step",
1304
+ "stepId": "step//./workflows/inline-execution//add"
1305
+ },
1306
+ "metadata": {
1307
+ "parallelGroupId": "parallel_1",
1308
+ "parallelMethod": "all"
1309
+ }
1310
+ },
1311
+ {
1312
+ "id": "node_9",
1313
+ "type": "step",
1314
+ "data": {
1315
+ "label": "add",
1316
+ "nodeKind": "step",
1317
+ "stepId": "step//./workflows/inline-execution//add"
1318
+ },
1319
+ "metadata": {
1320
+ "parallelGroupId": "parallel_1",
1321
+ "parallelMethod": "all"
1322
+ }
1323
+ },
1324
+ {
1325
+ "id": "node_10",
1326
+ "type": "step",
1327
+ "data": {
1328
+ "label": "add",
1329
+ "nodeKind": "step",
1330
+ "stepId": "step//./workflows/inline-execution//add"
1331
+ },
1332
+ "metadata": {
1333
+ "parallelGroupId": "parallel_2",
1334
+ "parallelMethod": "all"
1335
+ }
1336
+ },
1337
+ {
1338
+ "id": "node_11",
1339
+ "type": "step",
1340
+ "data": {
1341
+ "label": "add",
1342
+ "nodeKind": "step",
1343
+ "stepId": "step//./workflows/inline-execution//add"
1344
+ },
1345
+ "metadata": {
1346
+ "parallelGroupId": "parallel_2",
1347
+ "parallelMethod": "all"
1348
+ }
1349
+ },
1350
+ {
1351
+ "id": "node_12",
1352
+ "type": "step",
1353
+ "data": {
1354
+ "label": "add",
1355
+ "nodeKind": "step",
1356
+ "stepId": "step//./workflows/inline-execution//add"
1357
+ },
1358
+ "metadata": {
1359
+ "parallelGroupId": "parallel_2",
1360
+ "parallelMethod": "all"
1361
+ }
1362
+ },
1363
+ {
1364
+ "id": "node_13",
1365
+ "type": "step",
1366
+ "data": {
1367
+ "label": "add",
1368
+ "nodeKind": "step",
1369
+ "stepId": "step//./workflows/inline-execution//add"
1370
+ },
1371
+ "metadata": {
1372
+ "parallelGroupId": "parallel_2",
1373
+ "parallelMethod": "all"
1374
+ }
1375
+ },
1376
+ {
1377
+ "id": "node_14",
1378
+ "type": "step",
1379
+ "data": {
1380
+ "label": "add",
1381
+ "nodeKind": "step",
1382
+ "stepId": "step//./workflows/inline-execution//add"
1383
+ },
1384
+ "metadata": {
1385
+ "parallelGroupId": "parallel_2",
1386
+ "parallelMethod": "all"
1387
+ }
1388
+ },
1389
+ {
1390
+ "id": "end",
1391
+ "type": "workflowEnd",
1392
+ "data": {
1393
+ "label": "Return",
1394
+ "nodeKind": "workflow_end"
1395
+ }
1396
+ }
1397
+ ],
1398
+ "edges": [
1399
+ {
1400
+ "id": "e_start_node_0",
1401
+ "source": "start",
1402
+ "target": "node_0",
1403
+ "type": "parallel"
1404
+ },
1405
+ {
1406
+ "id": "e_start_node_1",
1407
+ "source": "start",
1408
+ "target": "node_1",
1409
+ "type": "parallel"
1410
+ },
1411
+ {
1412
+ "id": "e_start_node_2",
1413
+ "source": "start",
1414
+ "target": "node_2",
1415
+ "type": "parallel"
1416
+ },
790
1417
  {
791
1418
  "id": "e_start_node_3",
792
1419
  "source": "start",
@@ -999,416 +1626,133 @@
999
1626
  },
1000
1627
  {
1001
1628
  "id": "e_node_6_node_13",
1002
- "source": "node_6",
1003
- "target": "node_13",
1004
- "type": "parallel"
1005
- },
1006
- {
1007
- "id": "e_node_6_node_14",
1008
- "source": "node_6",
1009
- "target": "node_14",
1010
- "type": "parallel"
1011
- },
1012
- {
1013
- "id": "e_node_7_node_10",
1014
- "source": "node_7",
1015
- "target": "node_10",
1016
- "type": "parallel"
1017
- },
1018
- {
1019
- "id": "e_node_7_node_11",
1020
- "source": "node_7",
1021
- "target": "node_11",
1022
- "type": "parallel"
1023
- },
1024
- {
1025
- "id": "e_node_7_node_12",
1026
- "source": "node_7",
1027
- "target": "node_12",
1028
- "type": "parallel"
1029
- },
1030
- {
1031
- "id": "e_node_7_node_13",
1032
- "source": "node_7",
1033
- "target": "node_13",
1034
- "type": "parallel"
1035
- },
1036
- {
1037
- "id": "e_node_7_node_14",
1038
- "source": "node_7",
1039
- "target": "node_14",
1040
- "type": "parallel"
1041
- },
1042
- {
1043
- "id": "e_node_8_node_10",
1044
- "source": "node_8",
1045
- "target": "node_10",
1046
- "type": "parallel"
1047
- },
1048
- {
1049
- "id": "e_node_8_node_11",
1050
- "source": "node_8",
1051
- "target": "node_11",
1052
- "type": "parallel"
1053
- },
1054
- {
1055
- "id": "e_node_8_node_12",
1056
- "source": "node_8",
1057
- "target": "node_12",
1058
- "type": "parallel"
1059
- },
1060
- {
1061
- "id": "e_node_8_node_13",
1062
- "source": "node_8",
1063
- "target": "node_13",
1064
- "type": "parallel"
1065
- },
1066
- {
1067
- "id": "e_node_8_node_14",
1068
- "source": "node_8",
1069
- "target": "node_14",
1070
- "type": "parallel"
1071
- },
1072
- {
1073
- "id": "e_node_9_node_10",
1074
- "source": "node_9",
1075
- "target": "node_10",
1076
- "type": "parallel"
1077
- },
1078
- {
1079
- "id": "e_node_9_node_11",
1080
- "source": "node_9",
1081
- "target": "node_11",
1082
- "type": "parallel"
1083
- },
1084
- {
1085
- "id": "e_node_9_node_12",
1086
- "source": "node_9",
1087
- "target": "node_12",
1088
- "type": "parallel"
1089
- },
1090
- {
1091
- "id": "e_node_9_node_13",
1092
- "source": "node_9",
1093
- "target": "node_13",
1094
- "type": "parallel"
1095
- },
1096
- {
1097
- "id": "e_node_9_node_14",
1098
- "source": "node_9",
1099
- "target": "node_14",
1100
- "type": "parallel"
1101
- },
1102
- {
1103
- "id": "e_node_10_end",
1104
- "source": "node_10",
1105
- "target": "end",
1106
- "type": "default"
1107
- },
1108
- {
1109
- "id": "e_node_11_end",
1110
- "source": "node_11",
1111
- "target": "end",
1112
- "type": "default"
1113
- },
1114
- {
1115
- "id": "e_node_12_end",
1116
- "source": "node_12",
1117
- "target": "end",
1118
- "type": "default"
1119
- },
1120
- {
1121
- "id": "e_node_13_end",
1122
- "source": "node_13",
1123
- "target": "end",
1124
- "type": "default"
1125
- },
1126
- {
1127
- "id": "e_node_14_end",
1128
- "source": "node_14",
1129
- "target": "end",
1130
- "type": "default"
1131
- }
1132
- ]
1133
- }
1134
- }
1135
- },
1136
- "workflows/addition.ts": {
1137
- "addTenWorkflow": {
1138
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
1139
- "graph": {
1140
- "nodes": [
1141
- {
1142
- "id": "start",
1143
- "type": "workflowStart",
1144
- "data": {
1145
- "label": "Start: addTenWorkflow",
1146
- "nodeKind": "workflow_start"
1147
- }
1148
- },
1149
- {
1150
- "id": "node_0",
1151
- "type": "step",
1152
- "data": {
1153
- "label": "add",
1154
- "nodeKind": "step",
1155
- "stepId": "step//./workflows/addition//add"
1156
- }
1157
- },
1158
- {
1159
- "id": "node_1",
1160
- "type": "step",
1161
- "data": {
1162
- "label": "add",
1163
- "nodeKind": "step",
1164
- "stepId": "step//./workflows/addition//add"
1165
- }
1166
- },
1167
- {
1168
- "id": "node_2",
1169
- "type": "step",
1170
- "data": {
1171
- "label": "add",
1172
- "nodeKind": "step",
1173
- "stepId": "step//./workflows/addition//add"
1174
- }
1175
- },
1176
- {
1177
- "id": "end",
1178
- "type": "workflowEnd",
1179
- "data": {
1180
- "label": "Return",
1181
- "nodeKind": "workflow_end"
1182
- }
1183
- }
1184
- ],
1185
- "edges": [
1186
- {
1187
- "id": "e_start_node_0",
1188
- "source": "start",
1189
- "target": "node_0",
1190
- "type": "default"
1191
- },
1192
- {
1193
- "id": "e_node_0_node_1",
1194
- "source": "node_0",
1195
- "target": "node_1",
1196
- "type": "default"
1197
- },
1198
- {
1199
- "id": "e_node_1_node_2",
1200
- "source": "node_1",
1201
- "target": "node_2",
1202
- "type": "default"
1629
+ "source": "node_6",
1630
+ "target": "node_13",
1631
+ "type": "parallel"
1203
1632
  },
1204
1633
  {
1205
- "id": "e_node_2_end",
1206
- "source": "node_2",
1207
- "target": "end",
1208
- "type": "default"
1209
- }
1210
- ]
1211
- }
1212
- },
1213
- "addition": {
1214
- "workflowId": "workflow//./workflows/addition//addition",
1215
- "graph": {
1216
- "nodes": [
1634
+ "id": "e_node_6_node_14",
1635
+ "source": "node_6",
1636
+ "target": "node_14",
1637
+ "type": "parallel"
1638
+ },
1217
1639
  {
1218
- "id": "start",
1219
- "type": "workflowStart",
1220
- "data": {
1221
- "label": "Start: addition",
1222
- "nodeKind": "workflow_start"
1223
- }
1640
+ "id": "e_node_7_node_10",
1641
+ "source": "node_7",
1642
+ "target": "node_10",
1643
+ "type": "parallel"
1224
1644
  },
1225
1645
  {
1226
- "id": "node_0",
1227
- "type": "step",
1228
- "data": {
1229
- "label": "add",
1230
- "nodeKind": "step",
1231
- "stepId": "step//./workflows/addition//add"
1232
- }
1646
+ "id": "e_node_7_node_11",
1647
+ "source": "node_7",
1648
+ "target": "node_11",
1649
+ "type": "parallel"
1233
1650
  },
1234
1651
  {
1235
- "id": "end",
1236
- "type": "workflowEnd",
1237
- "data": {
1238
- "label": "Return",
1239
- "nodeKind": "workflow_end"
1240
- }
1241
- }
1242
- ],
1243
- "edges": [
1652
+ "id": "e_node_7_node_12",
1653
+ "source": "node_7",
1654
+ "target": "node_12",
1655
+ "type": "parallel"
1656
+ },
1244
1657
  {
1245
- "id": "e_start_node_0",
1246
- "source": "start",
1247
- "target": "node_0",
1248
- "type": "default"
1658
+ "id": "e_node_7_node_13",
1659
+ "source": "node_7",
1660
+ "target": "node_13",
1661
+ "type": "parallel"
1249
1662
  },
1250
1663
  {
1251
- "id": "e_node_0_end",
1252
- "source": "node_0",
1253
- "target": "end",
1254
- "type": "default"
1255
- }
1256
- ]
1257
- }
1258
- }
1259
- },
1260
- "workflows/noop.ts": {
1261
- "brokenWf": {
1262
- "workflowId": "workflow//./workflows/noop//brokenWf",
1263
- "graph": {
1264
- "nodes": [
1664
+ "id": "e_node_7_node_14",
1665
+ "source": "node_7",
1666
+ "target": "node_14",
1667
+ "type": "parallel"
1668
+ },
1265
1669
  {
1266
- "id": "start",
1267
- "type": "workflowStart",
1268
- "data": {
1269
- "label": "Start: brokenWf",
1270
- "nodeKind": "workflow_start"
1271
- }
1670
+ "id": "e_node_8_node_10",
1671
+ "source": "node_8",
1672
+ "target": "node_10",
1673
+ "type": "parallel"
1272
1674
  },
1273
1675
  {
1274
- "id": "node_0",
1275
- "type": "step",
1276
- "data": {
1277
- "label": "noop",
1278
- "nodeKind": "step",
1279
- "stepId": "step//./workflows/noop//noop"
1280
- }
1676
+ "id": "e_node_8_node_11",
1677
+ "source": "node_8",
1678
+ "target": "node_11",
1679
+ "type": "parallel"
1281
1680
  },
1282
1681
  {
1283
- "id": "node_1",
1284
- "type": "step",
1285
- "data": {
1286
- "label": "noop",
1287
- "nodeKind": "step",
1288
- "stepId": "step//./workflows/noop//noop"
1289
- }
1682
+ "id": "e_node_8_node_12",
1683
+ "source": "node_8",
1684
+ "target": "node_12",
1685
+ "type": "parallel"
1290
1686
  },
1291
1687
  {
1292
- "id": "end",
1293
- "type": "workflowEnd",
1294
- "data": {
1295
- "label": "Return",
1296
- "nodeKind": "workflow_end"
1297
- }
1298
- }
1299
- ],
1300
- "edges": [
1688
+ "id": "e_node_8_node_13",
1689
+ "source": "node_8",
1690
+ "target": "node_13",
1691
+ "type": "parallel"
1692
+ },
1301
1693
  {
1302
- "id": "e_start_node_0",
1303
- "source": "start",
1304
- "target": "node_0",
1305
- "type": "default"
1694
+ "id": "e_node_8_node_14",
1695
+ "source": "node_8",
1696
+ "target": "node_14",
1697
+ "type": "parallel"
1306
1698
  },
1307
1699
  {
1308
- "id": "e_node_0_node_1",
1309
- "source": "node_0",
1310
- "target": "node_1",
1311
- "type": "default"
1700
+ "id": "e_node_9_node_10",
1701
+ "source": "node_9",
1702
+ "target": "node_10",
1703
+ "type": "parallel"
1312
1704
  },
1313
1705
  {
1314
- "id": "e_node_1_end",
1315
- "source": "node_1",
1316
- "target": "end",
1317
- "type": "default"
1318
- }
1319
- ]
1320
- }
1321
- }
1322
- },
1323
- "workflows/null-byte.ts": {
1324
- "nullByteWorkflow": {
1325
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
1326
- "graph": {
1327
- "nodes": [
1706
+ "id": "e_node_9_node_11",
1707
+ "source": "node_9",
1708
+ "target": "node_11",
1709
+ "type": "parallel"
1710
+ },
1328
1711
  {
1329
- "id": "start",
1330
- "type": "workflowStart",
1331
- "data": {
1332
- "label": "Start: nullByteWorkflow",
1333
- "nodeKind": "workflow_start"
1334
- }
1712
+ "id": "e_node_9_node_12",
1713
+ "source": "node_9",
1714
+ "target": "node_12",
1715
+ "type": "parallel"
1335
1716
  },
1336
1717
  {
1337
- "id": "node_0",
1338
- "type": "step",
1339
- "data": {
1340
- "label": "nullByteStep",
1341
- "nodeKind": "step",
1342
- "stepId": "step//./workflows/null-byte//nullByteStep"
1343
- }
1718
+ "id": "e_node_9_node_13",
1719
+ "source": "node_9",
1720
+ "target": "node_13",
1721
+ "type": "parallel"
1344
1722
  },
1345
1723
  {
1346
- "id": "end",
1347
- "type": "workflowEnd",
1348
- "data": {
1349
- "label": "Return",
1350
- "nodeKind": "workflow_end"
1351
- }
1352
- }
1353
- ],
1354
- "edges": [
1724
+ "id": "e_node_9_node_14",
1725
+ "source": "node_9",
1726
+ "target": "node_14",
1727
+ "type": "parallel"
1728
+ },
1355
1729
  {
1356
- "id": "e_start_node_0",
1357
- "source": "start",
1358
- "target": "node_0",
1730
+ "id": "e_node_10_end",
1731
+ "source": "node_10",
1732
+ "target": "end",
1359
1733
  "type": "default"
1360
1734
  },
1361
1735
  {
1362
- "id": "e_node_0_end",
1363
- "source": "node_0",
1736
+ "id": "e_node_11_end",
1737
+ "source": "node_11",
1364
1738
  "target": "end",
1365
1739
  "type": "default"
1366
- }
1367
- ]
1368
- }
1369
- }
1370
- },
1371
- "workflows/retriable-and-fatal.ts": {
1372
- "retryableAndFatalErrorWorkflow": {
1373
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
1374
- "graph": {
1375
- "nodes": [
1376
- {
1377
- "id": "start",
1378
- "type": "workflowStart",
1379
- "data": {
1380
- "label": "Start: retryableAndFatalErrorWorkflow",
1381
- "nodeKind": "workflow_start"
1382
- }
1383
1740
  },
1384
1741
  {
1385
- "id": "node_0",
1386
- "type": "step",
1387
- "data": {
1388
- "label": "stepThatThrowsRetryableError",
1389
- "nodeKind": "step",
1390
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
1391
- }
1742
+ "id": "e_node_12_end",
1743
+ "source": "node_12",
1744
+ "target": "end",
1745
+ "type": "default"
1392
1746
  },
1393
1747
  {
1394
- "id": "end",
1395
- "type": "workflowEnd",
1396
- "data": {
1397
- "label": "Return",
1398
- "nodeKind": "workflow_end"
1399
- }
1400
- }
1401
- ],
1402
- "edges": [
1403
- {
1404
- "id": "e_start_node_0",
1405
- "source": "start",
1406
- "target": "node_0",
1748
+ "id": "e_node_13_end",
1749
+ "source": "node_13",
1750
+ "target": "end",
1407
1751
  "type": "default"
1408
1752
  },
1409
1753
  {
1410
- "id": "e_node_0_end",
1411
- "source": "node_0",
1754
+ "id": "e_node_14_end",
1755
+ "source": "node_14",
1412
1756
  "target": "end",
1413
1757
  "type": "default"
1414
1758
  }
@@ -1420,7 +1764,7 @@
1420
1764
  "classes": {
1421
1765
  "core/dist/runtime/run.js": {
1422
1766
  "Run": {
1423
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.34//Run"
1767
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.36//Run"
1424
1768
  }
1425
1769
  }
1426
1770
  }