@workflow/world-testing 4.1.16 → 4.1.18

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,19 +1,27 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/event-limit.ts": {
5
- "tick": {
6
- "stepId": "step//./workflows/event-limit//tick"
4
+ "workflows/addition.ts": {
5
+ "add": {
6
+ "stepId": "step//./workflows/addition//add"
7
7
  }
8
8
  },
9
- "workflows/hooks.ts": {
10
- "writeEvent": {
11
- "stepId": "step//./workflows/hooks//writeEvent"
9
+ "workflows/null-byte.ts": {
10
+ "nullByteStep": {
11
+ "stepId": "step//./workflows/null-byte//nullByteStep"
12
12
  }
13
13
  },
14
- "workflows/addition.ts": {
15
- "add": {
16
- "stepId": "step//./workflows/addition//add"
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
+ "workflow/dist/stdlib.js": {
23
+ "fetch": {
24
+ "stepId": "step//workflow@4.8.3//fetch"
17
25
  }
18
26
  },
19
27
  "workflows/noop.ts": {
@@ -21,14 +29,14 @@
21
29
  "stepId": "step//./workflows/noop//noop"
22
30
  }
23
31
  },
24
- "workflows/null-byte.ts": {
25
- "nullByteStep": {
26
- "stepId": "step//./workflows/null-byte//nullByteStep"
32
+ "workflows/hooks.ts": {
33
+ "writeEvent": {
34
+ "stepId": "step//./workflows/hooks//writeEvent"
27
35
  }
28
36
  },
29
- "workflow/dist/stdlib.js": {
30
- "fetch": {
31
- "stepId": "step//workflow@4.8.1//fetch"
37
+ "workflows/event-limit.ts": {
38
+ "tick": {
39
+ "stepId": "step//./workflows/event-limit//tick"
32
40
  }
33
41
  },
34
42
  "workflow/dist/internal/builtins.js": {
@@ -41,27 +49,19 @@
41
49
  "__builtin_response_text": {
42
50
  "stepId": "__builtin_response_text"
43
51
  }
44
- },
45
- "workflows/retriable-and-fatal.ts": {
46
- "stepThatFails": {
47
- "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
48
- },
49
- "stepThatThrowsRetryableError": {
50
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
51
- }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/event-limit.ts": {
56
- "runawayWorkflow": {
57
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
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: runawayWorkflow",
64
+ "label": "Start: addition",
65
65
  "nodeKind": "workflow_start"
66
66
  }
67
67
  },
@@ -69,12 +69,9 @@
69
69
  "id": "node_0",
70
70
  "type": "step",
71
71
  "data": {
72
- "label": "tick",
72
+ "label": "add",
73
73
  "nodeKind": "step",
74
- "stepId": "step//./workflows/event-limit//tick"
75
- },
76
- "metadata": {
77
- "loopId": "loop_0"
74
+ "stepId": "step//./workflows/addition//add"
78
75
  }
79
76
  },
80
77
  {
@@ -87,12 +84,6 @@
87
84
  }
88
85
  ],
89
86
  "edges": [
90
- {
91
- "id": "e_node_0_back_node_0",
92
- "source": "node_0",
93
- "target": "node_0",
94
- "type": "loop"
95
- },
96
87
  {
97
88
  "id": "e_start_node_0",
98
89
  "source": "start",
@@ -109,16 +100,16 @@
109
100
  }
110
101
  }
111
102
  },
112
- "workflows/hooks.ts": {
113
- "collectWithHook": {
114
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
103
+ "workflows/null-byte.ts": {
104
+ "nullByteWorkflow": {
105
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
115
106
  "graph": {
116
107
  "nodes": [
117
108
  {
118
109
  "id": "start",
119
110
  "type": "workflowStart",
120
111
  "data": {
121
- "label": "Start: collectWithHook",
112
+ "label": "Start: nullByteWorkflow",
122
113
  "nodeKind": "workflow_start"
123
114
  }
124
115
  },
@@ -126,22 +117,9 @@
126
117
  "id": "node_0",
127
118
  "type": "step",
128
119
  "data": {
129
- "label": "writeEvent",
130
- "nodeKind": "step",
131
- "stepId": "step//./workflows/hooks//writeEvent"
132
- }
133
- },
134
- {
135
- "id": "node_1",
136
- "type": "step",
137
- "data": {
138
- "label": "writeEvent",
120
+ "label": "nullByteStep",
139
121
  "nodeKind": "step",
140
- "stepId": "step//./workflows/hooks//writeEvent"
141
- },
142
- "metadata": {
143
- "loopId": "loop_0",
144
- "loopIsAwait": true
122
+ "stepId": "step//./workflows/null-byte//nullByteStep"
145
123
  }
146
124
  },
147
125
  {
@@ -161,20 +139,8 @@
161
139
  "type": "default"
162
140
  },
163
141
  {
164
- "id": "e_node_1_back_node_1",
165
- "source": "node_1",
166
- "target": "node_1",
167
- "type": "loop"
168
- },
169
- {
170
- "id": "e_node_0_node_1",
142
+ "id": "e_node_0_end",
171
143
  "source": "node_0",
172
- "target": "node_1",
173
- "type": "default"
174
- },
175
- {
176
- "id": "e_node_1_end",
177
- "source": "node_1",
178
144
  "target": "end",
179
145
  "type": "default"
180
146
  }
@@ -182,16 +148,16 @@
182
148
  }
183
149
  }
184
150
  },
185
- "workflows/addition.ts": {
186
- "addition": {
187
- "workflowId": "workflow//./workflows/addition//addition",
151
+ "workflows/retriable-and-fatal.ts": {
152
+ "retryableAndFatalErrorWorkflow": {
153
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
188
154
  "graph": {
189
155
  "nodes": [
190
156
  {
191
157
  "id": "start",
192
158
  "type": "workflowStart",
193
159
  "data": {
194
- "label": "Start: addition",
160
+ "label": "Start: retryableAndFatalErrorWorkflow",
195
161
  "nodeKind": "workflow_start"
196
162
  }
197
163
  },
@@ -199,9 +165,9 @@
199
165
  "id": "node_0",
200
166
  "type": "step",
201
167
  "data": {
202
- "label": "add",
168
+ "label": "stepThatThrowsRetryableError",
203
169
  "nodeKind": "step",
204
- "stepId": "step//./workflows/addition//add"
170
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
205
171
  }
206
172
  },
207
173
  {
@@ -293,16 +259,16 @@
293
259
  }
294
260
  }
295
261
  },
296
- "workflows/null-byte.ts": {
297
- "nullByteWorkflow": {
298
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
262
+ "workflows/hooks.ts": {
263
+ "collectWithHook": {
264
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
299
265
  "graph": {
300
266
  "nodes": [
301
267
  {
302
268
  "id": "start",
303
269
  "type": "workflowStart",
304
270
  "data": {
305
- "label": "Start: nullByteWorkflow",
271
+ "label": "Start: collectWithHook",
306
272
  "nodeKind": "workflow_start"
307
273
  }
308
274
  },
@@ -310,9 +276,22 @@
310
276
  "id": "node_0",
311
277
  "type": "step",
312
278
  "data": {
313
- "label": "nullByteStep",
279
+ "label": "writeEvent",
314
280
  "nodeKind": "step",
315
- "stepId": "step//./workflows/null-byte//nullByteStep"
281
+ "stepId": "step//./workflows/hooks//writeEvent"
282
+ }
283
+ },
284
+ {
285
+ "id": "node_1",
286
+ "type": "step",
287
+ "data": {
288
+ "label": "writeEvent",
289
+ "nodeKind": "step",
290
+ "stepId": "step//./workflows/hooks//writeEvent"
291
+ },
292
+ "metadata": {
293
+ "loopId": "loop_0",
294
+ "loopIsAwait": true
316
295
  }
317
296
  },
318
297
  {
@@ -332,8 +311,20 @@
332
311
  "type": "default"
333
312
  },
334
313
  {
335
- "id": "e_node_0_end",
314
+ "id": "e_node_1_back_node_1",
315
+ "source": "node_1",
316
+ "target": "node_1",
317
+ "type": "loop"
318
+ },
319
+ {
320
+ "id": "e_node_0_node_1",
336
321
  "source": "node_0",
322
+ "target": "node_1",
323
+ "type": "default"
324
+ },
325
+ {
326
+ "id": "e_node_1_end",
327
+ "source": "node_1",
337
328
  "target": "end",
338
329
  "type": "default"
339
330
  }
@@ -341,16 +332,16 @@
341
332
  }
342
333
  }
343
334
  },
344
- "workflows/retriable-and-fatal.ts": {
345
- "retryableAndFatalErrorWorkflow": {
346
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
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: retryableAndFatalErrorWorkflow",
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": "stepThatThrowsRetryableError",
352
+ "label": "tick",
362
353
  "nodeKind": "step",
363
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
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",