@workflow/world-testing 5.0.0-beta.42 → 5.0.0-beta.44

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,19 +1,65 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/lineage.ts": {
5
- "noop": {
6
- "stepId": "step//./workflows/lineage//noop"
4
+ "core/dist/runtime/run.js": {
5
+ "Run#cancel": {
6
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#cancel"
7
+ },
8
+ "Run#completedAt": {
9
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#completedAt"
10
+ },
11
+ "Run#createdAt": {
12
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#createdAt"
13
+ },
14
+ "Run#exists": {
15
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#exists"
16
+ },
17
+ "Run#getReadable": {
18
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#getReadable"
19
+ },
20
+ "Run#returnValue": {
21
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#returnValue"
22
+ },
23
+ "Run#startedAt": {
24
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#startedAt"
25
+ },
26
+ "Run#status": {
27
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#status"
28
+ },
29
+ "Run#wakeUp": {
30
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#wakeUp"
31
+ },
32
+ "Run#workflowName": {
33
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.44//Run#workflowName"
7
34
  }
8
35
  },
9
- "workflows/signal-cost.ts": {
10
- "trivialStep": {
11
- "stepId": "step//./workflows/signal-cost//trivialStep"
36
+ "core/dist/runtime/start.js": {
37
+ "start": {
38
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.44//start"
12
39
  }
13
40
  },
14
- "workflows/noop.ts": {
15
- "noop": {
16
- "stepId": "step//./workflows/noop//noop"
41
+ "workflow/dist/internal/builtins.js": {
42
+ "__builtin_response_array_buffer": {
43
+ "stepId": "__builtin_response_array_buffer"
44
+ },
45
+ "__builtin_response_json": {
46
+ "stepId": "__builtin_response_json"
47
+ },
48
+ "__builtin_response_text": {
49
+ "stepId": "__builtin_response_text"
50
+ },
51
+ "__builtin_set_attributes": {
52
+ "stepId": "__builtin_set_attributes"
53
+ }
54
+ },
55
+ "workflow/dist/stdlib.js": {
56
+ "fetch": {
57
+ "stepId": "step//./workflow/dist/stdlib//fetch"
58
+ }
59
+ },
60
+ "workflows/addition.ts": {
61
+ "add": {
62
+ "stepId": "step//./workflows/addition//add"
17
63
  }
18
64
  },
19
65
  "workflows/event-limit.ts": {
@@ -21,6 +67,11 @@
21
67
  "stepId": "step//./workflows/event-limit//tick"
22
68
  }
23
69
  },
70
+ "workflows/hooks.ts": {
71
+ "writeEvent": {
72
+ "stepId": "step//./workflows/hooks//writeEvent"
73
+ }
74
+ },
24
75
  "workflows/inline-execution.ts": {
25
76
  "add": {
26
77
  "stepId": "step//./workflows/inline-execution//add"
@@ -32,14 +83,14 @@
32
83
  "stepId": "step//./workflows/inline-execution//writeToStream"
33
84
  }
34
85
  },
35
- "workflows/hooks.ts": {
36
- "writeEvent": {
37
- "stepId": "step//./workflows/hooks//writeEvent"
86
+ "workflows/lineage.ts": {
87
+ "noop": {
88
+ "stepId": "step//./workflows/lineage//noop"
38
89
  }
39
90
  },
40
- "workflows/addition.ts": {
41
- "add": {
42
- "stepId": "step//./workflows/addition//add"
91
+ "workflows/noop.ts": {
92
+ "noop": {
93
+ "stepId": "step//./workflows/noop//noop"
43
94
  }
44
95
  },
45
96
  "workflows/null-byte.ts": {
@@ -55,74 +106,23 @@
55
106
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
56
107
  }
57
108
  },
58
- "workflow/dist/stdlib.js": {
59
- "fetch": {
60
- "stepId": "step//./workflow/dist/stdlib//fetch"
61
- }
62
- },
63
- "workflow/dist/internal/builtins.js": {
64
- "__builtin_response_array_buffer": {
65
- "stepId": "__builtin_response_array_buffer"
66
- },
67
- "__builtin_response_json": {
68
- "stepId": "__builtin_response_json"
69
- },
70
- "__builtin_response_text": {
71
- "stepId": "__builtin_response_text"
72
- },
73
- "__builtin_set_attributes": {
74
- "stepId": "__builtin_set_attributes"
75
- }
76
- },
77
- "core/dist/runtime/run.js": {
78
- "Run#cancel": {
79
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#cancel"
80
- },
81
- "Run#completedAt": {
82
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#completedAt"
83
- },
84
- "Run#createdAt": {
85
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#createdAt"
86
- },
87
- "Run#exists": {
88
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#exists"
89
- },
90
- "Run#getReadable": {
91
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#getReadable"
92
- },
93
- "Run#returnValue": {
94
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#returnValue"
95
- },
96
- "Run#startedAt": {
97
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#startedAt"
98
- },
99
- "Run#status": {
100
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#status"
101
- },
102
- "Run#wakeUp": {
103
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#wakeUp"
104
- },
105
- "Run#workflowName": {
106
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#workflowName"
107
- }
108
- },
109
- "core/dist/runtime/start.js": {
110
- "start": {
111
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
109
+ "workflows/signal-cost.ts": {
110
+ "trivialStep": {
111
+ "stepId": "step//./workflows/signal-cost//trivialStep"
112
112
  }
113
113
  }
114
114
  },
115
115
  "workflows": {
116
- "workflows/lineage.ts": {
117
- "bodyStartsChild": {
118
- "workflowId": "workflow//./workflows/lineage//bodyStartsChild",
116
+ "workflows/addition.ts": {
117
+ "addTenWorkflow": {
118
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
119
119
  "graph": {
120
120
  "nodes": [
121
121
  {
122
122
  "id": "start",
123
123
  "type": "workflowStart",
124
124
  "data": {
125
- "label": "Start: bodyStartsChild",
125
+ "label": "Start: addTenWorkflow",
126
126
  "nodeKind": "workflow_start"
127
127
  }
128
128
  },
@@ -130,18 +130,27 @@
130
130
  "id": "node_0",
131
131
  "type": "step",
132
132
  "data": {
133
- "label": "noop",
133
+ "label": "add",
134
134
  "nodeKind": "step",
135
- "stepId": "step//./workflows/lineage//noop"
135
+ "stepId": "step//./workflows/addition//add"
136
136
  }
137
137
  },
138
138
  {
139
139
  "id": "node_1",
140
140
  "type": "step",
141
141
  "data": {
142
- "label": "start",
142
+ "label": "add",
143
+ "nodeKind": "step",
144
+ "stepId": "step//./workflows/addition//add"
145
+ }
146
+ },
147
+ {
148
+ "id": "node_2",
149
+ "type": "step",
150
+ "data": {
151
+ "label": "add",
143
152
  "nodeKind": "step",
144
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
153
+ "stepId": "step//./workflows/addition//add"
145
154
  }
146
155
  },
147
156
  {
@@ -167,23 +176,29 @@
167
176
  "type": "default"
168
177
  },
169
178
  {
170
- "id": "e_node_1_end",
179
+ "id": "e_node_1_node_2",
171
180
  "source": "node_1",
181
+ "target": "node_2",
182
+ "type": "default"
183
+ },
184
+ {
185
+ "id": "e_node_2_end",
186
+ "source": "node_2",
172
187
  "target": "end",
173
188
  "type": "default"
174
189
  }
175
190
  ]
176
191
  }
177
192
  },
178
- "chainLeaf": {
179
- "workflowId": "workflow//./workflows/lineage//chainLeaf",
193
+ "addition": {
194
+ "workflowId": "workflow//./workflows/addition//addition",
180
195
  "graph": {
181
196
  "nodes": [
182
197
  {
183
198
  "id": "start",
184
199
  "type": "workflowStart",
185
200
  "data": {
186
- "label": "Start: chainLeaf",
201
+ "label": "Start: addition",
187
202
  "nodeKind": "workflow_start"
188
203
  }
189
204
  },
@@ -191,9 +206,9 @@
191
206
  "id": "node_0",
192
207
  "type": "step",
193
208
  "data": {
194
- "label": "noop",
209
+ "label": "add",
195
210
  "nodeKind": "step",
196
- "stepId": "step//./workflows/lineage//noop"
211
+ "stepId": "step//./workflows/addition//add"
197
212
  }
198
213
  },
199
214
  {
@@ -220,16 +235,18 @@
220
235
  }
221
236
  ]
222
237
  }
223
- },
224
- "chainMiddle": {
225
- "workflowId": "workflow//./workflows/lineage//chainMiddle",
238
+ }
239
+ },
240
+ "workflows/event-limit.ts": {
241
+ "runawayWorkflow": {
242
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
226
243
  "graph": {
227
244
  "nodes": [
228
245
  {
229
246
  "id": "start",
230
247
  "type": "workflowStart",
231
248
  "data": {
232
- "label": "Start: chainMiddle",
249
+ "label": "Start: runawayWorkflow",
233
250
  "nodeKind": "workflow_start"
234
251
  }
235
252
  },
@@ -237,18 +254,12 @@
237
254
  "id": "node_0",
238
255
  "type": "step",
239
256
  "data": {
240
- "label": "noop",
241
- "nodeKind": "step",
242
- "stepId": "step//./workflows/lineage//noop"
243
- }
244
- },
245
- {
246
- "id": "node_1",
247
- "type": "step",
248
- "data": {
249
- "label": "start",
257
+ "label": "tick",
250
258
  "nodeKind": "step",
251
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
259
+ "stepId": "step//./workflows/event-limit//tick"
260
+ },
261
+ "metadata": {
262
+ "loopId": "loop_0"
252
263
  }
253
264
  },
254
265
  {
@@ -261,6 +272,12 @@
261
272
  }
262
273
  ],
263
274
  "edges": [
275
+ {
276
+ "id": "e_node_0_back_node_0",
277
+ "source": "node_0",
278
+ "target": "node_0",
279
+ "type": "loop"
280
+ },
264
281
  {
265
282
  "id": "e_start_node_0",
266
283
  "source": "start",
@@ -268,29 +285,25 @@
268
285
  "type": "default"
269
286
  },
270
287
  {
271
- "id": "e_node_0_node_1",
288
+ "id": "e_node_0_end",
272
289
  "source": "node_0",
273
- "target": "node_1",
274
- "type": "default"
275
- },
276
- {
277
- "id": "e_node_1_end",
278
- "source": "node_1",
279
290
  "target": "end",
280
291
  "type": "default"
281
292
  }
282
293
  ]
283
294
  }
284
- },
285
- "chainRoot": {
286
- "workflowId": "workflow//./workflows/lineage//chainRoot",
295
+ }
296
+ },
297
+ "workflows/hooks.ts": {
298
+ "collectWithHook": {
299
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
287
300
  "graph": {
288
301
  "nodes": [
289
302
  {
290
303
  "id": "start",
291
304
  "type": "workflowStart",
292
305
  "data": {
293
- "label": "Start: chainRoot",
306
+ "label": "Start: collectWithHook",
294
307
  "nodeKind": "workflow_start"
295
308
  }
296
309
  },
@@ -298,18 +311,22 @@
298
311
  "id": "node_0",
299
312
  "type": "step",
300
313
  "data": {
301
- "label": "noop",
314
+ "label": "writeEvent",
302
315
  "nodeKind": "step",
303
- "stepId": "step//./workflows/lineage//noop"
316
+ "stepId": "step//./workflows/hooks//writeEvent"
304
317
  }
305
318
  },
306
319
  {
307
320
  "id": "node_1",
308
321
  "type": "step",
309
322
  "data": {
310
- "label": "start",
323
+ "label": "writeEvent",
311
324
  "nodeKind": "step",
312
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
325
+ "stepId": "step//./workflows/hooks//writeEvent"
326
+ },
327
+ "metadata": {
328
+ "loopId": "loop_0",
329
+ "loopIsAwait": true
313
330
  }
314
331
  },
315
332
  {
@@ -328,6 +345,12 @@
328
345
  "target": "node_0",
329
346
  "type": "default"
330
347
  },
348
+ {
349
+ "id": "e_node_1_back_node_1",
350
+ "source": "node_1",
351
+ "target": "node_1",
352
+ "type": "loop"
353
+ },
331
354
  {
332
355
  "id": "e_node_0_node_1",
333
356
  "source": "node_0",
@@ -342,28 +365,21 @@
342
365
  }
343
366
  ]
344
367
  }
345
- },
346
- "spawnedChild": {
347
- "workflowId": "workflow//./workflows/lineage//spawnedChild",
368
+ }
369
+ },
370
+ "workflows/inline-execution.ts": {
371
+ "hookWorkflow": {
372
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
348
373
  "graph": {
349
374
  "nodes": [
350
375
  {
351
376
  "id": "start",
352
377
  "type": "workflowStart",
353
378
  "data": {
354
- "label": "Start: spawnedChild",
379
+ "label": "Start: hookWorkflow",
355
380
  "nodeKind": "workflow_start"
356
381
  }
357
382
  },
358
- {
359
- "id": "node_0",
360
- "type": "step",
361
- "data": {
362
- "label": "noop",
363
- "nodeKind": "step",
364
- "stepId": "step//./workflows/lineage//noop"
365
- }
366
- },
367
383
  {
368
384
  "id": "end",
369
385
  "type": "workflowEnd",
@@ -375,223 +391,7 @@
375
391
  ],
376
392
  "edges": [
377
393
  {
378
- "id": "e_start_node_0",
379
- "source": "start",
380
- "target": "node_0",
381
- "type": "default"
382
- },
383
- {
384
- "id": "e_node_0_end",
385
- "source": "node_0",
386
- "target": "end",
387
- "type": "default"
388
- }
389
- ]
390
- }
391
- }
392
- },
393
- "workflows/signal-cost.ts": {
394
- "signalCostWorkflow": {
395
- "workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
396
- "graph": {
397
- "nodes": [
398
- {
399
- "id": "start",
400
- "type": "workflowStart",
401
- "data": {
402
- "label": "Start: signalCostWorkflow",
403
- "nodeKind": "workflow_start"
404
- }
405
- },
406
- {
407
- "id": "node_0",
408
- "type": "step",
409
- "data": {
410
- "label": "trivialStep",
411
- "nodeKind": "step",
412
- "stepId": "step//./workflows/signal-cost//trivialStep"
413
- },
414
- "metadata": {
415
- "loopId": "loop_0"
416
- }
417
- },
418
- {
419
- "id": "end",
420
- "type": "workflowEnd",
421
- "data": {
422
- "label": "Return",
423
- "nodeKind": "workflow_end"
424
- }
425
- }
426
- ],
427
- "edges": [
428
- {
429
- "id": "e_node_0_back_node_0",
430
- "source": "node_0",
431
- "target": "node_0",
432
- "type": "loop"
433
- },
434
- {
435
- "id": "e_start_node_0",
436
- "source": "start",
437
- "target": "node_0",
438
- "type": "default"
439
- },
440
- {
441
- "id": "e_node_0_end",
442
- "source": "node_0",
443
- "target": "end",
444
- "type": "default"
445
- }
446
- ]
447
- }
448
- }
449
- },
450
- "workflows/noop.ts": {
451
- "brokenWf": {
452
- "workflowId": "workflow//./workflows/noop//brokenWf",
453
- "graph": {
454
- "nodes": [
455
- {
456
- "id": "start",
457
- "type": "workflowStart",
458
- "data": {
459
- "label": "Start: brokenWf",
460
- "nodeKind": "workflow_start"
461
- }
462
- },
463
- {
464
- "id": "node_0",
465
- "type": "step",
466
- "data": {
467
- "label": "noop",
468
- "nodeKind": "step",
469
- "stepId": "step//./workflows/noop//noop"
470
- }
471
- },
472
- {
473
- "id": "node_1",
474
- "type": "step",
475
- "data": {
476
- "label": "noop",
477
- "nodeKind": "step",
478
- "stepId": "step//./workflows/noop//noop"
479
- }
480
- },
481
- {
482
- "id": "end",
483
- "type": "workflowEnd",
484
- "data": {
485
- "label": "Return",
486
- "nodeKind": "workflow_end"
487
- }
488
- }
489
- ],
490
- "edges": [
491
- {
492
- "id": "e_start_node_0",
493
- "source": "start",
494
- "target": "node_0",
495
- "type": "default"
496
- },
497
- {
498
- "id": "e_node_0_node_1",
499
- "source": "node_0",
500
- "target": "node_1",
501
- "type": "default"
502
- },
503
- {
504
- "id": "e_node_1_end",
505
- "source": "node_1",
506
- "target": "end",
507
- "type": "default"
508
- }
509
- ]
510
- }
511
- }
512
- },
513
- "workflows/event-limit.ts": {
514
- "runawayWorkflow": {
515
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
516
- "graph": {
517
- "nodes": [
518
- {
519
- "id": "start",
520
- "type": "workflowStart",
521
- "data": {
522
- "label": "Start: runawayWorkflow",
523
- "nodeKind": "workflow_start"
524
- }
525
- },
526
- {
527
- "id": "node_0",
528
- "type": "step",
529
- "data": {
530
- "label": "tick",
531
- "nodeKind": "step",
532
- "stepId": "step//./workflows/event-limit//tick"
533
- },
534
- "metadata": {
535
- "loopId": "loop_0"
536
- }
537
- },
538
- {
539
- "id": "end",
540
- "type": "workflowEnd",
541
- "data": {
542
- "label": "Return",
543
- "nodeKind": "workflow_end"
544
- }
545
- }
546
- ],
547
- "edges": [
548
- {
549
- "id": "e_node_0_back_node_0",
550
- "source": "node_0",
551
- "target": "node_0",
552
- "type": "loop"
553
- },
554
- {
555
- "id": "e_start_node_0",
556
- "source": "start",
557
- "target": "node_0",
558
- "type": "default"
559
- },
560
- {
561
- "id": "e_node_0_end",
562
- "source": "node_0",
563
- "target": "end",
564
- "type": "default"
565
- }
566
- ]
567
- }
568
- }
569
- },
570
- "workflows/inline-execution.ts": {
571
- "hookWorkflow": {
572
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
573
- "graph": {
574
- "nodes": [
575
- {
576
- "id": "start",
577
- "type": "workflowStart",
578
- "data": {
579
- "label": "Start: hookWorkflow",
580
- "nodeKind": "workflow_start"
581
- }
582
- },
583
- {
584
- "id": "end",
585
- "type": "workflowEnd",
586
- "data": {
587
- "label": "Return",
588
- "nodeKind": "workflow_end"
589
- }
590
- }
591
- ],
592
- "edges": [
593
- {
594
- "id": "e_start_end",
394
+ "id": "e_start_end",
595
395
  "source": "start",
596
396
  "target": "end",
597
397
  "type": "default"
@@ -1467,16 +1267,16 @@
1467
1267
  }
1468
1268
  }
1469
1269
  },
1470
- "workflows/hooks.ts": {
1471
- "collectWithHook": {
1472
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
1270
+ "workflows/lineage.ts": {
1271
+ "bodyStartsChild": {
1272
+ "workflowId": "workflow//./workflows/lineage//bodyStartsChild",
1473
1273
  "graph": {
1474
1274
  "nodes": [
1475
1275
  {
1476
1276
  "id": "start",
1477
1277
  "type": "workflowStart",
1478
1278
  "data": {
1479
- "label": "Start: collectWithHook",
1279
+ "label": "Start: bodyStartsChild",
1480
1280
  "nodeKind": "workflow_start"
1481
1281
  }
1482
1282
  },
@@ -1484,22 +1284,18 @@
1484
1284
  "id": "node_0",
1485
1285
  "type": "step",
1486
1286
  "data": {
1487
- "label": "writeEvent",
1287
+ "label": "noop",
1488
1288
  "nodeKind": "step",
1489
- "stepId": "step//./workflows/hooks//writeEvent"
1289
+ "stepId": "step//./workflows/lineage//noop"
1490
1290
  }
1491
1291
  },
1492
1292
  {
1493
1293
  "id": "node_1",
1494
1294
  "type": "step",
1495
1295
  "data": {
1496
- "label": "writeEvent",
1296
+ "label": "start",
1497
1297
  "nodeKind": "step",
1498
- "stepId": "step//./workflows/hooks//writeEvent"
1499
- },
1500
- "metadata": {
1501
- "loopId": "loop_0",
1502
- "loopIsAwait": true
1298
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.44//start"
1503
1299
  }
1504
1300
  },
1505
1301
  {
@@ -1518,12 +1314,6 @@
1518
1314
  "target": "node_0",
1519
1315
  "type": "default"
1520
1316
  },
1521
- {
1522
- "id": "e_node_1_back_node_1",
1523
- "source": "node_1",
1524
- "target": "node_1",
1525
- "type": "loop"
1526
- },
1527
1317
  {
1528
1318
  "id": "e_node_0_node_1",
1529
1319
  "source": "node_0",
@@ -1538,18 +1328,16 @@
1538
1328
  }
1539
1329
  ]
1540
1330
  }
1541
- }
1542
- },
1543
- "workflows/addition.ts": {
1544
- "addTenWorkflow": {
1545
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
1331
+ },
1332
+ "chainLeaf": {
1333
+ "workflowId": "workflow//./workflows/lineage//chainLeaf",
1546
1334
  "graph": {
1547
1335
  "nodes": [
1548
1336
  {
1549
1337
  "id": "start",
1550
1338
  "type": "workflowStart",
1551
1339
  "data": {
1552
- "label": "Start: addTenWorkflow",
1340
+ "label": "Start: chainLeaf",
1553
1341
  "nodeKind": "workflow_start"
1554
1342
  }
1555
1343
  },
@@ -1557,27 +1345,64 @@
1557
1345
  "id": "node_0",
1558
1346
  "type": "step",
1559
1347
  "data": {
1560
- "label": "add",
1348
+ "label": "noop",
1561
1349
  "nodeKind": "step",
1562
- "stepId": "step//./workflows/addition//add"
1350
+ "stepId": "step//./workflows/lineage//noop"
1563
1351
  }
1564
1352
  },
1565
1353
  {
1566
- "id": "node_1",
1354
+ "id": "end",
1355
+ "type": "workflowEnd",
1356
+ "data": {
1357
+ "label": "Return",
1358
+ "nodeKind": "workflow_end"
1359
+ }
1360
+ }
1361
+ ],
1362
+ "edges": [
1363
+ {
1364
+ "id": "e_start_node_0",
1365
+ "source": "start",
1366
+ "target": "node_0",
1367
+ "type": "default"
1368
+ },
1369
+ {
1370
+ "id": "e_node_0_end",
1371
+ "source": "node_0",
1372
+ "target": "end",
1373
+ "type": "default"
1374
+ }
1375
+ ]
1376
+ }
1377
+ },
1378
+ "chainMiddle": {
1379
+ "workflowId": "workflow//./workflows/lineage//chainMiddle",
1380
+ "graph": {
1381
+ "nodes": [
1382
+ {
1383
+ "id": "start",
1384
+ "type": "workflowStart",
1385
+ "data": {
1386
+ "label": "Start: chainMiddle",
1387
+ "nodeKind": "workflow_start"
1388
+ }
1389
+ },
1390
+ {
1391
+ "id": "node_0",
1567
1392
  "type": "step",
1568
1393
  "data": {
1569
- "label": "add",
1394
+ "label": "noop",
1570
1395
  "nodeKind": "step",
1571
- "stepId": "step//./workflows/addition//add"
1396
+ "stepId": "step//./workflows/lineage//noop"
1572
1397
  }
1573
1398
  },
1574
1399
  {
1575
- "id": "node_2",
1400
+ "id": "node_1",
1576
1401
  "type": "step",
1577
1402
  "data": {
1578
- "label": "add",
1403
+ "label": "start",
1579
1404
  "nodeKind": "step",
1580
- "stepId": "step//./workflows/addition//add"
1405
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.44//start"
1581
1406
  }
1582
1407
  },
1583
1408
  {
@@ -1603,29 +1428,84 @@
1603
1428
  "type": "default"
1604
1429
  },
1605
1430
  {
1606
- "id": "e_node_1_node_2",
1431
+ "id": "e_node_1_end",
1607
1432
  "source": "node_1",
1608
- "target": "node_2",
1433
+ "target": "end",
1609
1434
  "type": "default"
1435
+ }
1436
+ ]
1437
+ }
1438
+ },
1439
+ "chainRoot": {
1440
+ "workflowId": "workflow//./workflows/lineage//chainRoot",
1441
+ "graph": {
1442
+ "nodes": [
1443
+ {
1444
+ "id": "start",
1445
+ "type": "workflowStart",
1446
+ "data": {
1447
+ "label": "Start: chainRoot",
1448
+ "nodeKind": "workflow_start"
1449
+ }
1610
1450
  },
1611
1451
  {
1612
- "id": "e_node_2_end",
1613
- "source": "node_2",
1452
+ "id": "node_0",
1453
+ "type": "step",
1454
+ "data": {
1455
+ "label": "noop",
1456
+ "nodeKind": "step",
1457
+ "stepId": "step//./workflows/lineage//noop"
1458
+ }
1459
+ },
1460
+ {
1461
+ "id": "node_1",
1462
+ "type": "step",
1463
+ "data": {
1464
+ "label": "start",
1465
+ "nodeKind": "step",
1466
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.44//start"
1467
+ }
1468
+ },
1469
+ {
1470
+ "id": "end",
1471
+ "type": "workflowEnd",
1472
+ "data": {
1473
+ "label": "Return",
1474
+ "nodeKind": "workflow_end"
1475
+ }
1476
+ }
1477
+ ],
1478
+ "edges": [
1479
+ {
1480
+ "id": "e_start_node_0",
1481
+ "source": "start",
1482
+ "target": "node_0",
1483
+ "type": "default"
1484
+ },
1485
+ {
1486
+ "id": "e_node_0_node_1",
1487
+ "source": "node_0",
1488
+ "target": "node_1",
1489
+ "type": "default"
1490
+ },
1491
+ {
1492
+ "id": "e_node_1_end",
1493
+ "source": "node_1",
1614
1494
  "target": "end",
1615
1495
  "type": "default"
1616
1496
  }
1617
1497
  ]
1618
1498
  }
1619
1499
  },
1620
- "addition": {
1621
- "workflowId": "workflow//./workflows/addition//addition",
1500
+ "spawnedChild": {
1501
+ "workflowId": "workflow//./workflows/lineage//spawnedChild",
1622
1502
  "graph": {
1623
1503
  "nodes": [
1624
1504
  {
1625
1505
  "id": "start",
1626
1506
  "type": "workflowStart",
1627
1507
  "data": {
1628
- "label": "Start: addition",
1508
+ "label": "Start: spawnedChild",
1629
1509
  "nodeKind": "workflow_start"
1630
1510
  }
1631
1511
  },
@@ -1633,9 +1513,9 @@
1633
1513
  "id": "node_0",
1634
1514
  "type": "step",
1635
1515
  "data": {
1636
- "label": "add",
1516
+ "label": "noop",
1637
1517
  "nodeKind": "step",
1638
- "stepId": "step//./workflows/addition//add"
1518
+ "stepId": "step//./workflows/lineage//noop"
1639
1519
  }
1640
1520
  },
1641
1521
  {
@@ -1664,6 +1544,69 @@
1664
1544
  }
1665
1545
  }
1666
1546
  },
1547
+ "workflows/noop.ts": {
1548
+ "brokenWf": {
1549
+ "workflowId": "workflow//./workflows/noop//brokenWf",
1550
+ "graph": {
1551
+ "nodes": [
1552
+ {
1553
+ "id": "start",
1554
+ "type": "workflowStart",
1555
+ "data": {
1556
+ "label": "Start: brokenWf",
1557
+ "nodeKind": "workflow_start"
1558
+ }
1559
+ },
1560
+ {
1561
+ "id": "node_0",
1562
+ "type": "step",
1563
+ "data": {
1564
+ "label": "noop",
1565
+ "nodeKind": "step",
1566
+ "stepId": "step//./workflows/noop//noop"
1567
+ }
1568
+ },
1569
+ {
1570
+ "id": "node_1",
1571
+ "type": "step",
1572
+ "data": {
1573
+ "label": "noop",
1574
+ "nodeKind": "step",
1575
+ "stepId": "step//./workflows/noop//noop"
1576
+ }
1577
+ },
1578
+ {
1579
+ "id": "end",
1580
+ "type": "workflowEnd",
1581
+ "data": {
1582
+ "label": "Return",
1583
+ "nodeKind": "workflow_end"
1584
+ }
1585
+ }
1586
+ ],
1587
+ "edges": [
1588
+ {
1589
+ "id": "e_start_node_0",
1590
+ "source": "start",
1591
+ "target": "node_0",
1592
+ "type": "default"
1593
+ },
1594
+ {
1595
+ "id": "e_node_0_node_1",
1596
+ "source": "node_0",
1597
+ "target": "node_1",
1598
+ "type": "default"
1599
+ },
1600
+ {
1601
+ "id": "e_node_1_end",
1602
+ "source": "node_1",
1603
+ "target": "end",
1604
+ "type": "default"
1605
+ }
1606
+ ]
1607
+ }
1608
+ }
1609
+ },
1667
1610
  "workflows/null-byte.ts": {
1668
1611
  "nullByteWorkflow": {
1669
1612
  "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
@@ -1759,12 +1702,69 @@
1759
1702
  ]
1760
1703
  }
1761
1704
  }
1705
+ },
1706
+ "workflows/signal-cost.ts": {
1707
+ "signalCostWorkflow": {
1708
+ "workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
1709
+ "graph": {
1710
+ "nodes": [
1711
+ {
1712
+ "id": "start",
1713
+ "type": "workflowStart",
1714
+ "data": {
1715
+ "label": "Start: signalCostWorkflow",
1716
+ "nodeKind": "workflow_start"
1717
+ }
1718
+ },
1719
+ {
1720
+ "id": "node_0",
1721
+ "type": "step",
1722
+ "data": {
1723
+ "label": "trivialStep",
1724
+ "nodeKind": "step",
1725
+ "stepId": "step//./workflows/signal-cost//trivialStep"
1726
+ },
1727
+ "metadata": {
1728
+ "loopId": "loop_0"
1729
+ }
1730
+ },
1731
+ {
1732
+ "id": "end",
1733
+ "type": "workflowEnd",
1734
+ "data": {
1735
+ "label": "Return",
1736
+ "nodeKind": "workflow_end"
1737
+ }
1738
+ }
1739
+ ],
1740
+ "edges": [
1741
+ {
1742
+ "id": "e_node_0_back_node_0",
1743
+ "source": "node_0",
1744
+ "target": "node_0",
1745
+ "type": "loop"
1746
+ },
1747
+ {
1748
+ "id": "e_start_node_0",
1749
+ "source": "start",
1750
+ "target": "node_0",
1751
+ "type": "default"
1752
+ },
1753
+ {
1754
+ "id": "e_node_0_end",
1755
+ "source": "node_0",
1756
+ "target": "end",
1757
+ "type": "default"
1758
+ }
1759
+ ]
1760
+ }
1761
+ }
1762
1762
  }
1763
1763
  },
1764
1764
  "classes": {
1765
1765
  "core/dist/runtime/run.js": {
1766
1766
  "Run": {
1767
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.42//Run"
1767
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.44//Run"
1768
1768
  }
1769
1769
  }
1770
1770
  }