@workflow/world-testing 4.1.16 → 4.1.17

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,34 +1,42 @@
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"
7
- }
8
- },
9
- "workflows/hooks.ts": {
10
- "writeEvent": {
11
- "stepId": "step//./workflows/hooks//writeEvent"
12
- }
13
- },
14
4
  "workflows/addition.ts": {
15
5
  "add": {
16
6
  "stepId": "step//./workflows/addition//add"
17
7
  }
18
8
  },
9
+ "workflows/null-byte.ts": {
10
+ "nullByteStep": {
11
+ "stepId": "step//./workflows/null-byte//nullByteStep"
12
+ }
13
+ },
19
14
  "workflows/noop.ts": {
20
15
  "noop": {
21
16
  "stepId": "step//./workflows/noop//noop"
22
17
  }
23
18
  },
24
- "workflows/null-byte.ts": {
25
- "nullByteStep": {
26
- "stepId": "step//./workflows/null-byte//nullByteStep"
19
+ "workflows/hooks.ts": {
20
+ "writeEvent": {
21
+ "stepId": "step//./workflows/hooks//writeEvent"
22
+ }
23
+ },
24
+ "workflows/event-limit.ts": {
25
+ "tick": {
26
+ "stepId": "step//./workflows/event-limit//tick"
27
+ }
28
+ },
29
+ "workflows/retriable-and-fatal.ts": {
30
+ "stepThatFails": {
31
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
32
+ },
33
+ "stepThatThrowsRetryableError": {
34
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
27
35
  }
28
36
  },
29
37
  "workflow/dist/stdlib.js": {
30
38
  "fetch": {
31
- "stepId": "step//workflow@4.8.1//fetch"
39
+ "stepId": "step//workflow@4.8.2//fetch"
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/noop.ts": {
152
+ "brokenWf": {
153
+ "workflowId": "workflow//./workflows/noop//brokenWf",
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: brokenWf",
195
161
  "nodeKind": "workflow_start"
196
162
  }
197
163
  },
@@ -199,9 +165,18 @@
199
165
  "id": "node_0",
200
166
  "type": "step",
201
167
  "data": {
202
- "label": "add",
168
+ "label": "noop",
203
169
  "nodeKind": "step",
204
- "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"
205
180
  }
206
181
  },
207
182
  {
@@ -221,8 +196,14 @@
221
196
  "type": "default"
222
197
  },
223
198
  {
224
- "id": "e_node_0_end",
199
+ "id": "e_node_0_node_1",
225
200
  "source": "node_0",
201
+ "target": "node_1",
202
+ "type": "default"
203
+ },
204
+ {
205
+ "id": "e_node_1_end",
206
+ "source": "node_1",
226
207
  "target": "end",
227
208
  "type": "default"
228
209
  }
@@ -230,16 +211,16 @@
230
211
  }
231
212
  }
232
213
  },
233
- "workflows/noop.ts": {
234
- "brokenWf": {
235
- "workflowId": "workflow//./workflows/noop//brokenWf",
214
+ "workflows/hooks.ts": {
215
+ "collectWithHook": {
216
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
236
217
  "graph": {
237
218
  "nodes": [
238
219
  {
239
220
  "id": "start",
240
221
  "type": "workflowStart",
241
222
  "data": {
242
- "label": "Start: brokenWf",
223
+ "label": "Start: collectWithHook",
243
224
  "nodeKind": "workflow_start"
244
225
  }
245
226
  },
@@ -247,18 +228,22 @@
247
228
  "id": "node_0",
248
229
  "type": "step",
249
230
  "data": {
250
- "label": "noop",
231
+ "label": "writeEvent",
251
232
  "nodeKind": "step",
252
- "stepId": "step//./workflows/noop//noop"
233
+ "stepId": "step//./workflows/hooks//writeEvent"
253
234
  }
254
235
  },
255
236
  {
256
237
  "id": "node_1",
257
238
  "type": "step",
258
239
  "data": {
259
- "label": "noop",
240
+ "label": "writeEvent",
260
241
  "nodeKind": "step",
261
- "stepId": "step//./workflows/noop//noop"
242
+ "stepId": "step//./workflows/hooks//writeEvent"
243
+ },
244
+ "metadata": {
245
+ "loopId": "loop_0",
246
+ "loopIsAwait": true
262
247
  }
263
248
  },
264
249
  {
@@ -277,6 +262,12 @@
277
262
  "target": "node_0",
278
263
  "type": "default"
279
264
  },
265
+ {
266
+ "id": "e_node_1_back_node_1",
267
+ "source": "node_1",
268
+ "target": "node_1",
269
+ "type": "loop"
270
+ },
280
271
  {
281
272
  "id": "e_node_0_node_1",
282
273
  "source": "node_0",
@@ -293,16 +284,16 @@
293
284
  }
294
285
  }
295
286
  },
296
- "workflows/null-byte.ts": {
297
- "nullByteWorkflow": {
298
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
287
+ "workflows/event-limit.ts": {
288
+ "runawayWorkflow": {
289
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
299
290
  "graph": {
300
291
  "nodes": [
301
292
  {
302
293
  "id": "start",
303
294
  "type": "workflowStart",
304
295
  "data": {
305
- "label": "Start: nullByteWorkflow",
296
+ "label": "Start: runawayWorkflow",
306
297
  "nodeKind": "workflow_start"
307
298
  }
308
299
  },
@@ -310,9 +301,12 @@
310
301
  "id": "node_0",
311
302
  "type": "step",
312
303
  "data": {
313
- "label": "nullByteStep",
304
+ "label": "tick",
314
305
  "nodeKind": "step",
315
- "stepId": "step//./workflows/null-byte//nullByteStep"
306
+ "stepId": "step//./workflows/event-limit//tick"
307
+ },
308
+ "metadata": {
309
+ "loopId": "loop_0"
316
310
  }
317
311
  },
318
312
  {
@@ -325,6 +319,12 @@
325
319
  }
326
320
  ],
327
321
  "edges": [
322
+ {
323
+ "id": "e_node_0_back_node_0",
324
+ "source": "node_0",
325
+ "target": "node_0",
326
+ "type": "loop"
327
+ },
328
328
  {
329
329
  "id": "e_start_node_0",
330
330
  "source": "start",