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

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