@workflow/world-testing 5.0.0-beta.1 → 5.0.0-beta.10

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,14 +1,17 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/noop.ts": {
5
- "noop": {
6
- "stepId": "step//./workflows/noop//noop"
4
+ "workflows/addition.ts": {
5
+ "add": {
6
+ "stepId": "step//./workflows/addition//add"
7
7
  }
8
8
  },
9
- "workflows/hooks.ts": {
10
- "writeEvent": {
11
- "stepId": "step//./workflows/hooks//writeEvent"
9
+ "workflows/retriable-and-fatal.ts": {
10
+ "stepThatFails": {
11
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
12
+ },
13
+ "stepThatThrowsRetryableError": {
14
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
12
15
  }
13
16
  },
14
17
  "workflows/null-byte.ts": {
@@ -16,17 +19,30 @@
16
19
  "stepId": "step//./workflows/null-byte//nullByteStep"
17
20
  }
18
21
  },
19
- "workflows/retriable-and-fatal.ts": {
20
- "stepThatFails": {
21
- "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
22
- },
23
- "stepThatThrowsRetryableError": {
24
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
22
+ "workflows/hooks.ts": {
23
+ "writeEvent": {
24
+ "stepId": "step//./workflows/hooks//writeEvent"
25
25
  }
26
26
  },
27
- "workflows/addition.ts": {
27
+ "workflows/noop.ts": {
28
+ "noop": {
29
+ "stepId": "step//./workflows/noop//noop"
30
+ }
31
+ },
32
+ "workflow/dist/stdlib.js": {
33
+ "fetch": {
34
+ "stepId": "step//workflow@5.0.0-beta.10//fetch"
35
+ }
36
+ },
37
+ "workflows/inline-execution.ts": {
28
38
  "add": {
29
- "stepId": "step//./workflows/addition//add"
39
+ "stepId": "step//./workflows/inline-execution//add"
40
+ },
41
+ "closeOutputStream": {
42
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
43
+ },
44
+ "writeToStream": {
45
+ "stepId": "step//./workflows/inline-execution//writeToStream"
30
46
  }
31
47
  },
32
48
  "workflow/dist/internal/builtins.js": {
@@ -38,52 +54,91 @@
38
54
  },
39
55
  "__builtin_response_text": {
40
56
  "stepId": "__builtin_response_text"
57
+ },
58
+ "__builtin_set_attributes": {
59
+ "stepId": "__builtin_set_attributes"
60
+ }
61
+ },
62
+ "core/dist/runtime/start.js": {
63
+ "start": {
64
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.10//start"
41
65
  }
42
66
  },
43
67
  "core/dist/runtime/run.js": {
44
68
  "Run#cancel": {
45
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#cancel"
69
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#cancel"
46
70
  },
47
71
  "Run#completedAt": {
48
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#completedAt"
72
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#completedAt"
49
73
  },
50
74
  "Run#createdAt": {
51
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#createdAt"
75
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#createdAt"
52
76
  },
53
77
  "Run#exists": {
54
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#exists"
78
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#exists"
55
79
  },
56
80
  "Run#getReadable": {
57
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#getReadable"
81
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#getReadable"
58
82
  },
59
83
  "Run#returnValue": {
60
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#returnValue"
84
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#returnValue"
61
85
  },
62
86
  "Run#startedAt": {
63
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#startedAt"
87
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#startedAt"
64
88
  },
65
89
  "Run#status": {
66
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#status"
90
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#status"
67
91
  },
68
92
  "Run#wakeUp": {
69
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#wakeUp"
93
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#wakeUp"
70
94
  },
71
95
  "Run#workflowName": {
72
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.1//Run#workflowName"
96
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.10//Run#workflowName"
73
97
  }
74
98
  }
75
99
  },
76
100
  "workflows": {
77
- "workflows/noop.ts": {
78
- "brokenWf": {
79
- "workflowId": "workflow//./workflows/noop//brokenWf",
101
+ "workflows/addition.ts": {
102
+ "addTenWorkflow": {
103
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
80
104
  "graph": {
81
105
  "nodes": [
82
106
  {
83
107
  "id": "start",
84
108
  "type": "workflowStart",
85
109
  "data": {
86
- "label": "Start: brokenWf",
110
+ "label": "Start: addTenWorkflow",
111
+ "nodeKind": "workflow_start"
112
+ }
113
+ },
114
+ {
115
+ "id": "end",
116
+ "type": "workflowEnd",
117
+ "data": {
118
+ "label": "Return",
119
+ "nodeKind": "workflow_end"
120
+ }
121
+ }
122
+ ],
123
+ "edges": [
124
+ {
125
+ "id": "e_start_end",
126
+ "source": "start",
127
+ "target": "end",
128
+ "type": "default"
129
+ }
130
+ ]
131
+ }
132
+ },
133
+ "addition": {
134
+ "workflowId": "workflow//./workflows/addition//addition",
135
+ "graph": {
136
+ "nodes": [
137
+ {
138
+ "id": "start",
139
+ "type": "workflowStart",
140
+ "data": {
141
+ "label": "Start: addition",
87
142
  "nodeKind": "workflow_start"
88
143
  }
89
144
  },
@@ -107,16 +162,16 @@
107
162
  }
108
163
  }
109
164
  },
110
- "workflows/hooks.ts": {
111
- "collectWithHook": {
112
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
165
+ "workflows/retriable-and-fatal.ts": {
166
+ "retryableAndFatalErrorWorkflow": {
167
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
113
168
  "graph": {
114
169
  "nodes": [
115
170
  {
116
171
  "id": "start",
117
172
  "type": "workflowStart",
118
173
  "data": {
119
- "label": "Start: collectWithHook",
174
+ "label": "Start: retryableAndFatalErrorWorkflow",
120
175
  "nodeKind": "workflow_start"
121
176
  }
122
177
  },
@@ -173,16 +228,16 @@
173
228
  }
174
229
  }
175
230
  },
176
- "workflows/retriable-and-fatal.ts": {
177
- "retryableAndFatalErrorWorkflow": {
178
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
231
+ "workflows/hooks.ts": {
232
+ "collectWithHook": {
233
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
179
234
  "graph": {
180
235
  "nodes": [
181
236
  {
182
237
  "id": "start",
183
238
  "type": "workflowStart",
184
239
  "data": {
185
- "label": "Start: retryableAndFatalErrorWorkflow",
240
+ "label": "Start: collectWithHook",
186
241
  "nodeKind": "workflow_start"
187
242
  }
188
243
  },
@@ -206,16 +261,218 @@
206
261
  }
207
262
  }
208
263
  },
209
- "workflows/addition.ts": {
210
- "addition": {
211
- "workflowId": "workflow//./workflows/addition//addition",
264
+ "workflows/noop.ts": {
265
+ "brokenWf": {
266
+ "workflowId": "workflow//./workflows/noop//brokenWf",
212
267
  "graph": {
213
268
  "nodes": [
214
269
  {
215
270
  "id": "start",
216
271
  "type": "workflowStart",
217
272
  "data": {
218
- "label": "Start: addition",
273
+ "label": "Start: brokenWf",
274
+ "nodeKind": "workflow_start"
275
+ }
276
+ },
277
+ {
278
+ "id": "end",
279
+ "type": "workflowEnd",
280
+ "data": {
281
+ "label": "Return",
282
+ "nodeKind": "workflow_end"
283
+ }
284
+ }
285
+ ],
286
+ "edges": [
287
+ {
288
+ "id": "e_start_end",
289
+ "source": "start",
290
+ "target": "end",
291
+ "type": "default"
292
+ }
293
+ ]
294
+ }
295
+ }
296
+ },
297
+ "workflows/inline-execution.ts": {
298
+ "hookWorkflow": {
299
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
300
+ "graph": {
301
+ "nodes": [
302
+ {
303
+ "id": "start",
304
+ "type": "workflowStart",
305
+ "data": {
306
+ "label": "Start: hookWorkflow",
307
+ "nodeKind": "workflow_start"
308
+ }
309
+ },
310
+ {
311
+ "id": "end",
312
+ "type": "workflowEnd",
313
+ "data": {
314
+ "label": "Return",
315
+ "nodeKind": "workflow_end"
316
+ }
317
+ }
318
+ ],
319
+ "edges": [
320
+ {
321
+ "id": "e_start_end",
322
+ "source": "start",
323
+ "target": "end",
324
+ "type": "default"
325
+ }
326
+ ]
327
+ }
328
+ },
329
+ "parallelStepsWorkflow": {
330
+ "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
331
+ "graph": {
332
+ "nodes": [
333
+ {
334
+ "id": "start",
335
+ "type": "workflowStart",
336
+ "data": {
337
+ "label": "Start: parallelStepsWorkflow",
338
+ "nodeKind": "workflow_start"
339
+ }
340
+ },
341
+ {
342
+ "id": "end",
343
+ "type": "workflowEnd",
344
+ "data": {
345
+ "label": "Return",
346
+ "nodeKind": "workflow_end"
347
+ }
348
+ }
349
+ ],
350
+ "edges": [
351
+ {
352
+ "id": "e_start_end",
353
+ "source": "start",
354
+ "target": "end",
355
+ "type": "default"
356
+ }
357
+ ]
358
+ }
359
+ },
360
+ "sequentialStepsWithStreamWorkflow": {
361
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
362
+ "graph": {
363
+ "nodes": [
364
+ {
365
+ "id": "start",
366
+ "type": "workflowStart",
367
+ "data": {
368
+ "label": "Start: sequentialStepsWithStreamWorkflow",
369
+ "nodeKind": "workflow_start"
370
+ }
371
+ },
372
+ {
373
+ "id": "end",
374
+ "type": "workflowEnd",
375
+ "data": {
376
+ "label": "Return",
377
+ "nodeKind": "workflow_end"
378
+ }
379
+ }
380
+ ],
381
+ "edges": [
382
+ {
383
+ "id": "e_start_end",
384
+ "source": "start",
385
+ "target": "end",
386
+ "type": "default"
387
+ }
388
+ ]
389
+ }
390
+ },
391
+ "sequentialStepsWorkflow": {
392
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
393
+ "graph": {
394
+ "nodes": [
395
+ {
396
+ "id": "start",
397
+ "type": "workflowStart",
398
+ "data": {
399
+ "label": "Start: sequentialStepsWorkflow",
400
+ "nodeKind": "workflow_start"
401
+ }
402
+ },
403
+ {
404
+ "id": "end",
405
+ "type": "workflowEnd",
406
+ "data": {
407
+ "label": "Return",
408
+ "nodeKind": "workflow_end"
409
+ }
410
+ }
411
+ ],
412
+ "edges": [
413
+ {
414
+ "id": "e_start_end",
415
+ "source": "start",
416
+ "target": "end",
417
+ "type": "default"
418
+ }
419
+ ]
420
+ }
421
+ },
422
+ "sleepWorkflow": {
423
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
424
+ "graph": {
425
+ "nodes": [
426
+ {
427
+ "id": "start",
428
+ "type": "workflowStart",
429
+ "data": {
430
+ "label": "Start: sleepWorkflow",
431
+ "nodeKind": "workflow_start"
432
+ }
433
+ },
434
+ {
435
+ "id": "node_0",
436
+ "type": "primitive",
437
+ "data": {
438
+ "label": "sleep",
439
+ "nodeKind": "primitive"
440
+ }
441
+ },
442
+ {
443
+ "id": "end",
444
+ "type": "workflowEnd",
445
+ "data": {
446
+ "label": "Return",
447
+ "nodeKind": "workflow_end"
448
+ }
449
+ }
450
+ ],
451
+ "edges": [
452
+ {
453
+ "id": "e_start_node_0",
454
+ "source": "start",
455
+ "target": "node_0",
456
+ "type": "default"
457
+ },
458
+ {
459
+ "id": "e_node_0_end",
460
+ "source": "node_0",
461
+ "target": "end",
462
+ "type": "default"
463
+ }
464
+ ]
465
+ }
466
+ },
467
+ "threeBatchesOfFiveWorkflow": {
468
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
469
+ "graph": {
470
+ "nodes": [
471
+ {
472
+ "id": "start",
473
+ "type": "workflowStart",
474
+ "data": {
475
+ "label": "Start: threeBatchesOfFiveWorkflow",
219
476
  "nodeKind": "workflow_start"
220
477
  }
221
478
  },
@@ -243,7 +500,7 @@
243
500
  "classes": {
244
501
  "core/dist/runtime/run.js": {
245
502
  "Run": {
246
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.1//Run"
503
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.10//Run"
247
504
  }
248
505
  }
249
506
  }