@workflow/world-testing 4.1.23 → 4.1.25

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