@workflow/world-testing 4.1.0-beta.53 → 4.1.0-beta.55

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,11 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/null-byte.ts": {
5
- "nullByteStep": {
6
- "stepId": "step//workflows/null-byte.ts//nullByteStep"
7
- }
8
- },
9
4
  "workflow/dist/internal/builtins.js": {
10
5
  "__builtin_response_array_buffer": {
11
6
  "stepId": "__builtin_response_array_buffer"
@@ -17,313 +12,83 @@
17
12
  "stepId": "__builtin_response_text"
18
13
  }
19
14
  },
20
- "workflows/noop.ts": {
21
- "noop": {
22
- "stepId": "step//workflows/noop.ts//noop"
15
+ "workflows/retriable-and-fatal.ts": {
16
+ "stepThatFails": {
17
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
18
+ },
19
+ "stepThatThrowsRetryableError": {
20
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
23
21
  }
24
22
  },
25
- "workflows/hooks.ts": {
26
- "writeEvent": {
27
- "stepId": "step//workflows/hooks.ts//writeEvent"
23
+ "workflows/noop.ts": {
24
+ "noop": {
25
+ "stepId": "step//./workflows/noop//noop"
28
26
  }
29
27
  },
30
28
  "workflow/dist/stdlib.js": {
31
29
  "fetch": {
32
- "stepId": "step//workflow/dist/stdlib.js//fetch"
30
+ "stepId": "step//workflow@4.1.0-beta.54//fetch"
33
31
  }
34
32
  },
35
33
  "workflows/addition.ts": {
36
34
  "add": {
37
- "stepId": "step//workflows/addition.ts//add"
35
+ "stepId": "step//./workflows/addition//add"
38
36
  }
39
37
  },
40
- "workflows/retriable-and-fatal.ts": {
41
- "stepThatFails": {
42
- "stepId": "step//workflows/retriable-and-fatal.ts//stepThatFails"
43
- },
44
- "stepThatThrowsRetryableError": {
45
- "stepId": "step//workflows/retriable-and-fatal.ts//stepThatThrowsRetryableError"
38
+ "workflows/null-byte.ts": {
39
+ "nullByteStep": {
40
+ "stepId": "step//./workflows/null-byte//nullByteStep"
41
+ }
42
+ },
43
+ "workflows/hooks.ts": {
44
+ "writeEvent": {
45
+ "stepId": "step//./workflows/hooks//writeEvent"
46
46
  }
47
47
  }
48
48
  },
49
49
  "workflows": {
50
- "workflows/null-byte.ts": {
51
- "nullByteWorkflow": {
52
- "workflowId": "workflow//workflows/null-byte.ts//nullByteWorkflow",
50
+ "workflows/retriable-and-fatal.ts": {
51
+ "retryableAndFatalErrorWorkflow": {
52
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
53
53
  "graph": {
54
- "nodes": [
55
- {
56
- "id": "start",
57
- "type": "workflowStart",
58
- "data": {
59
- "label": "Start: nullByteWorkflow",
60
- "nodeKind": "workflow_start"
61
- }
62
- },
63
- {
64
- "id": "node_0",
65
- "type": "step",
66
- "data": {
67
- "label": "nullByteStep",
68
- "nodeKind": "step",
69
- "stepId": "step//workflows/null-byte.ts//nullByteStep"
70
- }
71
- },
72
- {
73
- "id": "end",
74
- "type": "workflowEnd",
75
- "data": {
76
- "label": "Return",
77
- "nodeKind": "workflow_end"
78
- }
79
- }
80
- ],
81
- "edges": [
82
- {
83
- "id": "e_start_node_0",
84
- "source": "start",
85
- "target": "node_0",
86
- "type": "default"
87
- },
88
- {
89
- "id": "e_node_0_end",
90
- "source": "node_0",
91
- "target": "end",
92
- "type": "default"
93
- }
94
- ]
54
+ "nodes": [],
55
+ "edges": []
95
56
  }
96
57
  }
97
58
  },
98
59
  "workflows/noop.ts": {
99
60
  "brokenWf": {
100
- "workflowId": "workflow//workflows/noop.ts//brokenWf",
61
+ "workflowId": "workflow//./workflows/noop//brokenWf",
101
62
  "graph": {
102
- "nodes": [
103
- {
104
- "id": "start",
105
- "type": "workflowStart",
106
- "data": {
107
- "label": "Start: brokenWf",
108
- "nodeKind": "workflow_start"
109
- }
110
- },
111
- {
112
- "id": "node_0",
113
- "type": "step",
114
- "data": {
115
- "label": "noop",
116
- "nodeKind": "step",
117
- "stepId": "step//workflows/noop.ts//noop"
118
- }
119
- },
120
- {
121
- "id": "node_1",
122
- "type": "step",
123
- "data": {
124
- "label": "noop",
125
- "nodeKind": "step",
126
- "stepId": "step//workflows/noop.ts//noop"
127
- }
128
- },
129
- {
130
- "id": "end",
131
- "type": "workflowEnd",
132
- "data": {
133
- "label": "Return",
134
- "nodeKind": "workflow_end"
135
- }
136
- }
137
- ],
138
- "edges": [
139
- {
140
- "id": "e_start_node_0",
141
- "source": "start",
142
- "target": "node_0",
143
- "type": "default"
144
- },
145
- {
146
- "id": "e_node_0_node_1",
147
- "source": "node_0",
148
- "target": "node_1",
149
- "type": "default"
150
- },
151
- {
152
- "id": "e_node_1_end",
153
- "source": "node_1",
154
- "target": "end",
155
- "type": "default"
156
- }
157
- ]
63
+ "nodes": [],
64
+ "edges": []
158
65
  }
159
66
  }
160
67
  },
161
- "workflows/hooks.ts": {
162
- "collectWithHook": {
163
- "workflowId": "workflow//workflows/hooks.ts//collectWithHook",
68
+ "workflows/addition.ts": {
69
+ "addition": {
70
+ "workflowId": "workflow//./workflows/addition//addition",
164
71
  "graph": {
165
- "nodes": [
166
- {
167
- "id": "start",
168
- "type": "workflowStart",
169
- "data": {
170
- "label": "Start: collectWithHook",
171
- "nodeKind": "workflow_start"
172
- }
173
- },
174
- {
175
- "id": "node_0",
176
- "type": "step",
177
- "data": {
178
- "label": "writeEvent",
179
- "nodeKind": "step",
180
- "stepId": "step//workflows/hooks.ts//writeEvent"
181
- }
182
- },
183
- {
184
- "id": "node_1",
185
- "type": "step",
186
- "data": {
187
- "label": "writeEvent",
188
- "nodeKind": "step",
189
- "stepId": "step//workflows/hooks.ts//writeEvent"
190
- },
191
- "metadata": {
192
- "loopId": "loop_0",
193
- "loopIsAwait": true
194
- }
195
- },
196
- {
197
- "id": "end",
198
- "type": "workflowEnd",
199
- "data": {
200
- "label": "Return",
201
- "nodeKind": "workflow_end"
202
- }
203
- }
204
- ],
205
- "edges": [
206
- {
207
- "id": "e_start_node_0",
208
- "source": "start",
209
- "target": "node_0",
210
- "type": "default"
211
- },
212
- {
213
- "id": "e_node_1_back_node_1",
214
- "source": "node_1",
215
- "target": "node_1",
216
- "type": "loop"
217
- },
218
- {
219
- "id": "e_node_0_node_1",
220
- "source": "node_0",
221
- "target": "node_1",
222
- "type": "default"
223
- },
224
- {
225
- "id": "e_node_1_end",
226
- "source": "node_1",
227
- "target": "end",
228
- "type": "default"
229
- }
230
- ]
72
+ "nodes": [],
73
+ "edges": []
231
74
  }
232
75
  }
233
76
  },
234
- "workflows/addition.ts": {
235
- "addition": {
236
- "workflowId": "workflow//workflows/addition.ts//addition",
77
+ "workflows/null-byte.ts": {
78
+ "nullByteWorkflow": {
79
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
237
80
  "graph": {
238
- "nodes": [
239
- {
240
- "id": "start",
241
- "type": "workflowStart",
242
- "data": {
243
- "label": "Start: addition",
244
- "nodeKind": "workflow_start"
245
- }
246
- },
247
- {
248
- "id": "node_0",
249
- "type": "step",
250
- "data": {
251
- "label": "add",
252
- "nodeKind": "step",
253
- "stepId": "step//workflows/addition.ts//add"
254
- }
255
- },
256
- {
257
- "id": "end",
258
- "type": "workflowEnd",
259
- "data": {
260
- "label": "Return",
261
- "nodeKind": "workflow_end"
262
- }
263
- }
264
- ],
265
- "edges": [
266
- {
267
- "id": "e_start_node_0",
268
- "source": "start",
269
- "target": "node_0",
270
- "type": "default"
271
- },
272
- {
273
- "id": "e_node_0_end",
274
- "source": "node_0",
275
- "target": "end",
276
- "type": "default"
277
- }
278
- ]
81
+ "nodes": [],
82
+ "edges": []
279
83
  }
280
84
  }
281
85
  },
282
- "workflows/retriable-and-fatal.ts": {
283
- "retryableAndFatalErrorWorkflow": {
284
- "workflowId": "workflow//workflows/retriable-and-fatal.ts//retryableAndFatalErrorWorkflow",
86
+ "workflows/hooks.ts": {
87
+ "collectWithHook": {
88
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
285
89
  "graph": {
286
- "nodes": [
287
- {
288
- "id": "start",
289
- "type": "workflowStart",
290
- "data": {
291
- "label": "Start: retryableAndFatalErrorWorkflow",
292
- "nodeKind": "workflow_start"
293
- }
294
- },
295
- {
296
- "id": "node_0",
297
- "type": "step",
298
- "data": {
299
- "label": "stepThatThrowsRetryableError",
300
- "nodeKind": "step",
301
- "stepId": "step//workflows/retriable-and-fatal.ts//stepThatThrowsRetryableError"
302
- }
303
- },
304
- {
305
- "id": "end",
306
- "type": "workflowEnd",
307
- "data": {
308
- "label": "Return",
309
- "nodeKind": "workflow_end"
310
- }
311
- }
312
- ],
313
- "edges": [
314
- {
315
- "id": "e_start_node_0",
316
- "source": "start",
317
- "target": "node_0",
318
- "type": "default"
319
- },
320
- {
321
- "id": "e_node_0_end",
322
- "source": "node_0",
323
- "target": "end",
324
- "type": "default"
325
- }
326
- ]
90
+ "nodes": [],
91
+ "edges": []
327
92
  }
328
93
  }
329
94
  }