@workflow/world-testing 4.1.9 → 4.1.11

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