@workflow/world-testing 4.1.30 → 4.1.32

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/null-byte.ts": {
5
- "nullByteStep": {
6
- "stepId": "step//./workflows/null-byte//nullByteStep"
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,9 +19,19 @@
14
19
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
15
20
  }
16
21
  },
17
- "workflows/addition.ts": {
18
- "add": {
19
- "stepId": "step//./workflows/addition//add"
22
+ "workflows/hooks.ts": {
23
+ "writeEvent": {
24
+ "stepId": "step//./workflows/hooks//writeEvent"
25
+ }
26
+ },
27
+ "workflows/null-byte.ts": {
28
+ "nullByteStep": {
29
+ "stepId": "step//./workflows/null-byte//nullByteStep"
30
+ }
31
+ },
32
+ "workflow/dist/stdlib.js": {
33
+ "fetch": {
34
+ "stepId": "step//workflow@4.8.17//fetch"
20
35
  }
21
36
  },
22
37
  "workflow/dist/internal/builtins.js": {
@@ -30,38 +45,23 @@
30
45
  "stepId": "__builtin_response_text"
31
46
  }
32
47
  },
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"
41
- }
42
- },
43
48
  "workflows/noop.ts": {
44
49
  "noop": {
45
50
  "stepId": "step//./workflows/noop//noop"
46
51
  }
47
- },
48
- "workflows/hooks.ts": {
49
- "writeEvent": {
50
- "stepId": "step//./workflows/hooks//writeEvent"
51
- }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/null-byte.ts": {
56
- "nullByteWorkflow": {
57
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
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: nullByteWorkflow",
64
+ "label": "Start: addition",
65
65
  "nodeKind": "workflow_start"
66
66
  }
67
67
  },
@@ -69,9 +69,9 @@
69
69
  "id": "node_0",
70
70
  "type": "step",
71
71
  "data": {
72
- "label": "nullByteStep",
72
+ "label": "add",
73
73
  "nodeKind": "step",
74
- "stepId": "step//./workflows/null-byte//nullByteStep"
74
+ "stepId": "step//./workflows/addition//add"
75
75
  }
76
76
  },
77
77
  {
@@ -100,16 +100,16 @@
100
100
  }
101
101
  }
102
102
  },
