@workflow/world-testing 5.0.0-beta.14 → 5.0.0-beta.16

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,11 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/addition.ts": {
5
- "add": {
6
- "stepId": "step//./workflows/addition//add"
7
- }
8
- },
9
4
  "workflows/retriable-and-fatal.ts": {
10
5
  "stepThatFails": {
11
6
  "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
@@ -14,14 +9,9 @@
14
9
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
15
10
  }
16
11
  },
17
- "workflows/hooks.ts": {
18
- "writeEvent": {
19
- "stepId": "step//./workflows/hooks//writeEvent"
20
- }
21
- },
22
- "workflows/null-byte.ts": {
23
- "nullByteStep": {
24
- "stepId": "step//./workflows/null-byte//nullByteStep"
12
+ "workflows/noop.ts": {
13
+ "noop": {
14
+ "stepId": "step//./workflows/noop//noop"
25
15
  }
26
16
  },
27
17
  "workflows/inline-execution.ts": {
@@ -35,9 +25,19 @@
35
25
  "stepId": "step//./workflows/inline-execution//writeToStream"
36
26
  }
37
27
  },
38
- "workflows/noop.ts": {
39
- "noop": {
40
- "stepId": "step//./workflows/noop//noop"
28
+ "workflows/addition.ts": {
29
+ "add": {
30
+ "stepId": "step//./workflows/addition//add"
31
+ }
32
+ },
33
+ "workflows/null-byte.ts": {
34
+ "nullByteStep": {
35
+ "stepId": "step//./workflows/null-byte//nullByteStep"
36
+ }
37
+ },
38
+ "workflows/hooks.ts": {
39
+ "writeEvent": {
40
+ "stepId": "step//./workflows/hooks//writeEvent"
41
41
  }
42
42
  },
43
43
  "workflow/dist/internal/builtins.js": {
@@ -54,60 +54,60 @@
54
54
  "stepId": "__builtin_set_attributes"
55
55
  }
56
56
  },
57
- "workflow/dist/stdlib.js": {
58
- "fetch": {
59
- "stepId": "step//./workflow/dist/stdlib//fetch"
60
- }
61
- },
62
- "core/dist/runtime/start.js": {
63
- "start": {
64
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.14//start"
65
- }
66
- },
67
57
  "core/dist/runtime/run.js": {
68
58
  "Run#cancel": {
69
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#cancel"
59
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#cancel"
70
60
  },
71
61
  "Run#completedAt": {
72
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#completedAt"
62
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#completedAt"
73
63
  },
74
64
  "Run#createdAt": {
75
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#createdAt"
65
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#createdAt"
76
66
  },
77
67
  "Run#exists": {
78
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#exists"
68
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#exists"
79
69
  },
80
70
  "Run#getReadable": {
81
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#getReadable"
71
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#getReadable"
82
72
  },
83
73
  "Run#returnValue": {
84
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#returnValue"
74
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#returnValue"
85
75
  },
86
76
  "Run#startedAt": {
87
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#startedAt"
77
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#startedAt"
88
78
  },
89
79
  "Run#status": {
90
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#status"
80
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#status"
91
81
  },
92
82
  "Run#wakeUp": {
93
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#wakeUp"
83
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#wakeUp"
94
84
  },
95
85
  "Run#workflowName": {
96
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#workflowName"
86
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.16//Run#workflowName"
87
+ }
88
+ },
89
+ "workflow/dist/stdlib.js": {
90
+ "fetch": {
91
+ "stepId": "step//./workflow/dist/stdlib//fetch"
92
+ }
93
+ },
94
+ "core/dist/runtime/start.js": {
95
+ "start": {
96
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.16//start"
97
97
  }
98
98
  }
99
99
  },
100
100
  "workflows": {
101
- "workflows/addition.ts": {
102
- "addTenWorkflow": {
103
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
101
+ "workflows/retriable-and-fatal.ts": {
102
+ "retryableAndFatalErrorWorkflow": {
103
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
104
104
  "graph": {
105
105
  "nodes": [
106
106
  {
107
107
  "id": "start",
108
108
  "type": "workflowStart",
109
109
  "data": {
110
- "label": "Start: addTenWorkflow",
110
+ "label": "Start: retryableAndFatalErrorWorkflow",
111
111
  "nodeKind": "workflow_start"
112
112
  }
113
113
  },
@@ -129,16 +129,18 @@
129
129
  }
130
130
  ]
131
131
  }
132
- },
133
- "addition": {
134
- "workflowId": "workflow//./workflows/addition//addition",
132
+ }
133
+ },
134
+ "workflows/noop.ts": {
135
+ "brokenWf": {
136
+ "workflowId": "workflow//./workflows/noop//brokenWf",
135
137
  "graph": {
136
138
  "nodes": [
137
139
  {
138
140
  "id": "start",
139
141
  "type": "workflowStart",
140
142
  "data": {
141
- "label": "Start: addition",
143
+ "label": "Start: brokenWf",
142
144
  "nodeKind": "workflow_start"
143
145
  }
144
146
  },
@@ -162,16 +164,16 @@
162
164
  }
163
165
  }
164
166
  },
165
- "workflows/retriable-and-fatal.ts": {
166
- "retryableAndFatalErrorWorkflow": {
167
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
167
+ "workflows/inline-execution.ts": {
168
+ "hookWorkflow": {
169
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
168
170
  "graph": {
169
171
  "nodes": [
170
172
  {
171
173
  "id": "start",
172
174
  "type": "workflowStart",
173
175
  "data": {
174
- "label": "Start: retryableAndFatalErrorWorkflow",
176
+ "label": "Start: hookWorkflow",
175
177
  "nodeKind": "workflow_start"
176
178
  }
177
179
  },
@@ -193,18 +195,16 @@
193
195
  }
194
196
  ]
195
197
  }
196
- }
197
- },
198
- "workflows/hooks.ts": {
199
- "collectWithHook": {
200
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
198
+ },
199
+ "parallelStepsWorkflow": {
200
+ "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
201
201
  "graph": {
202
202
  "nodes": [
203
203
  {
204
204
  "id": "start",
205
205
  "type": "workflowStart",
206
206
  "data": {
207
- "label": "Start: collectWithHook",
207
+ "label": "Start: parallelStepsWorkflow",
208
208
  "nodeKind": "workflow_start"
209
209
  }
210
210
  },
@@ -226,18 +226,16 @@
226
226
  }
227
227
  ]
228
228
  }
229
- }
230
- },
231
- "workflows/null-byte.ts": {
232
- "nullByteWorkflow": {
233
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
229
+ },
230
+ "sequentialStepsWithStreamWorkflow": {
231
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
234
232
  "graph": {
235
233
  "nodes": [
236
234
  {
237
235
  "id": "start",
238
236
  "type": "workflowStart",
239
237
  "data": {
240
- "label": "Start: nullByteWorkflow",
238
+ "label": "Start: sequentialStepsWithStreamWorkflow",
241
239
  "nodeKind": "workflow_start"
242
240
  }
243
241
  },
@@ -259,18 +257,16 @@
259
257
  }
260
258
  ]
261
259
  }
262
- }
263
- },
264
- "workflows/inline-execution.ts": {
265
- "hookWorkflow": {
266
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
260
+ },
261
+ "sequentialStepsWorkflow": {
262
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
267
263
  "graph": {
268
264
  "nodes": [
269
265
  {
270
266
  "id": "start",
271
267
  "type": "workflowStart",
272
268
  "data": {
273
- "label": "Start: hookWorkflow",
269
+ "label": "Start: sequentialStepsWorkflow",
274
270
  "nodeKind": "workflow_start"
275
271
  }
276
272
  },
@@ -293,18 +289,26 @@
293
289
  ]
294
290
  }
295
291
  },
296
- "parallelStepsWorkflow": {
297
- "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
292
+ "sleepWorkflow": {
293
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
298
294
  "graph": {
299
295
  "nodes": [
300
296
  {
301
297
  "id": "start",
302
298
  "type": "workflowStart",
303
299
  "data": {
304
- "label": "Start: parallelStepsWorkflow",
300
+ "label": "Start: sleepWorkflow",
305
301
  "nodeKind": "workflow_start"
306
302
  }
307
303
  },
304
+ {
305
+ "id": "node_0",
306
+ "type": "primitive",
307
+ "data": {
308
+ "label": "sleep",
309
+ "nodeKind": "primitive"
310
+ }
311
+ },
308
312
  {
309
313
  "id": "end",
310
314
  "type": "workflowEnd",
@@ -316,23 +320,29 @@
316
320
  ],
317
321
  "edges": [
318
322
  {
319
- "id": "e_start_end",
323
+ "id": "e_start_node_0",
320
324
  "source": "start",
325
+ "target": "node_0",
326
+ "type": "default"
327
+ },
328
+ {
329
+ "id": "e_node_0_end",
330
+ "source": "node_0",
321
331
  "target": "end",
322
332
  "type": "default"
323
333
  }
324
334
  ]
325
335
  }
326
336
  },
327
- "sequentialStepsWithStreamWorkflow": {
328
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
337
+ "threeBatchesOfFiveWorkflow": {
338
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
329
339
  "graph": {
330
340
  "nodes": [
331
341
  {
332
342
  "id": "start",
333
343
  "type": "workflowStart",
334
344
  "data": {
335
- "label": "Start: sequentialStepsWithStreamWorkflow",
345
+ "label": "Start: threeBatchesOfFiveWorkflow",
336
346
  "nodeKind": "workflow_start"
337
347
  }
338
348
  },
@@ -354,16 +364,18 @@
354
364
  }
355
365
  ]
356
366
  }
357
- },
358
- "sequentialStepsWorkflow": {
359
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
367
+ }
368
+ },
369
+ "workflows/addition.ts": {
370
+ "addTenWorkflow": {
371
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
360
372
  "graph": {
361
373
  "nodes": [
362
374
  {
363
375
  "id": "start",
364
376
  "type": "workflowStart",
365
377
  "data": {
366
- "label": "Start: sequentialStepsWorkflow",
378
+ "label": "Start: addTenWorkflow",
367
379
  "nodeKind": "workflow_start"
368
380
  }
369
381
  },
@@ -386,26 +398,18 @@
386
398
  ]
387
399
  }
388
400
  },
389
- "sleepWorkflow": {
390
- "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
401
+ "addition": {
402
+ "workflowId": "workflow//./workflows/addition//addition",
391
403
  "graph": {
392
404
  "nodes": [
393
405
  {
394
406
  "id": "start",
395
407
  "type": "workflowStart",
396
408
  "data": {
397
- "label": "Start: sleepWorkflow",
409
+ "label": "Start: addition",
398
410
  "nodeKind": "workflow_start"
399
411
  }
400
412
  },
401
- {
402
- "id": "node_0",
403
- "type": "primitive",
404
- "data": {
405
- "label": "sleep",
406
- "nodeKind": "primitive"
407
- }
408
- },
409
413
  {
410
414
  "id": "end",
411
415
  "type": "workflowEnd",
@@ -417,29 +421,25 @@
417
421
  ],
418
422
  "edges": [
419
423
  {
420
- "id": "e_start_node_0",
424
+ "id": "e_start_end",
421
425
  "source": "start",
422
- "target": "node_0",
423
- "type": "default"
424
- },
425
- {
426
- "id": "e_node_0_end",
427
- "source": "node_0",
428
426
  "target": "end",
429
427
  "type": "default"
430
428
  }
431
429
  ]
432
430
  }
433
- },
434
- "threeBatchesOfFiveWorkflow": {
435
- "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
431
+ }
432
+ },
433
+ "workflows/null-byte.ts": {
434
+ "nullByteWorkflow": {
435
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
436
436
  "graph": {
437
437
  "nodes": [
438
438
  {
439
439
  "id": "start",
440
440
  "type": "workflowStart",
441
441
  "data": {
442
- "label": "Start: threeBatchesOfFiveWorkflow",
442
+ "label": "Start: nullByteWorkflow",
443
443
  "nodeKind": "workflow_start"
444
444
  }
445
445
  },
@@ -463,16 +463,16 @@
463
463
  }
464
464
  }
465
465
  },
466
- "workflows/noop.ts": {
467
- "brokenWf": {
468
- "workflowId": "workflow//./workflows/noop//brokenWf",
466
+ "workflows/hooks.ts": {
467
+ "collectWithHook": {
468
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
469
469
  "graph": {
470
470
  "nodes": [
471
471
  {
472
472
  "id": "start",
473
473
  "type": "workflowStart",
474
474
  "data": {
475
- "label": "Start: brokenWf",
475
+ "label": "Start: collectWithHook",
476
476
  "nodeKind": "workflow_start"
477
477
  }
478
478
  },
@@ -500,7 +500,7 @@
500
500
  "classes": {
501
501
  "core/dist/runtime/run.js": {
502
502
  "Run": {
503
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.14//Run"
503
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.16//Run"
504
504
  }
505
505
  }
506
506
  }