@workflow/world-testing 4.1.23 → 4.1.24

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,24 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
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/hooks.ts": {
13
- "writeEvent": {
14
- "stepId": "step//./workflows/hooks//writeEvent"
15
- }
16
- },
17
- "workflows/addition.ts": {
18
- "add": {
19
- "stepId": "step//./workflows/addition//add"
20
- }
21
- },
22
4
  "workflows/event-limit.ts": {
23
5
  "tick": {
24
6
  "stepId": "step//./workflows/event-limit//tick"
@@ -29,6 +11,11 @@
29
11
  "stepId": "step//./workflows/noop//noop"
30
12
  }
31
13
  },
14
+ "workflows/null-byte.ts": {
15
+ "nullByteStep": {
16
+ "stepId": "step//./workflows/null-byte//nullByteStep"
17
+ }
18
+ },
32
19
  "workflow/dist/internal/builtins.js": {
33
20
  "__builtin_response_array_buffer": {
34
21
  "stepId": "__builtin_response_array_buffer"
@@ -40,28 +27,41 @@
40
27
  "stepId": "__builtin_response_text"
41
28
  }
42
29
  },
43
- "workflows/null-byte.ts": {
44
- "nullByteStep": {
45
- "stepId": "step//./workflows/null-byte//nullByteStep"
30
+ "workflows/retriable-and-fatal.ts": {
31
+ "stepThatFails": {
32
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
33
+ },
34
+ "stepThatThrowsRetryableError": {
35
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
46
36
  }
47
37
  },
48
38
  "workflow/dist/stdlib.js": {
49
39
  "fetch": {
50
- "stepId": "step//workflow@4.8.8//fetch"
40
+ "stepId": "step//workflow@4.8.9//fetch"
41
+ }
42
+ },
43
+ "workflows/addition.ts": {
44
+ "add": {
45
+ "stepId": "step//./workflows/addition//add"
46
+ }
47
+ },
48
+ "workflows/hooks.ts": {
49
+ "writeEvent": {
50
+ "stepId": "step//./workflows/hooks//writeEvent"
51
51
  }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/retriable-and-fatal.ts": {
56
- "retryableAndFatalErrorWorkflow": {
57
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
55
+ "workflows/event-limit.ts": {
56
+ "runawayWorkflow": {
57
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
58
58
  "graph": {
59
59
  "nodes": [
60
60
  {
61
61
  "id": "start",
62
62
  "type": "workflowStart",
63
63
  "data": {
64
- "label": "Start: retryableAndFatalErrorWorkflow",
64
+ "label": "Start: runawayWorkflow",
65
65
  "nodeKind": "workflow_start"
66
66
  }
67
67
  },
@@ -69,9 +69,12 @@
69
69
  "id": "node_0",
70
70
  "type": "step",
71
71
  "data": {
72
- "label": "stepThatThrowsRetryableError",
72
+ "label": "tick",
73
73
  "nodeKind": "step",
74
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
74
+ "stepId": "step//./workflows/event-limit//tick"
75
+ },
76
+ "metadata": {
77
+ "loopId": "loop_0"
75
78
  }
76
79
  },
77
80
  {
@@ -84,6 +87,12 @@
84
87
  }
85
88
  ],
86
89
  "edges": [
90
+ {
91
+ "id": "e_node_0_back_node_0",
92
+ "source": "node_0",
93
+ "target": "node_0",
94
+ "type": "loop"
95
+ },
87
96
  {
88
97
  "id": "e_start_node_0",
89
98
  "source": "start",
@@ -100,16 +109,16 @@
100
109
  }
101
110
  }
102
111
  },
103
- "workflows/hooks.ts": {
104
- "collectWithHook": {
105
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
112
+ "workflows/noop.ts": {
113
+ "brokenWf": {
114
+ "workflowId": "workflow//./workflows/noop//brokenWf",
106
115
  "graph": {
107
116
  "nodes": [
108
117
  {
109
118
  "id": "start",
110
119
  "type": "workflowStart",
111
120
  "data": {
112
- "label": "Start: collectWithHook",
121
+ "label": "Start: brokenWf",
113
122
  "nodeKind": "workflow_start"
114
123
  }
115
124
  },
@@ -117,22 +126,18 @@
117
126
  "id": "node_0",
118
127
  "type": "step",
119
128
  "data": {
120
- "label": "writeEvent",
129
+ "label": "noop",
121
130
  "nodeKind": "step",
122
- "stepId": "step//./workflows/hooks//writeEvent"
131
+ "stepId": "step//./workflows/noop//noop"
123
132
  }
124
133
  },
125
134
  {
126
135
  "id": "node_1",
127
136
  "type": "step",
128
137
  "data": {
129
- "label": "writeEvent",
138
+ "label": "noop",
130
139
  "nodeKind": "step",
131
- "stepId": "step//./workflows/hooks//writeEvent"
132
- },
133
- "metadata": {
134
- "loopId": "loop_0",
135
- "loopIsAwait": true
140
+ "stepId": "step//./workflows/noop//noop"
136
141
  }
137
142
  },
138
143
  {
@@ -151,12 +156,6 @@
151
156
  "target": "node_0",
152
157
  "type": "default"
153
158
  },
154
- {
155
- "id": "e_node_1_back_node_1",
156
- "source": "node_1",
157
- "target": "node_1",
158
- "type": "loop"
159
- },
160
159
  {
161
160
  "id": "e_node_0_node_1",
162
161
  "source": "node_0",
@@ -173,16 +172,16 @@
173
172
  }
174
173
  }
175
174
  },
176
- "workflows/addition.ts": {
177
- "addition": {
178
- "workflowId": "workflow//./workflows/addition//addition",
175
+ "workflows/null-byte.ts": {
176
+ "nullByteWorkflow": {
177
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
179
178
  "graph": {
180
179
  "nodes": [
181
180
  {
182
181
  "id": "start",
183
182
  "type": "workflowStart",
184
183
  "data": {
185
- "label": "Start: addition",
184
+ "label": "Start: nullByteWorkflow",
186
185
  "nodeKind": "workflow_start"
187
186
  }
188
187
  },
@@ -190,9 +189,9 @@
190
189
  "id": "node_0",
191
190
  "type": "step",
192
191
  "data": {
193
- "label": "add",
192
+ "label": "nullByteStep",
194
193
  "nodeKind": "step",
195
- "stepId": "step//./workflows/addition//add"
194
+ "stepId": "step//./workflows/null-byte//nullByteStep"
196
195
  }
197
196
  },
198
197
  {
@@ -221,16 +220,16 @@
221
220
  }
222
221
  }
223
222
  },
224
- "workflows/event-limit.ts": {
225
- "runawayWorkflow": {
226
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
223
+ "workflows/retriable-and-fatal.ts": {
224
+ "retryableAndFatalErrorWorkflow": {
225
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
227
226
  "graph": {
228
227
  "nodes": [
229
228
  {
230
229
  "id": "start",
231
230
  "type": "workflowStart",
232
231
  "data": {
233
- "label": "Start: runawayWorkflow",
232
+ "label": "Start: retryableAndFatalErrorWorkflow",
234
233
  "nodeKind": "workflow_start"
235
234
  }
236
235
  },
@@ -238,12 +237,9 @@
238
237
  "id": "node_0",
239
238
  "type": "step",
240
239
  "data": {
241
- "label": "tick",
240
+ "label": "stepThatThrowsRetryableError",
242
241
  "nodeKind": "step",
243
- "stepId": "step//./workflows/event-limit//tick"
244
- },
245
- "metadata": {
246
- "loopId": "loop_0"
242
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
247
243
  }
248
244
  },
249
245
  {
@@ -256,12 +252,6 @@
256
252
  }
257
253
  ],
258
254
  "edges": [
259
- {
260
- "id": "e_node_0_back_node_0",
261
- "source": "node_0",
262
- "target": "node_0",
263
- "type": "loop"
264
- },
265
255
  {
266
256
  "id": "e_start_node_0",
267
257
  "source": "start",
@@ -278,16 +268,16 @@
278
268
  }
279
269
  }
280
270
  },
281
- "workflows/noop.ts": {
282
- "brokenWf": {
283
- "workflowId": "workflow//./workflows/noop//brokenWf",
271
+ "workflows/addition.ts": {
272
+ "addition": {
273
+ "workflowId": "workflow//./workflows/addition//addition",
284
274
  "graph": {
285
275
  "nodes": [
286
276
  {
287
277
  "id": "start",
288
278
  "type": "workflowStart",
289
279
  "data": {
290
- "label": "Start: brokenWf",
280
+ "label": "Start: addition",
291
281
  "nodeKind": "workflow_start"
292
282
  }
293
283
  },
@@ -295,18 +285,9 @@
295
285
  "id": "node_0",
296
286
  "type": "step",
297
287
  "data": {
298
- "label": "noop",
299
- "nodeKind": "step",
300
- "stepId": "step//./workflows/noop//noop"
301
- }
302
- },
303
- {
304
- "id": "node_1",
305
- "type": "step",
306
- "data": {
307
- "label": "noop",
288
+ "label": "add",
308
289
  "nodeKind": "step",
309
- "stepId": "step//./workflows/noop//noop"
290
+ "stepId": "step//./workflows/addition//add"
310
291
  }
311
292
  },
312
293
  {
@@ -326,14 +307,8 @@
326
307
  "type": "default"
327
308
  },
328
309
  {
329
- "id": "e_node_0_node_1",
310
+ "id": "e_node_0_end",
330
311
  "source": "node_0",
331
- "target": "node_1",
332
- "type": "default"
333
- },
334
- {
335
- "id": "e_node_1_end",
336
- "source": "node_1",
337
312
  "target": "end",
338
313
  "type": "default"
339
314
  }
@@ -341,16 +316,16 @@
341
316
  }
342
317
  }
343
318
  },
344
- "workflows/null-byte.ts": {
345
- "nullByteWorkflow": {
346
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
319
+ "workflows/hooks.ts": {
320
+ "collectWithHook": {
321
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
347
322
  "graph": {
348
323
  "nodes": [
349
324
  {
350
325
  "id": "start",
351
326
  "type": "workflowStart",
352
327
  "data": {
353
- "label": "Start: nullByteWorkflow",
328
+ "label": "Start: collectWithHook",
354
329
  "nodeKind": "workflow_start"
355
330
  }
356
331
  },
@@ -358,9 +333,22 @@
358
333
  "id": "node_0",
359
334
  "type": "step",
360
335
  "data": {
361
- "label": "nullByteStep",
336
+ "label": "writeEvent",
362
337
  "nodeKind": "step",
363
- "stepId": "step//./workflows/null-byte//nullByteStep"
338
+ "stepId": "step//./workflows/hooks//writeEvent"
339
+ }
340
+ },
341
+ {
342
+ "id": "node_1",
343
+ "type": "step",
344
+ "data": {
345
+ "label": "writeEvent",
346
+ "nodeKind": "step",
347
+ "stepId": "step//./workflows/hooks//writeEvent"
348
+ },
349
+ "metadata": {
350
+ "loopId": "loop_0",
351
+ "loopIsAwait": true
364
352
  }
365
353
  },
366
354
  {
@@ -380,8 +368,20 @@
380
368
  "type": "default"
381
369
  },
382
370
  {
383
- "id": "e_node_0_end",
371
+ "id": "e_node_1_back_node_1",
372
+ "source": "node_1",
373
+ "target": "node_1",
374
+ "type": "loop"
375
+ },
376
+ {
377
+ "id": "e_node_0_node_1",
384
378
  "source": "node_0",
379
+ "target": "node_1",
380
+ "type": "default"
381
+ },
382
+ {
383
+ "id": "e_node_1_end",
384
+ "source": "node_1",
385
385
  "target": "end",
386
386
  "type": "default"
387
387
  }