@workflow/world-testing 5.0.0-beta.15 → 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,9 +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"
12
+ "workflows/noop.ts": {
13
+ "noop": {
14
+ "stepId": "step//./workflows/noop//noop"
20
15
  }
21
16
  },
22
17
  "workflows/inline-execution.ts": {
@@ -30,19 +25,19 @@
30
25
  "stepId": "step//./workflows/inline-execution//writeToStream"
31
26
  }
32
27
  },
28
+ "workflows/addition.ts": {
29
+ "add": {
30
+ "stepId": "step//./workflows/addition//add"
31
+ }
32
+ },
33
33
  "workflows/null-byte.ts": {
34
34
  "nullByteStep": {
35
35
  "stepId": "step//./workflows/null-byte//nullByteStep"
36
36
  }
37
37
  },
38
- "workflows/noop.ts": {
39
- "noop": {
40
- "stepId": "step//./workflows/noop//noop"
41
- }
42
- },
43
- "workflow/dist/stdlib.js": {
44
- "fetch": {
45
- "stepId": "step//./workflow/dist/stdlib//fetch"
38
+ "workflows/hooks.ts": {
39
+ "writeEvent": {
40
+ "stepId": "step//./workflows/hooks//writeEvent"
46
41
  }
47
42
  },
48
43
  "workflow/dist/internal/builtins.js": {
@@ -59,55 +54,60 @@
59
54
  "stepId": "__builtin_set_attributes"
60
55
  }
61
56
  },
62
- "core/dist/runtime/start.js": {
63
- "start": {
64
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.15//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.15//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.15//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.15//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.15//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.15//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.15//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.15//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.15//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.15//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.15//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/inline-execution.ts": {
232
- "hookWorkflow": {
233
- "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
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: hookWorkflow",
238
+ "label": "Start: sequentialStepsWithStreamWorkflow",
241
239
  "nodeKind": "workflow_start"
242
240
  }
243
241
  },
@@ -260,15 +258,15 @@
260
258
  ]
261
259
  }
262
260
  },
263
- "parallelStepsWorkflow": {
264
- "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
261
+ "sequentialStepsWorkflow": {
262
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
265
263
  "graph": {
266
264
  "nodes": [
267
265
  {
268
266
  "id": "start",
269
267
  "type": "workflowStart",
270
268
  "data": {
271
- "label": "Start: parallelStepsWorkflow",
269
+ "label": "Start: sequentialStepsWorkflow",
272
270
  "nodeKind": "workflow_start"
273
271
  }
274
272
  },
@@ -291,18 +289,26 @@
291
289
  ]
292
290
  }
293
291
  },
294
- "sequentialStepsWithStreamWorkflow": {
295
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
292
+ "sleepWorkflow": {
293
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
296
294
  "graph": {
297
295
  "nodes": [
298
296
  {
299
297
  "id": "start",
300
298
  "type": "workflowStart",
301
299
  "data": {
302
- "label": "Start: sequentialStepsWithStreamWorkflow",
300
+ "label": "Start: sleepWorkflow",
303
301
  "nodeKind": "workflow_start"
304
302
  }
305
303
  },
304
+ {
305
+ "id": "node_0",
306
+ "type": "primitive",
307
+ "data": {
308
+ "label": "sleep",
309
+ "nodeKind": "primitive"
310
+ }
311
+ },
306
312
  {
307
313
  "id": "end",
308
314
  "type": "workflowEnd",
@@ -314,23 +320,29 @@
314
320
  ],
315
321
  "edges": [
316
322
  {
317
- "id": "e_start_end",
323
+ "id": "e_start_node_0",
318
324
  "source": "start",
325
+ "target": "node_0",
326
+ "type": "default"
327
+ },
328
+ {
329
+ "id": "e_node_0_end",
330
+ "source": "node_0",
319
331
  "target": "end",
320
332
  "type": "default"
321
333
  }
322
334
  ]
323
335
  }
324
336
  },
325
- "sequentialStepsWorkflow": {
326
- "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
337
+ "threeBatchesOfFiveWorkflow": {
338
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
327
339
  "graph": {
328
340
  "nodes": [
329
341
  {
330
342
  "id": "start",
331
343
  "type": "workflowStart",
332
344
  "data": {
333
- "label": "Start: sequentialStepsWorkflow",
345
+ "label": "Start: threeBatchesOfFiveWorkflow",
334
346
  "nodeKind": "workflow_start"
335
347
  }
336
348
  },
@@ -352,27 +364,21 @@
352
364
  }
353
365
  ]
354
366
  }
355
- },
356
- "sleepWorkflow": {
357
- "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
367
+ }
368
+ },
369
+ "workflows/addition.ts": {
370
+ "addTenWorkflow": {
371
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
358
372
  "graph": {
359
373
  "nodes": [
360
374
  {
361
375
  "id": "start",
362
376
  "type": "workflowStart",
363
377
  "data": {
364
- "label": "Start: sleepWorkflow",
378
+ "label": "Start: addTenWorkflow",
365
379
  "nodeKind": "workflow_start"
366
380
  }
367
381
  },
368
- {
369
- "id": "node_0",
370
- "type": "primitive",
371
- "data": {
372
- "label": "sleep",
373
- "nodeKind": "primitive"
374
- }
375
- },
376
382
  {
377
383
  "id": "end",
378
384
  "type": "workflowEnd",
@@ -384,29 +390,23 @@
384
390
  ],
385
391
  "edges": [
386
392
  {
387
- "id": "e_start_node_0",
393
+ "id": "e_start_end",
388
394
  "source": "start",
389
- "target": "node_0",
390
- "type": "default"
391
- },
392
- {
393
- "id": "e_node_0_end",
394
- "source": "node_0",
395
395
  "target": "end",
396
396
  "type": "default"
397
397
  }
398
398
  ]
399
399
  }
400
400
  },
401
- "threeBatchesOfFiveWorkflow": {
402
- "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
401
+ "addition": {
402
+ "workflowId": "workflow//./workflows/addition//addition",
403
403
  "graph": {
404
404
  "nodes": [
405
405
  {
406
406
  "id": "start",
407
407
  "type": "workflowStart",
408
408
  "data": {
409
- "label": "Start: threeBatchesOfFiveWorkflow",
409
+ "label": "Start: addition",
410
410
  "nodeKind": "workflow_start"
411
411
  }
412
412
  },
@@ -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.15//Run"
503
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.16//Run"
504
504
  }
505
505
  }
506
506
  }