@workflow/world-testing 4.1.22 → 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/hooks.ts": {
5
- "writeEvent": {
6
- "stepId": "step//./workflows/hooks//writeEvent"
7
- }
8
- },
9
- "workflows/addition.ts": {
10
- "add": {
11
- "stepId": "step//./workflows/addition//add"
12
- }
13
- },
14
- "workflows/retriable-and-fatal.ts": {
15
- "stepThatFails": {
16
- "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
17
- },
18
- "stepThatThrowsRetryableError": {
19
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
20
- }
21
- },
22
4
  "workflows/event-limit.ts": {
23
5
  "tick": {
24
6
  "stepId": "step//./workflows/event-limit//tick"
@@ -34,11 +16,6 @@
34
16
  "stepId": "step//./workflows/null-byte//nullByteStep"
35
17
  }
36
18
  },
37
- "workflow/dist/stdlib.js": {
38
- "fetch": {
39
- "stepId": "step//workflow@4.8.7//fetch"
40
- }
41
- },
42
19
  "workflow/dist/internal/builtins.js": {
43
20
  "__builtin_response_array_buffer": {
44
21
  "stepId": "__builtin_response_array_buffer"
@@ -49,19 +26,42 @@
49
26
  "__builtin_response_text": {
50
27
  "stepId": "__builtin_response_text"
51
28
  }
29
+ },
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"
36
+ }
37
+ },
38
+ "workflow/dist/stdlib.js": {
39
+ "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
+ }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/hooks.ts": {
56
- "collectWithHook": {
57
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
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: collectWithHook",
64
+ "label": "Start: runawayWorkflow",
65
65
  "nodeKind": "workflow_start"
66
66
  }
67
67
  },
@@ -69,22 +69,12 @@
69
69
  "id": "node_0",
70
70
  "type": "step",
71
71
  "data": {
72
- "label": "writeEvent",
73
- "nodeKind": "step",
74
- "stepId": "step//./workflows/hooks//writeEvent"
75
- }
76
- },
77
- {
78
- "id": "node_1",
79
- "type": "step",
80
- "data": {
81
- "label": "writeEvent",
72
+ "label": "tick",
82
73
  "nodeKind": "step",
83
- "stepId": "step//./workflows/hooks//writeEvent"
74
+ "stepId": "step//./workflows/event-limit//tick"
84
75
  },
85
76
  "metadata": {
86
- "loopId": "loop_0",
87
- "loopIsAwait": true
77
+ "loopId": "loop_0"
88
78
  }
89
79
  },
90
80
  {
@@ -98,26 +88,20 @@
98
88
  ],
99
89
  "edges": [
100
90
  {
101
- "id": "e_start_node_0",
102
- "source": "start",
91
+ "id": "e_node_0_back_node_0",
92
+ "source": "node_0",
103
93
  "target": "node_0",
104
- "type": "default"
105
- },
106
- {
107
- "id": "e_node_1_back_node_1",
108
- "source": "node_1",
109
- "target": "node_1",
110
94
  "type": "loop"
111
95
  },
112
96
  {
113
- "id": "e_node_0_node_1",
114
- "source": "node_0",
115
- "target": "node_1",
97
+ "id": "e_start_node_0",
98
+ "source": "start",
99
+ "target": "node_0",
116
100
  "type": "default"
117
101
  },
118
102
  {
119
- "id": "e_node_1_end",
120
- "source": "node_1",
103
+ "id": "e_node_0_end",
104
+ "source": "node_0",
121
105
  "target": "end",
122
106
  "type": "default"
123
107
  }
@@ -125,16 +109,16 @@
125
109
  }
126
110
  }
127
111
  },
128
- "workflows/addition.ts": {
129
- "addition": {
130
- "workflowId": "workflow//./workflows/addition//addition",
112
+ "workflows/noop.ts": {
113
+ "brokenWf": {
114
+ "workflowId": "workflow//./workflows/noop//brokenWf",
131
115
  "graph": {
132
116
  "nodes": [
133
117
  {
134
118
  "id": "start",
135
119
  "type": "workflowStart",
136
120
  "data": {
137
- "label": "Start: addition",
121
+ "label": "Start: brokenWf",
138
122
  "nodeKind": "workflow_start"
139
123
  }
140
124
  },
@@ -142,9 +126,18 @@
142
126
  "id": "node_0",
143
127
  "type": "step",
144
128
  "data": {
145
- "label": "add",
129
+ "label": "noop",
146
130
  "nodeKind": "step",
147
- "stepId": "step//./workflows/addition//add"
131
+ "stepId": "step//./workflows/noop//noop"
132
+ }
133
+ },
134
+ {
135
+ "id": "node_1",
136
+ "type": "step",
137
+ "data": {
138
+ "label": "noop",
139
+ "nodeKind": "step",
140
+ "stepId": "step//./workflows/noop//noop"
148
141
  }
149
142
  },
150
143
  {
@@ -164,8 +157,14 @@
164
157
  "type": "default"
165
158
  },
166
159
  {
167
- "id": "e_node_0_end",
160
+ "id": "e_node_0_node_1",
168
161
  "source": "node_0",
162
+ "target": "node_1",
163
+ "type": "default"
164
+ },
165
+ {
166
+ "id": "e_node_1_end",
167
+ "source": "node_1",
169
168
  "target": "end",
170
169
  "type": "default"
171
170
  }
@@ -173,16 +172,16 @@
173
172
  }
174
173
  }
175
174
  },
176
- "workflows/retriable-and-fatal.ts": {
177
- "retryableAndFatalErrorWorkflow": {
178
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
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: retryableAndFatalErrorWorkflow",
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": "stepThatThrowsRetryableError",
192
+ "label": "nullByteStep",
194
193
  "nodeKind": "step",
195
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
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
  }