@workflow/world-testing 4.1.18 → 4.1.20

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