@workflow/world-testing 4.1.30 → 4.1.31

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,9 +1,9 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/null-byte.ts": {
5
- "nullByteStep": {
6
- "stepId": "step//./workflows/null-byte//nullByteStep"
4
+ "workflows/noop.ts": {
5
+ "noop": {
6
+ "stepId": "step//./workflows/noop//noop"
7
7
  }
8
8
  },
9
9
  "workflows/retriable-and-fatal.ts": {
@@ -14,9 +14,14 @@
14
14
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
15
15
  }
16
16
  },
17
- "workflows/addition.ts": {
18
- "add": {
19
- "stepId": "step//./workflows/addition//add"
17
+ "workflows/event-limit.ts": {
18
+ "tick": {
19
+ "stepId": "step//./workflows/event-limit//tick"
20
+ }
21
+ },
22
+ "workflows/hooks.ts": {
23
+ "writeEvent": {
24
+ "stepId": "step//./workflows/hooks//writeEvent"
20
25
  }
21
26
  },
22
27
  "workflow/dist/internal/builtins.js": {
@@ -30,38 +35,33 @@
30
35
  "stepId": "__builtin_response_text"
31
36
  }
32
37
  },
33
- "workflows/event-limit.ts": {
34
- "tick": {
35
- "stepId": "step//./workflows/event-limit//tick"
36
- }
37
- },
38
- "workflow/dist/stdlib.js": {
39
- "fetch": {
40
- "stepId": "step//workflow@4.8.15//fetch"
38
+ "workflows/null-byte.ts": {
39
+ "nullByteStep": {
40
+ "stepId": "step//./workflows/null-byte//nullByteStep"
41
41
  }
42
42
  },
43
- "workflows/noop.ts": {
44
- "noop": {
45
- "stepId": "step//./workflows/noop//noop"
43
+ "workflows/addition.ts": {
44
+ "add": {
45
+ "stepId": "step//./workflows/addition//add"
46
46
  }
47
47
  },
48
- "workflows/hooks.ts": {
49
- "writeEvent": {
50
- "stepId": "step//./workflows/hooks//writeEvent"
48
+ "workflow/dist/stdlib.js": {
49
+ "fetch": {
50
+ "stepId": "step//workflow@4.8.16//fetch"
51
51
  }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/null-byte.ts": {
56
- "nullByteWorkflow": {
57
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
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: nullByteWorkflow",
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": "nullByteStep",
72
+ "label": "noop",
73
73
  "nodeKind": "step",
74
- "stepId": "step//./workflows/null-byte//nullByteStep"
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
  }
@@ -148,16 +163,16 @@
148
163
  }
149
164
  }
150
165
  },
151
- "workflows/addition.ts": {
152
- "addition": {
153
- "workflowId": "workflow//./workflows/addition//addition",
166
+ "workflows/event-limit.ts": {
167
+ "runawayWorkflow": {
168
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
154
169
  "graph": {
155
170
  "nodes": [
156
171
  {
157
172
  "id": "start",
158
173
  "type": "workflowStart",
159
174
  "data": {
160
- "label": "Start: addition",
175
+ "label": "Start: runawayWorkflow",
161
176
  "nodeKind": "workflow_start"
162
177
  }
163
178
  },
@@ -165,9 +180,12 @@
165
180
  "id": "node_0",
166
181
  "type": "step",
167
182
  "data": {
168
- "label": "add",
183
+ "label": "tick",
169
184
  "nodeKind": "step",
170
- "stepId": "step//./workflows/addition//add"
185
+ "stepId": "step//./workflows/event-limit//tick"
186
+ },
187
+ "metadata": {
188
+ "loopId": "loop_0"
171
189
  }
172
190
  },
173
191
  {
@@ -180,6 +198,12 @@
180
198
  }
181
199
  ],
182
200
  "edges": [
201
+ {
202
+ "id": "e_node_0_back_node_0",
203
+ "source": "node_0",
204
+ "target": "node_0",
205
+ "type": "loop"
206
+ },
183
207
  {
184
208
  "id": "e_start_node_0",
185
209
  "source": "start",
@@ -196,16 +220,16 @@
196
220
  }
197
221
  }
198
222
  },
199
- "workflows/event-limit.ts": {
200
- "runawayWorkflow": {
201
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
223
+ "workflows/hooks.ts": {
224
+ "collectWithHook": {
225
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
202
226
  "graph": {
203
227
  "nodes": [
204
228
  {
205
229
  "id": "start",
206
230
  "type": "workflowStart",
207
231
  "data": {
208
- "label": "Start: runawayWorkflow",
232
+ "label": "Start: collectWithHook",
209
233
  "nodeKind": "workflow_start"
210
234
  }
211
235
  },
@@ -213,12 +237,22 @@
213
237
  "id": "node_0",
214
238
  "type": "step",
215
239
  "data": {
216
- "label": "tick",
240
+ "label": "writeEvent",
217
241
  "nodeKind": "step",
218
- "stepId": "step//./workflows/event-limit//tick"
242
+ "stepId": "step//./workflows/hooks//writeEvent"
243
+ }
244
+ },
245
+ {
246
+ "id": "node_1",
247
+ "type": "step",
248
+ "data": {
249
+ "label": "writeEvent",
250
+ "nodeKind": "step",
251
+ "stepId": "step//./workflows/hooks//writeEvent"
219
252
  },
220
253
  "metadata": {
221
- "loopId": "loop_0"
254
+ "loopId": "loop_0",
255
+ "loopIsAwait": true
222
256
  }
223
257
  },
224
258
  {
@@ -231,12 +265,6 @@
231
265
  }
232
266
  ],
233
267
  "edges": [
234
- {
235
- "id": "e_node_0_back_node_0",
236
- "source": "node_0",
237
- "target": "node_0",
238
- "type": "loop"
239
- },
240
268
  {
241
269
  "id": "e_start_node_0",
242
270
  "source": "start",
@@ -244,8 +272,20 @@
244
272
  "type": "default"
245
273
  },
246
274
  {
247
- "id": "e_node_0_end",
275
+ "id": "e_node_1_back_node_1",
276
+ "source": "node_1",
277
+ "target": "node_1",
278
+ "type": "loop"
279
+ },
280
+ {
281
+ "id": "e_node_0_node_1",
248
282
  "source": "node_0",
283
+ "target": "node_1",
284
+ "type": "default"
285
+ },
286
+ {
287
+ "id": "e_node_1_end",
288
+ "source": "node_1",
249
289
  "target": "end",
250
290
  "type": "default"
251
291
  }
@@ -253,16 +293,16 @@
253
293
  }
254
294
  }
255
295
  },
256
- "workflows/noop.ts": {
257
- "brokenWf": {
258
- "workflowId": "workflow//./workflows/noop//brokenWf",
296
+ "workflows/null-byte.ts": {
297
+ "nullByteWorkflow": {
298
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
259
299
  "graph": {
260
300
  "nodes": [
261
301
  {
262
302
  "id": "start",
263
303
  "type": "workflowStart",
264
304
  "data": {
265
- "label": "Start: brokenWf",
305
+ "label": "Start: nullByteWorkflow",
266
306
  "nodeKind": "workflow_start"
267
307
  }
268
308
  },
@@ -270,18 +310,9 @@
270
310
  "id": "node_0",
271
311
  "type": "step",
272
312
  "data": {
273
- "label": "noop",
274
- "nodeKind": "step",
275
- "stepId": "step//./workflows/noop//noop"
276
- }
277
- },
278
- {
279
- "id": "node_1",
280
- "type": "step",
281
- "data": {
282
- "label": "noop",
313
+ "label": "nullByteStep",
283
314
  "nodeKind": "step",
284
- "stepId": "step//./workflows/noop//noop"
315
+ "stepId": "step//./workflows/null-byte//nullByteStep"
285
316
  }
286
317
  },
287
318
  {
@@ -301,14 +332,8 @@
301
332
  "type": "default"
302
333
  },
303
334
  {
304
- "id": "e_node_0_node_1",
335
+ "id": "e_node_0_end",
305
336
  "source": "node_0",
306
- "target": "node_1",
307
- "type": "default"
308
- },
309
- {
310
- "id": "e_node_1_end",
311
- "source": "node_1",
312
337
  "target": "end",
313
338
  "type": "default"
314
339
  }
@@ -316,16 +341,16 @@
316
341
  }
317
342
  }
318
343
  },
319
- "workflows/hooks.ts": {
320
- "collectWithHook": {
321
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
344
+ "workflows/addition.ts": {
345
+ "addition": {
346
+ "workflowId": "workflow//./workflows/addition//addition",
322
347
  "graph": {
323
348
  "nodes": [
324
349
  {
325
350
  "id": "start",
326
351
  "type": "workflowStart",
327
352
  "data": {
328
- "label": "Start: collectWithHook",
353
+ "label": "Start: addition",
329
354
  "nodeKind": "workflow_start"
330
355
  }
331
356
  },
@@ -333,22 +358,9 @@
333
358
  "id": "node_0",
334
359
  "type": "step",
335
360
  "data": {
336
- "label": "writeEvent",
337
- "nodeKind": "step",
338
- "stepId": "step//./workflows/hooks//writeEvent"
339
- }
340
- },
341
- {
342
- "id": "node_1",
343
- "type": "step",
344
- "data": {
345
- "label": "writeEvent",
361
+ "label": "add",
346
362
  "nodeKind": "step",
347
- "stepId": "step//./workflows/hooks//writeEvent"
348
- },
349
- "metadata": {
350
- "loopId": "loop_0",
351
- "loopIsAwait": true
363
+ "stepId": "step//./workflows/addition//add"
352
364
  }
353
365
  },
354
366
  {
@@ -368,20 +380,8 @@
368
380
  "type": "default"
369
381
  },
370
382
  {
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",
383
+ "id": "e_node_0_end",
378
384
  "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
  }