@workflow/world-testing 4.1.0-beta.57 → 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,11 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflow/dist/stdlib.js": {
5
- "fetch": {
6
- "stepId": "step//workflow@4.1.0-beta.56//fetch"
7
- }
8
- },
9
4
  "workflow/dist/internal/builtins.js": {
10
5
  "__builtin_response_array_buffer": {
11
6
  "stepId": "__builtin_response_array_buffer"
@@ -17,11 +12,21 @@
17
12
  "stepId": "__builtin_response_text"
18
13
  }
19
14
  },
15
+ "workflows/addition.ts": {
16
+ "add": {
17
+ "stepId": "step//./workflows/addition//add"
18
+ }
19
+ },
20
20
  "workflows/null-byte.ts": {
21
21
  "nullByteStep": {
22
22
  "stepId": "step//./workflows/null-byte//nullByteStep"
23
23
  }
24
24
  },
25
+ "workflow/dist/stdlib.js": {
26
+ "fetch": {
27
+ "stepId": "step//workflow@4.1.0-beta.58//fetch"
28
+ }
29
+ },
25
30
  "workflows/hooks.ts": {
26
31
  "writeEvent": {
27
32
  "stepId": "step//./workflows/hooks//writeEvent"
@@ -35,11 +40,6 @@
35
40
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
36
41
  }
37
42
  },
38
- "workflows/addition.ts": {
39
- "add": {
40
- "stepId": "step//./workflows/addition//add"
41
- }
42
- },
43
43
  "workflows/noop.ts": {
44
44
  "noop": {
45
45
  "stepId": "step//./workflows/noop//noop"
@@ -47,12 +47,99 @@
47
47
  }
48
48
  },
49
49
  "workflows": {
50
+ "workflows/addition.ts": {
51
+ "addition": {
52
+ "workflowId": "workflow//./workflows/addition//addition",
53
+ "graph": {
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
+ ]
95
+ }
96
+ }
97
+ },
50
98
  "workflows/null-byte.ts": {
51
99
  "nullByteWorkflow": {
52
100
  "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
53
101
  "graph": {
54
- "nodes": [],
55
- "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
+ ]
56
143
  }
57
144
  }
58
145
  },
@@ -60,8 +147,72 @@
60
147
  "collectWithHook": {
61
148
  "workflowId": "workflow//./workflows/hooks//collectWithHook",
62
149
  "graph": {
63
- "nodes": [],
64
- "edges": []
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
+ ]
65
216
  }
66
217
  }
67
218
  },
@@ -69,17 +220,47 @@
69
220
  "retryableAndFatalErrorWorkflow": {
70
221
  "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
71
222
  "graph": {
72
- "nodes": [],
73
- "edges": []
74
- }
75
- }
76
- },
77
- "workflows/addition.ts": {
78
- "addition": {
79
- "workflowId": "workflow//./workflows/addition//addition",
80
- "graph": {
81
- "nodes": [],
82
- "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
+ ]
83
264
  }
84
265
  }
85
266
  },
@@ -87,8 +268,62 @@
87
268
  "brokenWf": {
88
269
  "workflowId": "workflow//./workflows/noop//brokenWf",
89
270
  "graph": {
90
- "nodes": [],
91
- "edges": []
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
  }