@workflow/world-testing 4.1.31 → 4.1.33

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,14 @@
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
+ }
8
+ },
9
+ "workflows/hooks.ts": {
10
+ "writeEvent": {
11
+ "stepId": "step//./workflows/hooks//writeEvent"
7
12
  }
8
13
  },
9
14
  "workflows/retriable-and-fatal.ts": {
@@ -14,16 +19,16 @@
14
19
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
15
20
  }
16
21
  },
22
+ "workflows/noop.ts": {
23
+ "noop": {
24
+ "stepId": "step//./workflows/noop//noop"
25
+ }
26
+ },
17
27
  "workflows/event-limit.ts": {
18
28
  "tick": {
19
29
  "stepId": "step//./workflows/event-limit//tick"
20
30
  }
21
31
  },
22
- "workflows/hooks.ts": {
23
- "writeEvent": {
24
- "stepId": "step//./workflows/hooks//writeEvent"
25
- }
26
- },
27
32
  "workflow/dist/internal/builtins.js": {
28
33
  "__builtin_response_array_buffer": {
29
34
  "stepId": "__builtin_response_array_buffer"
@@ -40,28 +45,23 @@
40
45
  "stepId": "step//./workflows/null-byte//nullByteStep"
41
46
  }
42
47
  },
43
- "workflows/addition.ts": {
44
- "add": {
45
- "stepId": "step//./workflows/addition//add"
46
- }
47
- },
48
48
  "workflow/dist/stdlib.js": {
49
49
  "fetch": {
50
- "stepId": "step//workflow@4.8.16//fetch"
50
+ "stepId": "step//workflow@4.8.18//fetch"
51
51
  }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/noop.ts": {
56
- "brokenWf": {
57
- "workflowId": "workflow//./workflows/noop//brokenWf",
55
+ "workflows/addition.ts": {
56
+ "addition": {
57
+ "workflowId": "workflow//./workflows/addition//addition",
58
58
  "graph": {
59
59
  "nodes": [
60
60
  {
61
61
  "id": "start",
62
62
  "type": "workflowStart",
63
63
  "data": {
64
- "label": "Start: brokenWf",
64
+ "label": "Start: addition",
65
65
  "nodeKind": "workflow_start"
66
66
  }
67
67
  },
@@ -69,18 +69,9 @@
69
69
  "id": "node_0",
70
70
  "type": "step",
71
71
  "data": {
72
- "label": "noop",
73
- "nodeKind": "step",
74
- "stepId": "step//./workflows/noop//noop"
75
- }
76
- },
77
- {
78
- "id": "node_1",
79
- "type": "step",
80
- "data": {
81
- "label": "noop",
72
+ "label": "add",
82
73
  "nodeKind": "step",
83
- "stepId": "step//./workflows/noop//noop"
74
+ "stepId": "step//./workflows/addition//add"
84
75
  }
85
76
  },
86
77
  {
@@ -100,14 +91,8 @@
100
91
  "type": "default"
101
92
  },
102
93
  {
103
- "id": "e_node_0_node_1",
94
+ "id": "e_node_0_end",
104
95
  "source": "node_0",
105
- "target": "node_1",
106
- "type": "default"
107
- },
108
- {
109
- "id": "e_node_1_end",
110
- "source": "node_1",
111
96
  "target": "end",
112
97
  "type": "default"
113
98
  }
@@ -115,16 +100,16 @@
115
100
  }
116
101
  }
117
102
  },
118
- "workflows/retriable-and-fatal.ts": {
119
- "retryableAndFatalErrorWorkflow": {
120
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
103
+ "workflows/hooks.ts": {
104
+ "collectWithHook": {
105
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
121
106
  "graph": {
122
107
  "nodes": [
123
108
  {
124
109
  "id": "start",
125
110
  "type": "workflowStart",
126
111
  "data": {
127
- "label": "Start: retryableAndFatalErrorWorkflow",
112
+ "label": "Start: collectWithHook",
128
113
  "nodeKind": "workflow_start"
129
114
  }
130
115
  },
@@ -132,9 +117,22 @@
132
117
  "id": "node_0",
133
118
  "type": "step",
134
119
  "data": {
135
- "label": "stepThatThrowsRetryableError",
120
+ "label": "writeEvent",
136
121
  "nodeKind": "step",
137
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
122
+ "stepId": "step//./workflows/hooks//writeEvent"
123
+ }
124
+ },
125
+ {
126
+ "id": "node_1",
127
+ "type": "step",
128
+ "data": {
129
+ "label": "writeEvent",
130
+ "nodeKind": "step",
131
+ "stepId": "step//./workflows/hooks//writeEvent"
132
+ },
133
+ "metadata": {
134
+ "loopId": "loop_0",
135
+ "loopIsAwait": true
138
136
  }
139
137
  },
140
138
  {
@@ -154,8 +152,20 @@
154
152
  "type": "default"
155
153
  },
156
154
  {
157
- "id": "e_node_0_end",
155
+ "id": "e_node_1_back_node_1",
156
+ "source": "node_1",
157
+ "target": "node_1",
158
+ "type": "loop"
159
+ },
160
+ {
161
+ "id": "e_node_0_node_1",
158
162
  "source": "node_0",
163
+ "target": "node_1",
164
+ "type": "default"
165
+ },
166
+ {
167
+ "id": "e_node_1_end",
168
+ "source": "node_1",
159
169
  "target": "end",
160
170
  "type": "default"
161
171
  }
@@ -163,16 +173,16 @@
163
173
  }
164
174
  }
165
175
  },
166
- "workflows/event-limit.ts": {
167
- "runawayWorkflow": {
168
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
176
+ "workflows/retriable-and-fatal.ts": {
177
+ "retryableAndFatalErrorWorkflow": {
178
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
169
179
  "graph": {
170
180
  "nodes": [
171
181
  {
172
182
  "id": "start",
173
183
  "type": "workflowStart",
174
184
  "data": {
175
- "label": "Start: runawayWorkflow",
185
+ "label": "Start: retryableAndFatalErrorWorkflow",
176
186
  "nodeKind": "workflow_start"
177
187
  }
178
188
  },
@@ -180,12 +190,9 @@
180
190
  "id": "node_0",
181
191
  "type": "step",
182
192
  "data": {
183
- "label": "tick",
193
+ "label": "stepThatThrowsRetryableError",
184
194
  "nodeKind": "step",
185
- "stepId": "step//./workflows/event-limit//tick"
186
- },
187
- "metadata": {
188
- "loopId": "loop_0"
195
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
189
196
  }
190
197
  },
191
198
  {
@@ -198,12 +205,6 @@
198
205
  }
199
206
  ],
200
207
  "edges": [
201
- {
202
- "id": "e_node_0_back_node_0",
203
- "source": "node_0",
204
- "target": "node_0",
205
- "type": "loop"
206
- },
207
208
  {
208
209
  "id": "e_start_node_0",
209
210
  "source": "start",
@@ -220,16 +221,16 @@
220
221
  }
221
222
  }
222
223
  },
223
- "workflows/hooks.ts": {
224
- "collectWithHook": {
225
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
224
+ "workflows/noop.ts": {
225
+ "brokenWf": {
226
+ "workflowId": "workflow//./workflows/noop//brokenWf",
226
227
  "graph": {
227
228
  "nodes": [
228
229
  {
229
230
  "id": "start",
230
231
  "type": "workflowStart",
231
232
  "data": {
232
- "label": "Start: collectWithHook",
233
+ "label": "Start: brokenWf",
233
234
  "nodeKind": "workflow_start"
234
235
  }
235
236
  },
@@ -237,22 +238,18 @@
237
238
  "id": "node_0",
238
239
  "type": "step",
239
240
  "data": {
240
- "label": "writeEvent",
241
+ "label": "noop",
241
242
  "nodeKind": "step",
242
- "stepId": "step//./workflows/hooks//writeEvent"
243
+ "stepId": "step//./workflows/noop//noop"
243
244
  }
244
245
  },
245
246
  {
246
247
  "id": "node_1",
247
248
  "type": "step",
248
249
  "data": {
249
- "label": "writeEvent",
250
+ "label": "noop",
250
251
  "nodeKind": "step",
251
- "stepId": "step//./workflows/hooks//writeEvent"
252
- },
253
- "metadata": {
254
- "loopId": "loop_0",
255
- "loopIsAwait": true
252
+ "stepId": "step//./workflows/noop//noop"
256
253
  }
257
254
  },
258
255
  {
@@ -271,12 +268,6 @@
271
268
  "target": "node_0",
272
269
  "type": "default"
273
270
  },
274
- {
275
- "id": "e_node_1_back_node_1",
276
- "source": "node_1",
277
- "target": "node_1",
278
- "type": "loop"
279
- },
280
271
  {
281
272
  "id": "e_node_0_node_1",
282
273
  "source": "node_0",
@@ -293,16 +284,16 @@
293
284
  }
294
285
  }
295
286
  },
296
- "workflows/null-byte.ts": {
297
- "nullByteWorkflow": {
298
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
287
+ "workflows/event-limit.ts": {
288
+ "runawayWorkflow": {
289
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
299
290
  "graph": {
300
291
  "nodes": [
301
292
  {
302
293
  "id": "start",
303
294
  "type": "workflowStart",
304
295
  "data": {
305
- "label": "Start: nullByteWorkflow",
296
+ "label": "Start: runawayWorkflow",
306
297
  "nodeKind": "workflow_start"
307
298
  }
308
299
  },
@@ -310,9 +301,12 @@
310
301
  "id": "node_0",
311
302
  "type": "step",
312
303
  "data": {
313
- "label": "nullByteStep",
304
+ "label": "tick",
314
305
  "nodeKind": "step",
315
- "stepId": "step//./workflows/null-byte//nullByteStep"
306
+ "stepId": "step//./workflows/event-limit//tick"
307
+ },
308
+ "metadata": {
309
+ "loopId": "loop_0"
316
310
  }
317
311
  },
318
312
  {
@@ -325,6 +319,12 @@
325
319
  }
326
320
  ],
327
321
  "edges": [
322
+ {
323
+ "id": "e_node_0_back_node_0",
324
+ "source": "node_0",
325
+ "target": "node_0",
326
+ "type": "loop"
327
+ },
328
328
  {
329
329
  "id": "e_start_node_0",
330
330
  "source": "start",
@@ -341,16 +341,16 @@
341
341
  }
342
342
  }
343
343
  },
344
- "workflows/addition.ts": {
345
- "addition": {
346
- "workflowId": "workflow//./workflows/addition//addition",
344
+ "workflows/null-byte.ts": {
345
+ "nullByteWorkflow": {
346
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
347
347
  "graph": {
348
348
  "nodes": [
349
349
  {
350
350
  "id": "start",
351
351
  "type": "workflowStart",
352
352
  "data": {
353
- "label": "Start: addition",
353
+ "label": "Start: nullByteWorkflow",
354
354
  "nodeKind": "workflow_start"
355
355
  }
356
356
  },
@@ -358,9 +358,9 @@
358
358
  "id": "node_0",
359
359
  "type": "step",
360
360
  "data": {
361
- "label": "add",
361
+ "label": "nullByteStep",
362
362
  "nodeKind": "step",
363
- "stepId": "step//./workflows/addition//add"
363
+ "stepId": "step//./workflows/null-byte//nullByteStep"
364
364
  }
365
365
  },
366
366
  {