@workflow/world-testing 5.0.0-beta.5 → 5.0.0-beta.51

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.
Files changed (43) hide show
  1. package/dist/.well-known/workflow/v1/__step_registrations.mjs +41068 -0
  2. package/dist/.well-known/workflow/v1/flow.mjs +122562 -65647
  3. package/dist/.well-known/workflow/v1/manifest.json +1450 -180
  4. package/dist/src/addition.mjs +2 -2
  5. package/dist/src/errors.mjs +2 -2
  6. package/dist/src/event-ids.d.mts +16 -0
  7. package/dist/src/event-ids.d.mts.map +1 -0
  8. package/dist/src/event-ids.mjs +60 -0
  9. package/dist/src/event-limit.d.mts +2 -0
  10. package/dist/src/event-limit.d.mts.map +1 -0
  11. package/dist/src/event-limit.mjs +29 -0
  12. package/dist/src/hooks.mjs +2 -2
  13. package/dist/src/idempotency.mjs +2 -2
  14. package/dist/src/index.d.mts.map +1 -1
  15. package/dist/src/index.mjs +5 -1
  16. package/dist/src/inline-batches-debug.mjs +2 -2
  17. package/dist/src/inline-execution.d.mts.map +1 -1
  18. package/dist/src/inline-execution.mjs +22 -2
  19. package/dist/src/jsonlines.mjs +1 -1
  20. package/dist/src/lineage.d.mts +8 -0
  21. package/dist/src/lineage.d.mts.map +1 -0
  22. package/dist/src/lineage.mjs +48 -0
  23. package/dist/src/null-byte.mjs +2 -2
  24. package/dist/src/server.mjs +18 -10
  25. package/dist/src/util.d.mts +26 -6
  26. package/dist/src/util.d.mts.map +1 -1
  27. package/dist/src/util.mjs +54 -6
  28. package/dist/workflows/hooks.d.ts.map +1 -1
  29. package/dist/workflows/hooks.js +3 -3
  30. package/package.json +14 -13
  31. package/dist/.well-known/workflow/v1/step.mjs +0 -26802
  32. package/dist/src/addition.mjs.map +0 -1
  33. package/dist/src/errors.mjs.map +0 -1
  34. package/dist/src/hooks.mjs.map +0 -1
  35. package/dist/src/idempotency.mjs.map +0 -1
  36. package/dist/src/index.mjs.map +0 -1
  37. package/dist/src/inline-batches-debug.mjs.map +0 -1
  38. package/dist/src/inline-execution.mjs.map +0 -1
  39. package/dist/src/jsonlines.mjs.map +0 -1
  40. package/dist/src/null-byte.mjs.map +0 -1
  41. package/dist/src/server.mjs.map +0 -1
  42. package/dist/src/util.mjs.map +0 -1
  43. package/dist/workflows/hooks.js.map +0 -1
