@workflow/world-testing 5.0.0-beta.31 → 5.0.0-beta.32

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