103
- "workflows/retriable-and-fatal.ts": {
104
- "retryableAndFatalErrorWorkflow": {
105
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
103
+ "workflows/event-limit.ts": {
104
+ "runawayWorkflow": {
105
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
106
106
  "graph": {
107
107
  "nodes": [
108
108
  {
109
109
  "id": "start",
110
110
  "type": "workflowStart",
111
111
  "data": {
112
- "label": "Start: retryableAndFatalErrorWorkflow",
112
+ "label": "Start: runawayWorkflow",
113
113
  "nodeKind": "workflow_start"
114
114
  }
115
115
  },
@@ -117,9 +117,12 @@
117
117
  "id": "node_0",
118
118
  "type": "step",
119
119
  "data": {
120
- "label": "stepThatThrowsRetryableError",
120
+ "label": "tick",
121
121
  "nodeKind": "step",
122
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
122
+ "stepId": "step//./workflows/event-limit//tick"
123
+ },
124
+ "metadata": {
125
+ "loopId": "loop_0"
123
126
  }
124
127
  },
125
128
  {
@@ -132,6 +135,12 @@
132
135
  }
133
136
  ],
134
137
  "edges": [
138
+ {
139
+ "id": "e_node_0_back_node_0",
140
+ "source": "node_0",
141
+ "target": "node_0",
142
+ "type": "loop"
143
+ },
135
144
  {
136
145
  "id": "e_start_node_0",
137
146
  "source": "start",
@@ -148,16 +157,16 @@
148
157
  }
149
158
  }
150
159
  },
151
- "workflows/addition.ts": {
152
- "addition": {
153
- "workflowId": "workflow//./workflows/addition//addition",
160
+ "workflows/retriable-and-fatal.ts": {
161
+ "retryableAndFatalErrorWorkflow": {
162
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
154
163
  "graph": {
155
164
  "nodes": [
156
165
  {
157
166
  "id": "start",
158
167
  "type": "workflowStart",
159
168
  "data": {
160
- "label": "Start: addition",
169
+ "label": "Start: retryableAndFatalErrorWorkflow",
161
170
  "nodeKind": "workflow_start"
162
171
  }
163
172
  },
@@ -165,9 +174,9 @@
165
174
  "id": "node_0",
166
175
  "type": "step",
167
176
  "data": {
168
- "label": "add",
177
+ "label": "stepThatThrowsRetryableError",
169
178
  "nodeKind": "step",
170
- "stepId": "step//./workflows/addition//add"
179
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
171
180
  }
172
181
  },
173
182
  {
@@ -196,16 +205,16 @@
196
205
  }
197
206
  }
198
207
  },
199
- "workflows/event-limit.ts": {
200
- "runawayWorkflow": {
201
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
208
+ "workflows/hooks.ts": {
209
+ "collectWithHook": {
210
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
202
211
  "graph": {
203
212
  "nodes": [
204
213
  {
205
214
  "id": "start",
206
215
  "type": "workflowStart",
207
216
  "data": {
208
- "label": "Start: runawayWorkflow",
217
+ "label": "Start: collectWithHook",
209
218
  "nodeKind": "workflow_start"
210
219
  }
211
220
  },
@@ -213,12 +222,22 @@
213
222
  "id": "node_0",
214
223
  "type": "step",
215
224
  "data": {
216
- "label": "tick",
225
+ "label": "writeEvent",
217
226
  "nodeKind": "step",
218
- "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"
219
237
  },
220
238
  "metadata": {
221
- "loopId": "loop_0"
239
+ "loopId": "loop_0",
240
+ "loopIsAwait": true
222
241
  }
223
242
  },
224
243
  {
@@ -231,12 +250,6 @@
231
250
  }
232
251
  ],
233
252
  "edges": [
234
- {
235
- "id": "e_node_0_back_node_0",
236
- "source": "node_0",
237
- "target": "node_0",
238
- "type": "loop"
239
- },
240
253
  {
241
254
  "id": "e_start_node_0",
242
255
  "source": "start",
@@ -244,8 +257,20 @@
244
257
  "type": "default"
245
258
  },
246
259
  {
247
- "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",
248
267
  "source": "node_0",
268
+ "target": "node_1",
269
+ "type": "default"
270
+ },
271
+ {
272
+ "id": "e_node_1_end",
273
+ "source": "node_1",
249
274
  "target": "end",
250
275
  "type": "default"
251
276
  }
@@ -253,16 +278,16 @@
253
278
  }
254
279
  }
255
280
  },
256
- "workflows/noop.ts": {
257
- "brokenWf": {
258
- "workflowId": "workflow//./workflows/noop//brokenWf",
281
+ "workflows/null-byte.ts": {
282
+ "nullByteWorkflow": {
283
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
259
284
  "graph": {
260
285
  "nodes": [
261
286
  {
262
287
  "id": "start",
263
288
  "type": "workflowStart",
264
289
  "data": {
265
- "label": "Start: brokenWf",
290
+ "label": "Start: nullByteWorkflow",
266
291
  "nodeKind": "workflow_start"
267
292
  }
268
293
  },
@@ -270,18 +295,9 @@
270
295
  "id": "node_0",
271
296
  "type": "step",
272
297
  "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",
298
+ "label": "nullByteStep",
283
299
  "nodeKind": "step",
284
- "stepId": "step//./workflows/noop//noop"
300
+ "stepId": "step//./workflows/null-byte//nullByteStep"
285
301
  }
286
302
  },
287
303
  {
@@ -301,14 +317,8 @@
301
317
  "type": "default"
302
318
  },
303
319
  {
304
- "id": "e_node_0_node_1",
320
+ "id": "e_node_0_end",
305
321
  "source": "node_0",
306
- "target": "node_1",
307
- "type": "default"
308
- },
309
- {
310
- "id": "e_node_1_end",
311
- "source": "node_1",
312
322
  "target": "end",
313
323
  "type": "default"
314
324
  }
@@ -316,16 +326,16 @@
316
326
  }
317
327
  }
318
328
  },
319
- "workflows/hooks.ts": {
320
- "collectWithHook": {
321
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
329
+ "workflows/noop.ts": {
330
+ "brokenWf": {
331
+ "workflowId": "workflow//./workflows/noop//brokenWf",
322
332
  "graph": {
323
333
  "nodes": [
324
334
  {
325
335
  "id": "start",
326
336
  "type": "workflowStart",
327
337
  "data": {
328
- "label": "Start: collectWithHook",
338
+ "label": "Start: brokenWf",
329
339
  "nodeKind": "workflow_start"
330
340
  }
331
341
  },
@@ -333,22 +343,18 @@
333
343
  "id": "node_0",
334
344
  "type": "step",
335
345
  "data": {
336
- "label": "writeEvent",
346
+ "label": "noop",
337
347
  "nodeKind": "step",
338
- "stepId": "step//./workflows/hooks//writeEvent"
348
+ "stepId": "step//./workflows/noop//noop"
339
349
  }
340
350
  },
341
351
  {
342
352
  "id": "node_1",
343
353
  "type": "step",
344
354
  "data": {
345
- "label": "writeEvent",
355
+ "label": "noop",
346
356
  "nodeKind": "step",
347
- "stepId": "step//./workflows/hooks//writeEvent"
348
- },
349
- "metadata": {
350
- "loopId": "loop_0",
351
- "loopIsAwait": true
357
+ "stepId": "step//./workflows/noop//noop"
352
358
  }
353
359
  },
354
360
  {
@@ -367,12 +373,6 @@
367
373
  "target": "node_0",
368
374
  "type": "default"
369
375
  },
370
- {
371
- "id": "e_node_1_back_node_1",
372
- "source": "node_1",
373
- "target": "node_1",
374
- "type": "loop"
375
- },
376
376
  {
377
377
  "id": "e_node_0_node_1",
378
378
  "source": "node_0",