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

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