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

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,9 +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/retriable-and-fatal.ts": {
5
+ "stepThatFails": {
6
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
7
+ },
8
+ "stepThatThrowsRetryableError": {
9
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
10
+ }
11
+ },
12
+ "workflows/addition.ts": {
13
+ "add": {
14
+ "stepId": "step//./workflows/addition//add"
7
15
  }
8
16
  },
9
17
  "workflows/hooks.ts": {
@@ -16,17 +24,15 @@
16
24
  "stepId": "step//./workflows/null-byte//nullByteStep"
17
25
  }
18
26
  },
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"
25
- }
26
- },
27
- "workflows/addition.ts": {
27
+ "workflows/inline-execution.ts": {
28
28
  "add": {
29
- "stepId": "step//./workflows/addition//add"
29
+ "stepId": "step//./workflows/inline-execution//add"
30
+ },
31
+ "closeOutputStream": {
32
+ "stepId": "step//./workflows/inline-execution//closeOutputStream"
33
+ },
34
+ "writeToStream": {
35
+ "stepId": "step//./workflows/inline-execution//writeToStream"
30
36
  }
31
37
  },
32
38
  "workflow/dist/internal/builtins.js": {
@@ -38,52 +44,134 @@
38
44
  },
39
45
  "__builtin_response_text": {
40
46
  "stepId": "__builtin_response_text"
47
+ },
48
+ "__builtin_set_attributes": {
49
+ "stepId": "__builtin_set_attributes"
50
+ }
51
+ },
52
+ "workflow/dist/stdlib.js": {
53
+ "fetch": {
54
+ "stepId": "step//workflow@5.0.0-beta.11//fetch"
55
+ }
56
+ },
57
+ "workflows/noop.ts": {
58
+ "noop": {
59
+ "stepId": "step//./workflows/noop//noop"
60
+ }
61
+ },
62
+ "core/dist/runtime/start.js": {
63
+ "start": {
64
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.11//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.11//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.11//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.11//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.11//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.11//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.11//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.11//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.11//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.11//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.11//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/retriable-and-fatal.ts": {
102
+ "retryableAndFatalErrorWorkflow": {
103
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
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: retryableAndFatalErrorWorkflow",
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
+ },
134
+ "workflows/addition.ts": {
135
+ "addTenWorkflow": {
136
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
137
+ "graph": {
138
+ "nodes": [
139
+ {
140
+ "id": "start",
141
+ "type": "workflowStart",
142
+ "data": {
143
+ "label": "Start: addTenWorkflow",
144
+ "nodeKind": "workflow_start"
145
+ }
146
+ },
147
+ {
148
+ "id": "end",
149
+ "type": "workflowEnd",
150
+ "data": {
151
+ "label": "Return",
152
+ "nodeKind": "workflow_end"
153
+ }
154
+ }
155
+ ],
156
+ "edges": [
157
+ {
158
+ "id": "e_start_end",
159
+ "source": "start",
160
+ "target": "end",
161
+ "type": "default"
162
+ }
163
+ ]
164
+ }
165
+ },
166
+ "addition": {
167
+ "workflowId": "workflow//./workflows/addition//addition",
168
+ "graph": {
169
+ "nodes": [
170
+ {
171
+ "id": "start",
172
+ "type": "workflowStart",
173
+ "data": {
174
+ "label": "Start: addition",
87
175
  "nodeKind": "workflow_start"
88
176
  }
89
177
  },
@@ -173,16 +261,185 @@
173
261
  }
174
262
  }
175
263
  },
176
- "workflows/retriable-and-fatal.ts": {
177
- "retryableAndFatalErrorWorkflow": {
178
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
264
+ "workflows/inline-execution.ts": {
265
+ "hookWorkflow": {
266
+ "workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
179
267
  "graph": {
180
268
  "nodes": [
181
269
  {
182
270
  "id": "start",
183
271
  "type": "workflowStart",
184
272
  "data": {
185
- "label": "Start: retryableAndFatalErrorWorkflow",
273
+ "label": "Start: hookWorkflow",
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
+ "parallelStepsWorkflow": {
297
+ "workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
298
+ "graph": {
299
+ "nodes": [
300
+ {
301
+ "id": "start",
302
+ "type": "workflowStart",
303
+ "data": {
304
+ "label": "Start: parallelStepsWorkflow",
305
+ "nodeKind": "workflow_start"
306
+ }
307
+ },
308
+ {
309
+ "id": "end",
310
+ "type": "workflowEnd",
311
+ "data": {
312
+ "label": "Return",
313
+ "nodeKind": "workflow_end"
314
+ }
315
+ }
316
+ ],
317
+ "edges": [
318
+ {
319
+ "id": "e_start_end",
320
+ "source": "start",
321
+ "target": "end",
322
+ "type": "default"
323
+ }
324
+ ]
325
+ }
326
+ },
327
+ "sequentialStepsWithStreamWorkflow": {
328
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
329
+ "graph": {
330
+ "nodes": [
331
+ {
332
+ "id": "start",
333
+ "type": "workflowStart",
334
+ "data": {
335
+ "label": "Start: sequentialStepsWithStreamWorkflow",
336
+ "nodeKind": "workflow_start"
337
+ }
338
+ },
339
+ {
340
+ "id": "end",
341
+ "type": "workflowEnd",
342
+ "data": {
343
+ "label": "Return",
344
+ "nodeKind": "workflow_end"
345
+ }
346
+ }
347
+ ],
348
+ "edges": [
349
+ {
350
+ "id": "e_start_end",
351
+ "source": "start",
352
+ "target": "end",
353
+ "type": "default"
354
+ }
355
+ ]
356
+ }
357
+ },
358
+ "sequentialStepsWorkflow": {
359
+ "workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
360
+ "graph": {
361
+ "nodes": [
362
+ {
363
+ "id": "start",
364
+ "type": "workflowStart",
365
+ "data": {
366
+ "label": "Start: sequentialStepsWorkflow",
367
+ "nodeKind": "workflow_start"
368
+ }
369
+ },
370
+ {
371
+ "id": "end",
372
+ "type": "workflowEnd",
373
+ "data": {
374
+ "label": "Return",
375
+ "nodeKind": "workflow_end"
376
+ }
377
+ }
378
+ ],
379
+ "edges": [
380
+ {
381
+ "id": "e_start_end",
382
+ "source": "start",
383
+ "target": "end",
384
+ "type": "default"
385
+ }
386
+ ]
387
+ }
388
+ },
389
+ "sleepWorkflow": {
390
+ "workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
391
+ "graph": {
392
+ "nodes": [
393
+ {
394
+ "id": "start",
395
+ "type": "workflowStart",
396
+ "data": {
397
+ "label": "Start: sleepWorkflow",
398
+ "nodeKind": "workflow_start"
399
+ }
400
+ },
401
+ {
402
+ "id": "node_0",
403
+ "type": "primitive",
404
+ "data": {
405
+ "label": "sleep",
406
+ "nodeKind": "primitive"
407
+ }
408
+ },
409
+ {
410
+ "id": "end",
411
+ "type": "workflowEnd",
412
+ "data": {
413
+ "label": "Return",
414
+ "nodeKind": "workflow_end"
415
+ }
416
+ }
417
+ ],
418
+ "edges": [
419
+ {
420
+ "id": "e_start_node_0",
421
+ "source": "start",
422
+ "target": "node_0",
423
+ "type": "default"
424
+ },
425
+ {
426
+ "id": "e_node_0_end",
427
+ "source": "node_0",
428
+ "target": "end",
429
+ "type": "default"
430
+ }
431
+ ]
432
+ }
433
+ },
434
+ "threeBatchesOfFiveWorkflow": {
435
+ "workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
436
+ "graph": {
437
+ "nodes": [
438
+ {
439
+ "id": "start",
440
+ "type": "workflowStart",
441
+ "data": {
442
+ "label": "Start: threeBatchesOfFiveWorkflow",
186
443
  "nodeKind": "workflow_start"
187
444
  }
188
445
  },
@@ -206,16 +463,16 @@
206
463
  }
207
464
  }
208
465
  },
209
- "workflows/addition.ts": {
210
- "addition": {
211
- "workflowId": "workflow//./workflows/addition//addition",
466
+ "workflows/noop.ts": {
467
+ "brokenWf": {
468
+ "workflowId": "workflow//./workflows/noop//brokenWf",
212
469
  "graph": {
213
470
  "nodes": [
214
471
  {
215
472
  "id": "start",
216
473
  "type": "workflowStart",
217
474
  "data": {
218
- "label": "Start: addition",
475
+ "label": "Start: brokenWf",
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.11//Run"
247
504
  }
248
505
  }
249
506
  }