@@ -1,17 +1,63 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/retriable-and-fatal.ts": {
5
- "stepThatFails": {
6
- "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
4
+ "core/dist/runtime/run.js": {
5
+ "Run#cancel": {
6
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#cancel"
7
7
  },
8
- "stepThatThrowsRetryableError": {
9
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
8
+ "Run#completedAt": {
9
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#completedAt"
10
+ },
11
+ "Run#createdAt": {
12
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#createdAt"
13
+ },
14
+ "Run#exists": {
15
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#exists"
16
+ },
17
+ "Run#getReadable": {
18
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#getReadable"
19
+ },
20
+ "Run#getWritable": {
21
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#getWritable"
22
+ },
23
+ "Run#returnValue": {
24
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#returnValue"
25
+ },
26
+ "Run#startedAt": {
27
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#startedAt"
28
+ },
29
+ "Run#status": {
30
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#status"
31
+ },
32
+ "Run#wakeUp": {
33
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#wakeUp"
34
+ },
35
+ "Run#workflowName": {
36
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.51//Run#workflowName"
10
37
  }
11
38
  },
12
- "workflows/hooks.ts": {
13
- "writeEvent": {
14
- "stepId": "step//./workflows/hooks//writeEvent"
39
+ "core/dist/runtime/start.js": {
40
+ "start": {
41
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.51//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"
15
61
  }
16
62
  },
17
63
  "workflows/addition.ts": {
@@ -19,14 +65,14 @@
19
65
  "stepId": "step//./workflows/addition//add"
20
66
  }
21
67
  },
22
- "workflows/noop.ts": {
23
- "noop": {
24
- "stepId": "step//./workflows/noop//noop"
68
+ "workflows/event-limit.ts": {
69
+ "tick": {
70
+ "stepId": "step//./workflows/event-limit//tick"
25
71
  }
26
72
  },
27
- "workflows/null-byte.ts": {
28
- "nullByteStep": {
29
- "stepId": "step//./workflows/null-byte//nullByteStep"
73
+ "workflows/hooks.ts": {
74
+ "writeEvent": {
75
+ "stepId": "step//./workflows/hooks//writeEvent"
30
76
  }
31
77
  },
32
78
  "workflows/inline-execution.ts": {
@@ -40,87 +86,1183 @@
40
86
  "stepId": "step//./workflows/inline-execution//writeToStream"
41
87
  }
42
88
  },
43
- "workflow/dist/internal/builtins.js": {
44
- "__builtin_response_array_buffer": {
45
- "stepId": "__builtin_response_array_buffer"
46
- },
47
- "__builtin_response_json": {
48
- "stepId": "__builtin_response_json"
49
- },
50
- "__builtin_response_text": {
51
- "stepId": "__builtin_response_text"
89
+ "workflows/lineage.ts": {
90
+ "noop": {
91
+ "stepId": "step//./workflows/lineage//noop"
52
92
  }
53
93
  },
54
- "workflow/dist/stdlib.js": {
55
- "fetch": {
56
- "stepId": "step//workflow@5.0.0-beta.5//fetch"
94
+ "workflows/noop.ts": {
95
+ "noop": {
96
+ "stepId": "step//./workflows/noop//noop"
57
97
  }
58
98
  },
59
- "core/dist/runtime/start.js": {
60
- "start": {
61
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.5//start"
99
+ "workflows/null-byte.ts": {
100
+ "nullByteStep": {
101
+ "stepId": "step//./workflows/null-byte//nullByteStep"
62
102
  }
63
103
  },
64
- "core/dist/runtime/run.js": {
65
- "Run#cancel": {
66
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#cancel"
67
- },
68
- "Run#completedAt": {
69
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#completedAt"
70
- },
71
- "Run#createdAt": {
72
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#createdAt"
73
- },
74
- "Run#exists": {
75
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#exists"
76
- },
77
- "Run#getReadable": {
78
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#getReadable"
79
- },
80
- "Run#returnValue": {
81
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#returnValue"
82
- },
83
- "Run#startedAt": {
84
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#startedAt"
85
- },
86
- "Run#status": {
87
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#status"
88
- },
89
- "Run#wakeUp": {
90
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#wakeUp"
104
+ "workflows/retriable-and-fatal.ts": {
105
+ "stepThatFails": {
106
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
91
107
  },
92
- "Run#workflowName": {
93
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.5//Run#workflowName"
108
+ "stepThatThrowsRetryableError": {
109
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
110
+ }
111
+ },
112
+ "workflows/signal-cost.ts": {
113
+ "trivialStep": {
114
+ "stepId": "step//./workflows/signal-cost//trivialStep"
94
115
  }
95
116
  }
96
117
  },
97
118
  "workflows": {
98
- "workflows/retriable-and-fatal.ts": {
99
- "retryableAndFatalErrorWorkflow": {
100
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
119
+ "workflows/addition.ts": {
120
+ "addTenWorkflow": {
121
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
122
+ "graph": {
123
+ "nodes": [
124
+ {
125
+ "id": "start",
126
+ "type": "workflowStart",
127
+ "data": {
128
+ "label": "Start: addTenWorkflow",
129
+ "nodeKind": "workflow_start"
130
+ }
131
+ },
132
+ {
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",
101
303
  "graph": {
102
304
  "nodes": [
103
305
  {
104
- "id": "start",
105
- "type": "workflowStart",
106
- "data": {
107
- "label": "Start: retryableAndFatalErrorWorkflow",
108
- "nodeKind": "workflow_start"
109
- }
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
+ },
1239
+ {
1240
+ "id": "e_node_10_end",
1241
+ "source": "node_10",
1242
+ "target": "end",
1243
+ "type": "default"
1244
+ },
1245
+ {
1246
+ "id": "e_node_11_end",
1247
+ "source": "node_11",
1248
+ "target": "end",
1249
+ "type": "default"
1250
+ },
1251
+ {
1252
+ "id": "e_node_12_end",
1253
+ "source": "node_12",
1254
+ "target": "end",
1255
+ "type": "default"
110
1256
  },
111
1257
  {
112
- "id": "end",
113
- "type": "workflowEnd",
114
- "data": {
115
- "label": "Return",
116
- "nodeKind": "workflow_end"
117
- }
118
- }
119
- ],
120
- "edges": [
1258
+ "id": "e_node_13_end",
1259
+ "source": "node_13",
1260
+ "target": "end",
1261
+ "type": "default"
1262
+ },
121
1263
  {
122
- "id": "e_start_end",
123
- "source": "start",
1264
+ "id": "e_node_14_end",
1265
+ "source": "node_14",
124
1266
  "target": "end",
125
1267
  "type": "default"
126
1268
  }
@@ -128,50 +1270,35 @@
128
1270
  }
129
1271
  }
130
1272
  },
131
- "workflows/hooks.ts": {
132
- "collectWithHook": {
133
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
1273
+ "workflows/lineage.ts": {
1274
+ "bodyStartsChild": {
1275
+ "workflowId": "workflow//./workflows/lineage//bodyStartsChild",
134
1276
  "graph": {
135
1277
  "nodes": [
136
1278
  {
137
1279
  "id": "start",
138
1280
  "type": "workflowStart",
139
1281
  "data": {
140
- "label": "Start: collectWithHook",
1282
+ "label": "Start: bodyStartsChild",
141
1283
  "nodeKind": "workflow_start"
142
1284
  }
143
1285
  },
144
1286
  {
145
- "id": "end",
146
- "type": "workflowEnd",
1287
+ "id": "node_0",
1288
+ "type": "step",
147
1289
  "data": {
148
- "label": "Return",
149
- "nodeKind": "workflow_end"
1290
+ "label": "noop",
1291
+ "nodeKind": "step",
1292
+ "stepId": "step//./workflows/lineage//noop"
150
1293
  }
151
- }
152
- ],
153
- "edges": [
154
- {
155
- "id": "e_start_end",
156
- "source": "start",
157
- "target": "end",
158
- "type": "default"
159
- }
160
- ]
161
- }
162
- }
163
- },
164
- "workflows/addition.ts": {
165
- "addTenWorkflow": {
166
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
167
- "graph": {
168
- "nodes": [
1294
+ },
169
1295
  {
170
- "id": "start",
171
- "type": "workflowStart",
1296
+ "id": "node_1",
1297
+ "type": "step",
172
1298
  "data": {
173
- "label": "Start: addTenWorkflow",
174
- "nodeKind": "workflow_start"
1299
+ "label": "start",
1300
+ "nodeKind": "step",
1301
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.51//start"
175
1302
  }
176
1303
  },
177
1304
  {
@@ -185,26 +1312,47 @@
185
1312
  ],
186
1313
  "edges": [
187
1314
  {
188
- "id": "e_start_end",
1315
+ "id": "e_start_node_0",
189
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",
190
1329
  "target": "end",
191
1330
  "type": "default"
192
1331
  }
193
1332
  ]
194
1333
  }
195
1334
  },
196
- "addition": {
197
- "workflowId": "workflow//./workflows/addition//addition",
1335
+ "chainLeaf": {
1336
+ "workflowId": "workflow//./workflows/lineage//chainLeaf",
198
1337
  "graph": {
199
1338
  "nodes": [
200
1339
  {
201
1340
  "id": "start",
202
1341
  "type": "workflowStart",
203
1342
  "data": {
204
- "label": "Start: addition",
1343
+ "label": "Start: chainLeaf",
205
1344
  "nodeKind": "workflow_start"
206
1345
  }
207
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
+ },
208
1356
  {
209
1357
  "id": "end",
210
1358
  "type": "workflowEnd",
@@ -216,59 +1364,48 @@
216
1364
  ],
217
1365
  "edges": [
218
1366
  {
219
- "id": "e_start_end",
1367
+ "id": "e_start_node_0",
220
1368
  "source": "start",
1369
+ "target": "node_0",
1370
+ "type": "default"
1371
+ },
1372
+ {
1373
+ "id": "e_node_0_end",
1374
+ "source": "node_0",
221
1375
  "target": "end",
222
1376
  "type": "default"
223
1377
  }
224
1378
  ]
225
1379
  }
226
- }
227
- },
228
- "workflows/noop.ts": {
229
- "brokenWf": {
230
- "workflowId": "workflow//./workflows/noop//brokenWf",
1380
+ },
1381
+ "chainMiddle": {
1382
+ "workflowId": "workflow//./workflows/lineage//chainMiddle",
231
1383
  "graph": {
232
1384
  "nodes": [
233
1385
  {
234
1386
  "id": "start",
235
1387
  "type": "workflowStart",
236
1388
  "data": {
237
- "label": "Start: brokenWf",
1389
+ "label": "Start: chainMiddle",
238
1390
  "nodeKind": "workflow_start"
239
1391
  }
240
1392
  },
241
1393
  {
242
- "id": "end",
243
- "type": "workflowEnd",
1394
+ "id": "node_0",
1395
+ "type": "step",
244
1396
  "data": {
245
- "label": "Return",
246
- "nodeKind": "workflow_end"
1397
+ "label": "noop",
1398
+ "nodeKind": "step",
1399
+ "stepId": "step//./workflows/lineage//noop"
247
1400
  }
248
- }
249
- ],
250
- "edges": [
251
- {
252
- "id": "e_start_end",
253
- "source": "start",
254
- "target": "end",
255
- "type": "default"
256
- }
257
- ]
258
- }
259
- }
260
- },
261
- "workflows/null-byte.ts": {
262
- "nullByteWorkflow": {
263
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
264
- "graph": {
265
- "nodes": [
1401
+ },
266
1402
  {
267
- "id": "start",
268
- "type": "workflowStart",
1403
+ "id": "node_1",
1404
+ "type": "step",
269
1405
  "data": {
270
- "label": "Start: nullByteWorkflow",
271
- "nodeKind": "workflow_start"
1406
+ "label": "start",
1407
+ "nodeKind": "step",
1408
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.51//start"
272
1409
  }
273
1410
  },
274
1411
  {
@@ -282,28 +1419,56 @@
282
1419
  ],
283
1420
  "edges": [
284
1421
  {
285
- "id": "e_start_end",
1422
+ "id": "e_start_node_0",
286
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",
287
1436
  "target": "end",
288
1437
  "type": "default"
289
1438
  }
290
1439
  ]
291
1440
  }
292
- }
293
- },
294
- "workflows/inline-execution.ts": {
295
- "hookWorkflow": {
296
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
1441
+ },
1442
+ "chainRoot": {
1443
+ "workflowId": "workflow//./workflows/lineage//chainRoot",
297
1444
  "graph": {
298
1445
  "nodes": [
299
1446
  {
300
1447
  "id": "start",
301
1448
  "type": "workflowStart",
302
1449
  "data": {
303
- "label": "Start: hookWorkflow",
1450
+ "label": "Start: chainRoot",
304
1451
  "nodeKind": "workflow_start"
305
1452
  }
306
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-beta.51//start"
1470
+ }
1471
+ },
307
1472
  {
308
1473
  "id": "end",
309
1474
  "type": "workflowEnd",
@@ -315,26 +1480,47 @@
315
1480
  ],
316
1481
  "edges": [
317
1482
  {
318
- "id": "e_start_end",
1483
+ "id": "e_start_node_0",
319
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",
320
1497
  "target": "end",
321
1498
  "type": "default"
322
1499
  }
323
1500
  ]
324
1501
  }
325
1502
  },
326
- "parallelStepsWorkflow": {
327
- "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
1503
+ "spawnedChild": {
1504
+ "workflowId": "workflow//./workflows/lineage//spawnedChild",
328
1505
  "graph": {
329
1506
  "nodes": [
330
1507
  {
331
1508
  "id": "start",
332
1509
  "type": "workflowStart",
333
1510
  "data": {
334
- "label": "Start: parallelStepsWorkflow",
1511
+ "label": "Start: spawnedChild",
335
1512
  "nodeKind": "workflow_start"
336
1513
  }
337
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
+ },
338
1524
  {
339
1525
  "id": "end",
340
1526
  "type": "workflowEnd",
@@ -346,26 +1532,52 @@
346
1532
  ],
347
1533
  "edges": [
348
1534
  {
349
- "id": "e_start_end",
1535
+ "id": "e_start_node_0",
350
1536
  "source": "start",
1537
+ "target": "node_0",
1538
+ "type": "default"
1539
+ },
1540
+ {
1541
+ "id": "e_node_0_end",
1542
+ "source": "node_0",
351
1543
  "target": "end",
352
1544
  "type": "default"
353
1545
  }
354
1546
  ]
355
1547
  }
356
- },
357
- "sequentialStepsWithStreamWorkflow": {
358
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
1548
+ }
1549
+ },
1550
+ "workflows/noop.ts": {
1551
+ "brokenWf": {
1552
+ "workflowId": "workflow//./workflows/noop//brokenWf",
359
1553
  "graph": {
360
1554
  "nodes": [
361
1555
  {
362
1556
  "id": "start",
363
1557
  "type": "workflowStart",
364
1558
  "data": {
365
- "label": "Start: sequentialStepsWithStreamWorkflow",
1559
+ "label": "Start: brokenWf",
366
1560
  "nodeKind": "workflow_start"
367
1561
  }
368
1562
  },
1563
+ {
1564
+ "id": "node_0",
1565
+ "type": "step",
1566
+ "data": {
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"
1579
+ }
1580
+ },
369
1581
  {
370
1582
  "id": "end",
371
1583
  "type": "workflowEnd",
@@ -377,26 +1589,49 @@
377
1589
  ],
378
1590
  "edges": [
379
1591
  {
380
- "id": "e_start_end",
1592
+ "id": "e_start_node_0",
381
1593
  "source": "start",
1594
+ "target": "node_0",
1595
+ "type": "default"
1596
+ },
1597
+ {
1598
+ "id": "e_node_0_node_1",
1599
+ "source": "node_0",
1600
+ "target": "node_1",
1601
+ "type": "default"
1602
+ },
1603
+ {
1604
+ "id": "e_node_1_end",
1605
+ "source": "node_1",
382
1606
  "target": "end",
383
1607
  "type": "default"
384
1608
  }
385
1609
  ]
386
1610
  }
387
- },
388
- "sequentialStepsWorkflow": {
389
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
1611
+ }
1612
+ },
1613
+ "workflows/null-byte.ts": {
1614
+ "nullByteWorkflow": {
1615
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
390
1616
  "graph": {
391
1617
  "nodes": [
392
1618
  {
393
1619
  "id": "start",
394
1620
  "type": "workflowStart",
395
1621
  "data": {
396
- "label": "Start: sequentialStepsWorkflow",
1622
+ "label": "Start: nullByteWorkflow",
397
1623
  "nodeKind": "workflow_start"
398
1624
  }
399
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
+ },
400
1635
  {
401
1636
  "id": "end",
402
1637
  "type": "workflowEnd",
@@ -408,32 +1643,41 @@
408
1643
  ],
409
1644
  "edges": [
410
1645
  {
411
- "id": "e_start_end",
1646
+ "id": "e_start_node_0",
412
1647
  "source": "start",
1648
+ "target": "node_0",
1649
+ "type": "default"
1650
+ },
1651
+ {
1652
+ "id": "e_node_0_end",
1653
+ "source": "node_0",
413
1654
  "target": "end",
414
1655
  "type": "default"
415
1656
  }
416
1657
  ]
417
1658
  }
418
- },
419
- "sleepWorkflow": {
420
- "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
1659
+ }
1660
+ },
1661
+ "workflows/retriable-and-fatal.ts": {
1662
+ "retryableAndFatalErrorWorkflow": {
1663
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
421
1664
  "graph": {
422
1665
  "nodes": [
423
1666
  {
424
1667
  "id": "start",
425
1668
  "type": "workflowStart",
426
1669
  "data": {
427
- "label": "Start: sleepWorkflow",
1670
+ "label": "Start: retryableAndFatalErrorWorkflow",
428
1671
  "nodeKind": "workflow_start"
429
1672
  }
430
1673
  },
431
1674
  {
432
1675
  "id": "node_0",
433
- "type": "primitive",
1676
+ "type": "step",
434
1677
  "data": {
435
- "label": "sleep",
436
- "nodeKind": "primitive"
1678
+ "label": "stepThatThrowsRetryableError",
1679
+ "nodeKind": "step",
1680
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
437
1681
  }
438
1682
  },
439
1683
  {
@@ -460,19 +1704,33 @@
460
1704
  }
461
1705
  ]
462
1706
  }
463
- },
464
- "threeBatchesOfFiveWorkflow": {
465
- "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
1707
+ }
1708
+ },
1709
+ "workflows/signal-cost.ts": {
1710
+ "signalCostWorkflow": {
1711
+ "workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
466
1712
  "graph": {
467
1713
  "nodes": [
468
1714
  {
469
1715
  "id": "start",
470
1716
  "type": "workflowStart",
471
1717
  "data": {
472
- "label": "Start: threeBatchesOfFiveWorkflow",
1718
+ "label": "Start: signalCostWorkflow",
473
1719
  "nodeKind": "workflow_start"
474
1720
  }
475
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
+ },
476
1734
  {
477
1735
  "id": "end",
478
1736
  "type": "workflowEnd",
@@ -484,8 +1742,20 @@
484
1742
  ],
485
1743
  "edges": [
486
1744
  {
487
- "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",
488
1752
  "source": "start",
1753
+ "target": "node_0",
1754
+ "type": "default"
1755
+ },
1756
+ {
1757
+ "id": "e_node_0_end",
1758
+ "source": "node_0",
489
1759
  "target": "end",
490
1760
  "type": "default"
491
1761
  }
@@ -497,7 +1767,7 @@
497
1767
  "classes": {
498
1768
  "core/dist/runtime/run.js": {
499
1769
  "Run": {
500
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.5//Run"
1770
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.51//Run"
501
1771
  }
502
1772
  }
503
1773
  }