@workflow/world-testing 5.0.0-beta.9 → 5.0.0

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