@workflow/world-testing 4.1.12 → 4.1.14

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.
@@ -6,23 +6,9 @@
6
6
  "stepId": "step//./workflows/null-byte//nullByteStep"
7
7
  }
8
8
  },
9
- "workflows/retriable-and-fatal.ts": {
10
- "stepThatFails": {
11
- "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
12
- },
13
- "stepThatThrowsRetryableError": {
14
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
15
- }
16
- },
17
- "workflow/dist/internal/builtins.js": {
18
- "__builtin_response_array_buffer": {
19
- "stepId": "__builtin_response_array_buffer"
20
- },
21
- "__builtin_response_json": {
22
- "stepId": "__builtin_response_json"
23
- },
24
- "__builtin_response_text": {
25
- "stepId": "__builtin_response_text"
9
+ "workflows/addition.ts": {
10
+ "add": {
11
+ "stepId": "step//./workflows/addition//add"
26
12
  }
27
13
  },
28
14
  "workflows/noop.ts": {
@@ -30,9 +16,9 @@
30
16
  "stepId": "step//./workflows/noop//noop"
31
17
  }
32
18
  },
33
- "workflows/addition.ts": {
34
- "add": {
35
- "stepId": "step//./workflows/addition//add"
19
+ "workflow/dist/stdlib.js": {
20
+ "fetch": {
21
+ "stepId": "step//workflow@4.7.0//fetch"
36
22
  }
37
23
  },
38
24
  "workflows/hooks.ts": {
@@ -40,9 +26,23 @@
40
26
  "stepId": "step//./workflows/hooks//writeEvent"
41
27
  }
42
28
  },
43
- "workflow/dist/stdlib.js": {
44
- "fetch": {
45
- "stepId": "step//workflow@4.6.1//fetch"
29
+ "workflow/dist/internal/builtins.js": {
30
+ "__builtin_response_array_buffer": {
31
+ "stepId": "__builtin_response_array_buffer"
32
+ },
33
+ "__builtin_response_json": {
34
+ "stepId": "__builtin_response_json"
35
+ },
36
+ "__builtin_response_text": {
37
+ "stepId": "__builtin_response_text"
38
+ }
39
+ },
40
+ "workflows/retriable-and-fatal.ts": {
41
+ "stepThatFails": {
42
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
43
+ },
44
+ "stepThatThrowsRetryableError": {
45
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
46
46
  }
47
47
  }
48
48
  },
@@ -95,16 +95,16 @@
95
95
  }
96
96
  }
97
97
  },
98
- "workflows/retriable-and-fatal.ts": {
99
- "retryableAndFatalErrorWorkflow": {
100
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
98
+ "workflows/addition.ts": {
99
+ "addition": {
100
+ "workflowId": "workflow//./workflows/addition//addition",
101
101
  "graph": {
102
102
  "nodes": [
103
103
  {
104
104
  "id": "start",
105
105
  "type": "workflowStart",
106
106
  "data": {
107
- "label": "Start: retryableAndFatalErrorWorkflow",
107
+ "label": "Start: addition",
108
108
  "nodeKind": "workflow_start"
109
109
  }
110
110
  },
@@ -112,9 +112,9 @@
112
112
  "id": "node_0",
113
113
  "type": "step",
114
114
  "data": {
115
- "label": "stepThatThrowsRetryableError",
115
+ "label": "add",
116
116
  "nodeKind": "step",
117
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
117
+ "stepId": "step//./workflows/addition//add"
118
118
  }
119
119
  },
120
120
  {
@@ -206,16 +206,16 @@
206
206
  }
207
207
  }
208
208
  },
209
- "workflows/addition.ts": {
210
- "addition": {
211
- "workflowId": "workflow//./workflows/addition//addition",
209
+ "workflows/hooks.ts": {
210
+ "collectWithHook": {
211
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
212
212
  "graph": {
213
213
  "nodes": [
214
214
  {
215
215
  "id": "start",
216
216
  "type": "workflowStart",
217
217
  "data": {
218
- "label": "Start: addition",
218
+ "label": "Start: collectWithHook",
219
219
  "nodeKind": "workflow_start"
220
220
  }
221
221
  },
@@ -223,9 +223,22 @@
223
223
  "id": "node_0",
224
224
  "type": "step",
225
225
  "data": {
226
- "label": "add",
226
+ "label": "writeEvent",
227
227
  "nodeKind": "step",
228
- "stepId": "step//./workflows/addition//add"
228
+ "stepId": "step//./workflows/hooks//writeEvent"
229
+ }
230
+ },
231
+ {
232
+ "id": "node_1",
233
+ "type": "step",
234
+ "data": {
235
+ "label": "writeEvent",
236
+ "nodeKind": "step",
237
+ "stepId": "step//./workflows/hooks//writeEvent"
238
+ },
239
+ "metadata": {
240
+ "loopId": "loop_0",
241
+ "loopIsAwait": true
229
242
  }
230
243
  },
231
244
  {
@@ -245,8 +258,20 @@
245
258
  "type": "default"
246
259
  },
247
260
  {
248
- "id": "e_node_0_end",
261
+ "id": "e_node_1_back_node_1",
262
+ "source": "node_1",
263
+ "target": "node_1",
264
+ "type": "loop"
265
+ },
266
+ {
267
+ "id": "e_node_0_node_1",
249
268
  "source": "node_0",
269
+ "target": "node_1",
270
+ "type": "default"
271
+ },
272
+ {
273
+ "id": "e_node_1_end",
274
+ "source": "node_1",
250
275
  "target": "end",
251
276
  "type": "default"
252
277
  }
@@ -254,16 +279,16 @@
254
279
  }
255
280
  }
256
281
  },
257
- "workflows/hooks.ts": {
258
- "collectWithHook": {
259
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
282
+ "workflows/retriable-and-fatal.ts": {
283
+ "retryableAndFatalErrorWorkflow": {
284
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
260
285
  "graph": {
261
286
  "nodes": [
262
287
  {
263
288
  "id": "start",
264
289
  "type": "workflowStart",
265
290
  "data": {
266
- "label": "Start: collectWithHook",
291
+ "label": "Start: retryableAndFatalErrorWorkflow",
267
292
  "nodeKind": "workflow_start"
268
293
  }
269
294
  },
@@ -271,22 +296,9 @@
271
296
  "id": "node_0",
272
297
  "type": "step",
273
298
  "data": {
274
- "label": "writeEvent",
275
- "nodeKind": "step",
276
- "stepId": "step//./workflows/hooks//writeEvent"
277
- }
278
- },
279
- {
280
- "id": "node_1",
281
- "type": "step",
282
- "data": {
283
- "label": "writeEvent",
299
+ "label": "stepThatThrowsRetryableError",
284
300
  "nodeKind": "step",
285
- "stepId": "step//./workflows/hooks//writeEvent"
286
- },
287
- "metadata": {
288
- "loopId": "loop_0",
289
- "loopIsAwait": true
301
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
290
302
  }
291
303
  },
292
304
  {
@@ -306,20 +318,8 @@
306
318
  "type": "default"
307
319
  },
308
320
  {
309
- "id": "e_node_1_back_node_1",
310
- "source": "node_1",
311
- "target": "node_1",
312
- "type": "loop"
313
- },
314
- {
315
- "id": "e_node_0_node_1",
321
+ "id": "e_node_0_end",
316
322
  "source": "node_0",
317
- "target": "node_1",
318
- "type": "default"
319
- },
320
- {
321
- "id": "e_node_1_end",
322
- "source": "node_1",
323
323
  "target": "end",
324
324
  "type": "default"
325
325
  }