@workflow/world-testing 4.1.0-beta.58 → 4.1.0-beta.59

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