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

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