@workflow/world-testing 4.1.28 → 4.1.29

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