@workflow/world-testing 5.0.0-beta.37 → 5.0.0-beta.39

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