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

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