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

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