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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,43 +6,29 @@
6
6
  "stepId": "step//./workflows/hooks//writeEvent"
7
7
  }
8
8
  },
9
- "workflows/lineage.ts": {
10
- "noop": {
11
- "stepId": "step//./workflows/lineage//noop"
12
- }
13
- },
14
9
  "workflows/signal-cost.ts": {
15
10
  "trivialStep": {
16
11
  "stepId": "step//./workflows/signal-cost//trivialStep"
17
12
  }
18
13
  },
19
- "workflows/null-byte.ts": {
20
- "nullByteStep": {
21
- "stepId": "step//./workflows/null-byte//nullByteStep"
14
+ "workflows/event-limit.ts": {
15
+ "tick": {
16
+ "stepId": "step//./workflows/event-limit//tick"
22
17
  }
23
18
  },
24
- "workflows/retriable-and-fatal.ts": {
25
- "stepThatFails": {
26
- "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
27
- },
28
- "stepThatThrowsRetryableError": {
29
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
19
+ "workflows/noop.ts": {
20
+ "noop": {
21
+ "stepId": "step//./workflows/noop//noop"
30
22
  }
31
23
  },
32
- "workflows/inline-execution.ts": {
33
- "add": {
34
- "stepId": "step//./workflows/inline-execution//add"
35
- },
36
- "closeOutputStream": {
37
- "stepId": "step//./workflows/inline-execution//closeOutputStream"
38
- },
39
- "writeToStream": {
40
- "stepId": "step//./workflows/inline-execution//writeToStream"
24
+ "workflows/null-byte.ts": {
25
+ "nullByteStep": {
26
+ "stepId": "step//./workflows/null-byte//nullByteStep"
41
27
  }
42
28
  },
43
- "workflows/noop.ts": {
29
+ "workflows/lineage.ts": {
44
30
  "noop": {
45
- "stepId": "step//./workflows/noop//noop"
31
+ "stepId": "step//./workflows/lineage//noop"
46
32
  }
47
33
  },
48
34
  "workflow/dist/internal/builtins.js": {
@@ -59,51 +45,70 @@
59
45
  "stepId": "__builtin_set_attributes"
60
46
  }
61
47
  },
48
+ "workflows/addition.ts": {
49
+ "add": {
50
+ "stepId": "step//./workflows/addition//add"
51
+ }
52
+ },
53
+ "workflows/inline-execution.ts": {
54
+ "add": {
55
+ "stepId": "step//./workflows/inline-execution//add"
56
+ },
57
+ "closeOutputStream": {
58
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
59
+ },
60
+ "writeToStream": {
61
+ "stepId": "step//./workflows/inline-execution//writeToStream"
62
+ }
63
+ },
62
64
  "workflow/dist/stdlib.js": {
63
65
  "fetch": {
64
66
  "stepId": "step//./workflow/dist/stdlib//fetch"
65
67
  }
66
68
  },
67
- "workflows/addition.ts": {
68
- "add": {
69
- "stepId": "step//./workflows/addition//add"
69
+ "workflows/retriable-and-fatal.ts": {
70
+ "stepThatFails": {
71
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
72
+ },
73
+ "stepThatThrowsRetryableError": {
74
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
70
75
  }
71
76
  },
72
77
  "core/dist/runtime/start.js": {
73
78
  "start": {
74
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.35//start"
79
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
75
80
  }
76
81
  },
77
82
  "core/dist/runtime/run.js": {
78
83
  "Run#cancel": {
79
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#cancel"
84
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#cancel"
80
85
  },
81
86
  "Run#completedAt": {
82
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#completedAt"
87
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#completedAt"
83
88
  },
84
89
  "Run#createdAt": {
85
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#createdAt"
90
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#createdAt"
86
91
  },
87
92
  "Run#exists": {
88
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#exists"
93
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#exists"
89
94
  },
90
95
  "Run#getReadable": {
91
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#getReadable"
96
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#getReadable"
92
97
  },
93
98
  "Run#returnValue": {
94
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#returnValue"
99
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#returnValue"
95
100
  },
96
101
  "Run#startedAt": {
97
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#startedAt"
102
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#startedAt"
98
103
  },
99
104
  "Run#status": {
100
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#status"
105
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#status"
101
106
  },
102
107
  "Run#wakeUp": {
103
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#wakeUp"
108
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#wakeUp"
104
109
  },
105
110
  "Run#workflowName": {
106
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.35//Run#workflowName"
111
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#workflowName"
107
112
  }
108
113
  }
109
114
  },
@@ -181,16 +186,130 @@
181
186
  }
182
187
  }
183
188
  },
184
- "workflows/lineage.ts": {
185
- "bodyStartsChild": {
186
- "workflowId": "workflow//./workflows/lineage//bodyStartsChild",
189
+ "workflows/signal-cost.ts": {
190
+ "signalCostWorkflow": {
191
+ "workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
187
192
  "graph": {
188
193
  "nodes": [
189
194
  {
190
195
  "id": "start",
191
196
  "type": "workflowStart",
192
197
  "data": {
193
- "label": "Start: bodyStartsChild",
198
+ "label": "Start: signalCostWorkflow",
199
+ "nodeKind": "workflow_start"
200
+ }
201
+ },
202
+ {
203
+ "id": "node_0",
204
+ "type": "step",
205
+ "data": {
206
+ "label": "trivialStep",
207
+ "nodeKind": "step",
208
+ "stepId": "step//./workflows/signal-cost//trivialStep"
209
+ },
210
+ "metadata": {
211
+ "loopId": "loop_0"
212
+ }
213
+ },
214
+ {
215
+ "id": "end",
216
+ "type": "workflowEnd",
217
+ "data": {
218
+ "label": "Return",
219
+ "nodeKind": "workflow_end"
220
+ }
221
+ }
222
+ ],
223
+ "edges": [
224
+ {
225
+ "id": "e_node_0_back_node_0",
226
+ "source": "node_0",
227
+ "target": "node_0",
228
+ "type": "loop"
229
+ },
230
+ {
231
+ "id": "e_start_node_0",
232
+ "source": "start",
233
+ "target": "node_0",
234
+ "type": "default"
235
+ },
236
+ {
237
+ "id": "e_node_0_end",
238
+ "source": "node_0",
239
+ "target": "end",
240
+ "type": "default"
241
+ }
242
+ ]
243
+ }
244
+ }
245
+ },
246
+ "workflows/event-limit.ts": {
247
+ "runawayWorkflow": {
248
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
249
+ "graph": {
250
+ "nodes": [
251
+ {
252
+ "id": "start",
253
+ "type": "workflowStart",
254
+ "data": {
255
+ "label": "Start: runawayWorkflow",
256
+ "nodeKind": "workflow_start"
257
+ }
258
+ },
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
+ {
272
+ "id": "end",
273
+ "type": "workflowEnd",
274
+ "data": {
275
+ "label": "Return",
276
+ "nodeKind": "workflow_end"
277
+ }
278
+ }
279
+ ],
280
+ "edges": [
281
+ {
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",
289
+ "source": "start",
290
+ "target": "node_0",
291
+ "type": "default"
292
+ },
293
+ {
294
+ "id": "e_node_0_end",
295
+ "source": "node_0",
296
+ "target": "end",
297
+ "type": "default"
298
+ }
299
+ ]
300
+ }
301
+ }
302
+ },
303
+ "workflows/noop.ts": {
304
+ "brokenWf": {
305
+ "workflowId": "workflow//./workflows/noop//brokenWf",
306
+ "graph": {
307
+ "nodes": [
308
+ {
309
+ "id": "start",
310
+ "type": "workflowStart",
311
+ "data": {
312
+ "label": "Start: brokenWf",
194
313
  "nodeKind": "workflow_start"
195
314
  }
196
315
  },
@@ -200,16 +319,16 @@
200
319
  "data": {
201
320
  "label": "noop",
202
321
  "nodeKind": "step",
203
- "stepId": "step//./workflows/lineage//noop"
322
+ "stepId": "step//./workflows/noop//noop"
204
323
  }
205
324
  },
206
325
  {
207
326
  "id": "node_1",
208
327
  "type": "step",
209
328
  "data": {
210
- "label": "start",
329
+ "label": "noop",
211
330
  "nodeKind": "step",
212
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.35//start"
331
+ "stepId": "step//./workflows/noop//noop"
213
332
  }
214
333
  },
215
334
  {
@@ -242,16 +361,18 @@
242
361
  }
243
362
  ]
244
363
  }
245
- },
246
- "chainLeaf": {
247
- "workflowId": "workflow//./workflows/lineage//chainLeaf",
364
+ }
365
+ },
366
+ "workflows/null-byte.ts": {
367
+ "nullByteWorkflow": {
368
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
248
369
  "graph": {
249
370
  "nodes": [
250
371
  {
251
372
  "id": "start",
252
373
  "type": "workflowStart",
253
374
  "data": {
254
- "label": "Start: chainLeaf",
375
+ "label": "Start: nullByteWorkflow",
255
376
  "nodeKind": "workflow_start"
256
377
  }
257
378
  },
@@ -259,9 +380,9 @@
259
380
  "id": "node_0",
260
381
  "type": "step",
261
382
  "data": {
262
- "label": "noop",
383
+ "label": "nullByteStep",
263
384
  "nodeKind": "step",
264
- "stepId": "step//./workflows/lineage//noop"
385
+ "stepId": "step//./workflows/null-byte//nullByteStep"
265
386
  }
266
387
  },
267
388
  {
@@ -288,16 +409,18 @@
288
409
  }
289
410
  ]
290
411
  }
291
- },
292
- "chainMiddle": {
293
- "workflowId": "workflow//./workflows/lineage//chainMiddle",
412
+ }
413
+ },
414
+ "workflows/lineage.ts": {
415
+ "bodyStartsChild": {
416
+ "workflowId": "workflow//./workflows/lineage//bodyStartsChild",
294
417
  "graph": {
295
418
  "nodes": [
296
419
  {
297
420
  "id": "start",
298
421
  "type": "workflowStart",
299
422
  "data": {
300
- "label": "Start: chainMiddle",
423
+ "label": "Start: bodyStartsChild",
301
424
  "nodeKind": "workflow_start"
302
425
  }
303
426
  },
@@ -316,7 +439,7 @@
316
439
  "data": {
317
440
  "label": "start",
318
441
  "nodeKind": "step",
319
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.35//start"
442
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
320
443
  }
321
444
  },
322
445
  {
@@ -350,15 +473,61 @@
350
473
  ]
351
474
  }
352
475
  },
353
- "chainRoot": {
354
- "workflowId": "workflow//./workflows/lineage//chainRoot",
476
+ "chainLeaf": {
477
+ "workflowId": "workflow//./workflows/lineage//chainLeaf",
355
478
  "graph": {
356
479
  "nodes": [
357
480
  {
358
481
  "id": "start",
359
482
  "type": "workflowStart",
360
483
  "data": {
361
- "label": "Start: chainRoot",
484
+ "label": "Start: chainLeaf",
485
+ "nodeKind": "workflow_start"
486
+ }
487
+ },
488
+ {
489
+ "id": "node_0",
490
+ "type": "step",
491
+ "data": {
492
+ "label": "noop",
493
+ "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",
362
531
  "nodeKind": "workflow_start"
363
532
  }
364
533
  },
@@ -377,7 +546,7 @@
377
546
  "data": {
378
547
  "label": "start",
379
548
  "nodeKind": "step",
380
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.35//start"
549
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
381
550
  }
382
551
  },
383
552
  {
@@ -411,15 +580,15 @@
411
580
  ]
412
581
  }
413
582
  },
414
- "spawnedChild": {
415
- "workflowId": "workflow//./workflows/lineage//spawnedChild",
583
+ "chainRoot": {
584
+ "workflowId": "workflow//./workflows/lineage//chainRoot",
416
585
  "graph": {
417
586
  "nodes": [
418
587
  {
419
588
  "id": "start",
420
589
  "type": "workflowStart",
421
590
  "data": {
422
- "label": "Start: spawnedChild",
591
+ "label": "Start: chainRoot",
423
592
  "nodeKind": "workflow_start"
424
593
  }
425
594
  },
@@ -432,6 +601,15 @@
432
601
  "stepId": "step//./workflows/lineage//noop"
433
602
  }
434
603
  },
604
+ {
605
+ "id": "node_1",
606
+ "type": "step",
607
+ "data": {
608
+ "label": "start",
609
+ "nodeKind": "step",
610
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
611
+ }
612
+ },
435
613
  {
436
614
  "id": "end",
437
615
  "type": "workflowEnd",
@@ -449,25 +627,29 @@
449
627
  "type": "default"
450
628
  },
451
629
  {
452
- "id": "e_node_0_end",
630
+ "id": "e_node_0_node_1",
453
631
  "source": "node_0",
632
+ "target": "node_1",
633
+ "type": "default"
634
+ },
635
+ {
636
+ "id": "e_node_1_end",
637
+ "source": "node_1",
454
638
  "target": "end",
455
639
  "type": "default"
456
640
  }
457
641
  ]
458
642
  }
459
- }
460
- },
461
- "workflows/signal-cost.ts": {
462
- "signalCostWorkflow": {
463
- "workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
643
+ },
644
+ "spawnedChild": {
645
+ "workflowId": "workflow//./workflows/lineage//spawnedChild",
464
646
  "graph": {
465
647
  "nodes": [
466
648
  {
467
649
  "id": "start",
468
650
  "type": "workflowStart",
469
651
  "data": {
470
- "label": "Start: signalCostWorkflow",
652
+ "label": "Start: spawnedChild",
471
653
  "nodeKind": "workflow_start"
472
654
  }
473
655
  },
@@ -475,12 +657,9 @@
475
657
  "id": "node_0",
476
658
  "type": "step",
477
659
  "data": {
478
- "label": "trivialStep",
660
+ "label": "noop",
479
661
  "nodeKind": "step",
480
- "stepId": "step//./workflows/signal-cost//trivialStep"
481
- },
482
- "metadata": {
483
- "loopId": "loop_0"
662
+ "stepId": "step//./workflows/lineage//noop"
484
663
  }
485
664
  },
486
665
  {
@@ -493,12 +672,6 @@
493
672
  }
494
673
  ],
495
674
  "edges": [
496
- {
497
- "id": "e_node_0_back_node_0",
498
- "source": "node_0",
499
- "target": "node_0",
500
- "type": "loop"
501
- },
502
675
  {
503
676
  "id": "e_start_node_0",
504
677
  "source": "start",
@@ -515,16 +688,16 @@
515
688
  }
516
689
  }
517
690
  },
518
- "workflows/null-byte.ts": {
519
- "nullByteWorkflow": {
520
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
691
+ "workflows/addition.ts": {
692
+ "addTenWorkflow": {
693
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
521
694
  "graph": {
522
695
  "nodes": [
523
696
  {
524
697
  "id": "start",
525
698
  "type": "workflowStart",
526
699
  "data": {
527
- "label": "Start: nullByteWorkflow",
700
+ "label": "Start: addTenWorkflow",
528
701
  "nodeKind": "workflow_start"
529
702
  }
530
703
  },
@@ -532,9 +705,27 @@
532
705
  "id": "node_0",
533
706
  "type": "step",
534
707
  "data": {
535
- "label": "nullByteStep",
708
+ "label": "add",
536
709
  "nodeKind": "step",
537
- "stepId": "step//./workflows/null-byte//nullByteStep"
710
+ "stepId": "step//./workflows/addition//add"
711
+ }
712
+ },
713
+ {
714
+ "id": "node_1",
715
+ "type": "step",
716
+ "data": {
717
+ "label": "add",
718
+ "nodeKind": "step",
719
+ "stepId": "step//./workflows/addition//add"
720
+ }
721
+ },
722
+ {
723
+ "id": "node_2",
724
+ "type": "step",
725
+ "data": {
726
+ "label": "add",
727
+ "nodeKind": "step",
728
+ "stepId": "step//./workflows/addition//add"
538
729
  }
539
730
  },
540
731
  {
@@ -554,25 +745,35 @@
554
745
  "type": "default"
555
746
  },
556
747
  {
557
- "id": "e_node_0_end",
748
+ "id": "e_node_0_node_1",
558
749
  "source": "node_0",
750
+ "target": "node_1",
751
+ "type": "default"
752
+ },
753
+ {
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",
559
762
  "target": "end",
560
763
  "type": "default"
561
764
  }
562
765
  ]
563
766
  }
564
- }
565
- },
566
- "workflows/retriable-and-fatal.ts": {
567
- "retryableAndFatalErrorWorkflow": {
568
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
767
+ },
768
+ "addition": {
769
+ "workflowId": "workflow//./workflows/addition//addition",
569
770
  "graph": {
570
771
  "nodes": [
571
772
  {
572
773
  "id": "start",
573
774
  "type": "workflowStart",
574
775
  "data": {
575
- "label": "Start: retryableAndFatalErrorWorkflow",
776
+ "label": "Start: addition",
576
777
  "nodeKind": "workflow_start"
577
778
  }
578
779
  },
@@ -580,9 +781,9 @@
580
781
  "id": "node_0",
581
782
  "type": "step",
582
783
  "data": {
583
- "label": "stepThatThrowsRetryableError",
784
+ "label": "add",
584
785
  "nodeKind": "step",
585
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
786
+ "stepId": "step//./workflows/addition//add"
586
787
  }
587
788
  },
588
789
  {
@@ -1511,155 +1712,16 @@
1511
1712
  }
1512
1713
  }
1513
1714
  },
1514
- "workflows/noop.ts": {
1515
- "brokenWf": {
1516
- "workflowId": "workflow//./workflows/noop//brokenWf",
1517
- "graph": {
1518
- "nodes": [
1519
- {
1520
- "id": "start",
1521
- "type": "workflowStart",
1522
- "data": {
1523
- "label": "Start: brokenWf",
1524
- "nodeKind": "workflow_start"
1525
- }
1526
- },
1527
- {
1528
- "id": "node_0",
1529
- "type": "step",
1530
- "data": {
1531
- "label": "noop",
1532
- "nodeKind": "step",
1533
- "stepId": "step//./workflows/noop//noop"
1534
- }
1535
- },
1536
- {
1537
- "id": "node_1",
1538
- "type": "step",
1539
- "data": {
1540
- "label": "noop",
1541
- "nodeKind": "step",
1542
- "stepId": "step//./workflows/noop//noop"
1543
- }
1544
- },
1545
- {
1546
- "id": "end",
1547
- "type": "workflowEnd",
1548
- "data": {
1549
- "label": "Return",
1550
- "nodeKind": "workflow_end"
1551
- }
1552
- }
1553
- ],
1554
- "edges": [
1555
- {
1556
- "id": "e_start_node_0",
1557
- "source": "start",
1558
- "target": "node_0",
1559
- "type": "default"
1560
- },
1561
- {
1562
- "id": "e_node_0_node_1",
1563
- "source": "node_0",
1564
- "target": "node_1",
1565
- "type": "default"
1566
- },
1567
- {
1568
- "id": "e_node_1_end",
1569
- "source": "node_1",
1570
- "target": "end",
1571
- "type": "default"
1572
- }
1573
- ]
1574
- }
1575
- }
1576
- },
1577
- "workflows/addition.ts": {
1578
- "addTenWorkflow": {
1579
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
1580
- "graph": {
1581
- "nodes": [
1582
- {
1583
- "id": "start",
1584
- "type": "workflowStart",
1585
- "data": {
1586
- "label": "Start: addTenWorkflow",
1587
- "nodeKind": "workflow_start"
1588
- }
1589
- },
1590
- {
1591
- "id": "node_0",
1592
- "type": "step",
1593
- "data": {
1594
- "label": "add",
1595
- "nodeKind": "step",
1596
- "stepId": "step//./workflows/addition//add"
1597
- }
1598
- },
1599
- {
1600
- "id": "node_1",
1601
- "type": "step",
1602
- "data": {
1603
- "label": "add",
1604
- "nodeKind": "step",
1605
- "stepId": "step//./workflows/addition//add"
1606
- }
1607
- },
1608
- {
1609
- "id": "node_2",
1610
- "type": "step",
1611
- "data": {
1612
- "label": "add",
1613
- "nodeKind": "step",
1614
- "stepId": "step//./workflows/addition//add"
1615
- }
1616
- },
1617
- {
1618
- "id": "end",
1619
- "type": "workflowEnd",
1620
- "data": {
1621
- "label": "Return",
1622
- "nodeKind": "workflow_end"
1623
- }
1624
- }
1625
- ],
1626
- "edges": [
1627
- {
1628
- "id": "e_start_node_0",
1629
- "source": "start",
1630
- "target": "node_0",
1631
- "type": "default"
1632
- },
1633
- {
1634
- "id": "e_node_0_node_1",
1635
- "source": "node_0",
1636
- "target": "node_1",
1637
- "type": "default"
1638
- },
1639
- {
1640
- "id": "e_node_1_node_2",
1641
- "source": "node_1",
1642
- "target": "node_2",
1643
- "type": "default"
1644
- },
1645
- {
1646
- "id": "e_node_2_end",
1647
- "source": "node_2",
1648
- "target": "end",
1649
- "type": "default"
1650
- }
1651
- ]
1652
- }
1653
- },
1654
- "addition": {
1655
- "workflowId": "workflow//./workflows/addition//addition",
1715
+ "workflows/retriable-and-fatal.ts": {
1716
+ "retryableAndFatalErrorWorkflow": {
1717
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
1656
1718
  "graph": {
1657
1719
  "nodes": [
1658
1720
  {
1659
1721
  "id": "start",
1660
1722
  "type": "workflowStart",
1661
1723
  "data": {
1662
- "label": "Start: addition",
1724
+ "label": "Start: retryableAndFatalErrorWorkflow",
1663
1725
  "nodeKind": "workflow_start"
1664
1726
  }
1665
1727
  },
@@ -1667,9 +1729,9 @@
1667
1729
  "id": "node_0",
1668
1730
  "type": "step",
1669
1731
  "data": {
1670
- "label": "add",
1732
+ "label": "stepThatThrowsRetryableError",
1671
1733
  "nodeKind": "step",
1672
- "stepId": "step//./workflows/addition//add"
1734
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
1673
1735
  }
1674
1736
  },
1675
1737
  {
@@ -1702,7 +1764,7 @@
1702
1764
  "classes": {
1703
1765
  "core/dist/runtime/run.js": {
1704
1766
  "Run": {
1705
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.35//Run"
1767
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.37//Run"
1706
1768
  }
1707
1769
  }
1708
1770
  }