@workflow/world-testing 4.1.24 → 4.1.25
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.
- package/dist/.well-known/workflow/v1/flow.js +1955 -661
- package/dist/.well-known/workflow/v1/manifest.json +113 -113
- package/dist/.well-known/workflow/v1/step.js +1955 -675
- package/package.json +4 -4
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"workflows/
|
|
5
|
-
"
|
|
6
|
-
"stepId": "step//./workflows/
|
|
4
|
+
"workflows/addition.ts": {
|
|
5
|
+
"add": {
|
|
6
|
+
"stepId": "step//./workflows/addition//add"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"workflows/retriable-and-fatal.ts": {
|
|
10
|
+
"stepThatFails": {
|
|
11
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
12
|
+
},
|
|
13
|
+
"stepThatThrowsRetryableError": {
|
|
14
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
7
15
|
}
|
|
8
16
|
},
|
|
9
17
|
"workflows/noop.ts": {
|
|
@@ -16,6 +24,21 @@
|
|
|
16
24
|
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
17
25
|
}
|
|
18
26
|
},
|
|
27
|
+
"workflow/dist/stdlib.js": {
|
|
28
|
+
"fetch": {
|
|
29
|
+
"stepId": "step//workflow@4.8.10//fetch"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"workflows/hooks.ts": {
|
|
33
|
+
"writeEvent": {
|
|
34
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"workflows/event-limit.ts": {
|
|
38
|
+
"tick": {
|
|
39
|
+
"stepId": "step//./workflows/event-limit//tick"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
19
42
|
"workflow/dist/internal/builtins.js": {
|
|
20
43
|
"__builtin_response_array_buffer": {
|
|
21
44
|
"stepId": "__builtin_response_array_buffer"
|
|
@@ -26,42 +49,19 @@
|
|
|
26
49
|
"__builtin_response_text": {
|
|
27
50
|
"stepId": "__builtin_response_text"
|
|
28
51
|
}
|
|
29
|
-
},
|
|
30
|
-
"workflows/retriable-and-fatal.ts": {
|
|
31
|
-
"stepThatFails": {
|
|
32
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
33
|
-
},
|
|
34
|
-
"stepThatThrowsRetryableError": {
|
|
35
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"workflow/dist/stdlib.js": {
|
|
39
|
-
"fetch": {
|
|
40
|
-
"stepId": "step//workflow@4.8.9//fetch"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"workflows/addition.ts": {
|
|
44
|
-
"add": {
|
|
45
|
-
"stepId": "step//./workflows/addition//add"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"workflows/hooks.ts": {
|
|
49
|
-
"writeEvent": {
|
|
50
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
51
|
-
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"workflows": {
|
|
55
|
-
"workflows/
|
|
56
|
-
"
|
|
57
|
-
"workflowId": "workflow//./workflows/
|
|
55
|
+
"workflows/addition.ts": {
|
|
56
|
+
"addition": {
|
|
57
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
58
58
|
"graph": {
|
|
59
59
|
"nodes": [
|
|
60
60
|
{
|
|
61
61
|
"id": "start",
|
|
62
62
|
"type": "workflowStart",
|
|
63
63
|
"data": {
|
|
64
|
-
"label": "Start:
|
|
64
|
+
"label": "Start: addition",
|
|
65
65
|
"nodeKind": "workflow_start"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -69,12 +69,9 @@
|
|
|
69
69
|
"id": "node_0",
|
|
70
70
|
"type": "step",
|
|
71
71
|
"data": {
|
|
72
|
-
"label": "
|
|
72
|
+
"label": "add",
|
|
73
73
|
"nodeKind": "step",
|
|
74
|
-
"stepId": "step//./workflows/
|
|
75
|
-
},
|
|
76
|
-
"metadata": {
|
|
77
|
-
"loopId": "loop_0"
|
|
74
|
+
"stepId": "step//./workflows/addition//add"
|
|
78
75
|
}
|
|
79
76
|
},
|
|
80
77
|
{
|
|
@@ -87,12 +84,6 @@
|
|
|
87
84
|
}
|
|
88
85
|
],
|
|
89
86
|
"edges": [
|
|
90
|
-
{
|
|
91
|
-
"id": "e_node_0_back_node_0",
|
|
92
|
-
"source": "node_0",
|
|
93
|
-
"target": "node_0",
|
|
94
|
-
"type": "loop"
|
|
95
|
-
},
|
|
96
87
|
{
|
|
97
88
|
"id": "e_start_node_0",
|
|
98
89
|
"source": "start",
|
|
@@ -109,16 +100,16 @@
|
|
|
109
100
|
}
|
|
110
101
|
}
|
|
111
102
|
},
|
|
112
|
-
"workflows/
|
|
113
|
-
"
|
|
114
|
-
"workflowId": "workflow//./workflows/
|
|
103
|
+
"workflows/retriable-and-fatal.ts": {
|
|
104
|
+
"retryableAndFatalErrorWorkflow": {
|
|
105
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
115
106
|
"graph": {
|
|
116
107
|
"nodes": [
|
|
117
108
|
{
|
|
118
109
|
"id": "start",
|
|
119
110
|
"type": "workflowStart",
|
|
120
111
|
"data": {
|
|
121
|
-
"label": "Start:
|
|
112
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
122
113
|
"nodeKind": "workflow_start"
|
|
123
114
|
}
|
|
124
115
|
},
|
|
@@ -126,18 +117,9 @@
|
|
|
126
117
|
"id": "node_0",
|
|
127
118
|
"type": "step",
|
|
128
119
|
"data": {
|
|
129
|
-
"label": "
|
|
130
|
-
"nodeKind": "step",
|
|
131
|
-
"stepId": "step//./workflows/noop//noop"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"id": "node_1",
|
|
136
|
-
"type": "step",
|
|
137
|
-
"data": {
|
|
138
|
-
"label": "noop",
|
|
120
|
+
"label": "stepThatThrowsRetryableError",
|
|
139
121
|
"nodeKind": "step",
|
|
140
|
-
"stepId": "step//./workflows/
|
|
122
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
141
123
|
}
|
|
142
124
|
},
|
|
143
125
|
{
|
|
@@ -157,14 +139,8 @@
|
|
|
157
139
|
"type": "default"
|
|
158
140
|
},
|
|
159
141
|
{
|
|
160
|
-
"id": "
|
|
142
|
+
"id": "e_node_0_end",
|
|
161
143
|
"source": "node_0",
|
|
162
|
-
"target": "node_1",
|
|
163
|
-
"type": "default"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"id": "e_node_1_end",
|
|
167
|
-
"source": "node_1",
|
|
168
144
|
"target": "end",
|
|
169
145
|
"type": "default"
|
|
170
146
|
}
|
|
@@ -172,16 +148,16 @@
|
|
|
172
148
|
}
|
|
173
149
|
}
|
|
174
150
|
},
|
|
175
|
-
"workflows/
|
|
176
|
-
"
|
|
177
|
-
"workflowId": "workflow//./workflows/
|
|
151
|
+
"workflows/noop.ts": {
|
|
152
|
+
"brokenWf": {
|
|
153
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
178
154
|
"graph": {
|
|
179
155
|
"nodes": [
|
|
180
156
|
{
|
|
181
157
|
"id": "start",
|
|
182
158
|
"type": "workflowStart",
|
|
183
159
|
"data": {
|
|
184
|
-
"label": "Start:
|
|
160
|
+
"label": "Start: brokenWf",
|
|
185
161
|
"nodeKind": "workflow_start"
|
|
186
162
|
}
|
|
187
163
|
},
|
|
@@ -189,9 +165,18 @@
|
|
|
189
165
|
"id": "node_0",
|
|
190
166
|
"type": "step",
|
|
191
167
|
"data": {
|
|
192
|
-
"label": "
|
|
168
|
+
"label": "noop",
|
|
193
169
|
"nodeKind": "step",
|
|
194
|
-
"stepId": "step//./workflows/
|
|
170
|
+
"stepId": "step//./workflows/noop//noop"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "node_1",
|
|
175
|
+
"type": "step",
|
|
176
|
+
"data": {
|
|
177
|
+
"label": "noop",
|
|
178
|
+
"nodeKind": "step",
|
|
179
|
+
"stepId": "step//./workflows/noop//noop"
|
|
195
180
|
}
|
|
196
181
|
},
|
|
197
182
|
{
|
|
@@ -211,8 +196,14 @@
|
|
|
211
196
|
"type": "default"
|
|
212
197
|
},
|
|
213
198
|
{
|
|
214
|
-
"id": "
|
|
199
|
+
"id": "e_node_0_node_1",
|
|
215
200
|
"source": "node_0",
|
|
201
|
+
"target": "node_1",
|
|
202
|
+
"type": "default"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "e_node_1_end",
|
|
206
|
+
"source": "node_1",
|
|
216
207
|
"target": "end",
|
|
217
208
|
"type": "default"
|
|
218
209
|
}
|
|
@@ -220,16 +211,16 @@
|
|
|
220
211
|
}
|
|
221
212
|
}
|
|
222
213
|
},
|
|
223
|
-
"workflows/
|
|
224
|
-
"
|
|
225
|
-
"workflowId": "workflow//./workflows/
|
|
214
|
+
"workflows/null-byte.ts": {
|
|
215
|
+
"nullByteWorkflow": {
|
|
216
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
226
217
|
"graph": {
|
|
227
218
|
"nodes": [
|
|
228
219
|
{
|
|
229
220
|
"id": "start",
|
|
230
221
|
"type": "workflowStart",
|
|
231
222
|
"data": {
|
|
232
|
-
"label": "Start:
|
|
223
|
+
"label": "Start: nullByteWorkflow",
|
|
233
224
|
"nodeKind": "workflow_start"
|
|
234
225
|
}
|
|
235
226
|
},
|
|
@@ -237,9 +228,9 @@
|
|
|
237
228
|
"id": "node_0",
|
|
238
229
|
"type": "step",
|
|
239
230
|
"data": {
|
|
240
|
-
"label": "
|
|
231
|
+
"label": "nullByteStep",
|
|
241
232
|
"nodeKind": "step",
|
|
242
|
-
"stepId": "step//./workflows/
|
|
233
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
243
234
|
}
|
|
244
235
|
},
|
|
245
236
|
{
|
|
@@ -268,16 +259,16 @@
|
|
|
268
259
|
}
|
|
269
260
|
}
|
|
270
261
|
},
|
|
271
|
-
"workflows/
|
|
272
|
-
"
|
|
273
|
-
"workflowId": "workflow//./workflows/
|
|
262
|
+
"workflows/hooks.ts": {
|
|
263
|
+
"collectWithHook": {
|
|
264
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
274
265
|
"graph": {
|
|
275
266
|
"nodes": [
|
|
276
267
|
{
|
|
277
268
|
"id": "start",
|
|
278
269
|
"type": "workflowStart",
|
|
279
270
|
"data": {
|
|
280
|
-
"label": "Start:
|
|
271
|
+
"label": "Start: collectWithHook",
|
|
281
272
|
"nodeKind": "workflow_start"
|
|
282
273
|
}
|
|
283
274
|
},
|
|
@@ -285,9 +276,22 @@
|
|
|
285
276
|
"id": "node_0",
|
|
286
277
|
"type": "step",
|
|
287
278
|
"data": {
|
|
288
|
-
"label": "
|
|
279
|
+
"label": "writeEvent",
|
|
289
280
|
"nodeKind": "step",
|
|
290
|
-
"stepId": "step//./workflows/
|
|
281
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "node_1",
|
|
286
|
+
"type": "step",
|
|
287
|
+
"data": {
|
|
288
|
+
"label": "writeEvent",
|
|
289
|
+
"nodeKind": "step",
|
|
290
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
291
|
+
},
|
|
292
|
+
"metadata": {
|
|
293
|
+
"loopId": "loop_0",
|
|
294
|
+
"loopIsAwait": true
|
|
291
295
|
}
|
|
292
296
|
},
|
|
293
297
|
{
|
|
@@ -307,8 +311,20 @@
|
|
|
307
311
|
"type": "default"
|
|
308
312
|
},
|
|
309
313
|
{
|
|
310
|
-
"id": "
|
|
314
|
+
"id": "e_node_1_back_node_1",
|
|
315
|
+
"source": "node_1",
|
|
316
|
+
"target": "node_1",
|
|
317
|
+
"type": "loop"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"id": "e_node_0_node_1",
|
|
311
321
|
"source": "node_0",
|
|
322
|
+
"target": "node_1",
|
|
323
|
+
"type": "default"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "e_node_1_end",
|
|
327
|
+
"source": "node_1",
|
|
312
328
|
"target": "end",
|
|
313
329
|
"type": "default"
|
|
314
330
|
}
|
|
@@ -316,16 +332,16 @@
|
|
|
316
332
|
}
|
|
317
333
|
}
|
|
318
334
|
},
|
|
319
|
-
"workflows/
|
|
320
|
-
"
|
|
321
|
-
"workflowId": "workflow//./workflows/
|
|
335
|
+
"workflows/event-limit.ts": {
|
|
336
|
+
"runawayWorkflow": {
|
|
337
|
+
"workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
|
|
322
338
|
"graph": {
|
|
323
339
|
"nodes": [
|
|
324
340
|
{
|
|
325
341
|
"id": "start",
|
|
326
342
|
"type": "workflowStart",
|
|
327
343
|
"data": {
|
|
328
|
-
"label": "Start:
|
|
344
|
+
"label": "Start: runawayWorkflow",
|
|
329
345
|
"nodeKind": "workflow_start"
|
|
330
346
|
}
|
|
331
347
|
},
|
|
@@ -333,22 +349,12 @@
|
|
|
333
349
|
"id": "node_0",
|
|
334
350
|
"type": "step",
|
|
335
351
|
"data": {
|
|
336
|
-
"label": "
|
|
337
|
-
"nodeKind": "step",
|
|
338
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"id": "node_1",
|
|
343
|
-
"type": "step",
|
|
344
|
-
"data": {
|
|
345
|
-
"label": "writeEvent",
|
|
352
|
+
"label": "tick",
|
|
346
353
|
"nodeKind": "step",
|
|
347
|
-
"stepId": "step//./workflows/
|
|
354
|
+
"stepId": "step//./workflows/event-limit//tick"
|
|
348
355
|
},
|
|
349
356
|
"metadata": {
|
|
350
|
-
"loopId": "loop_0"
|
|
351
|
-
"loopIsAwait": true
|
|
357
|
+
"loopId": "loop_0"
|
|
352
358
|
}
|
|
353
359
|
},
|
|
354
360
|
{
|
|
@@ -362,26 +368,20 @@
|
|
|
362
368
|
],
|
|
363
369
|
"edges": [
|
|
364
370
|
{
|
|
365
|
-
"id": "
|
|
366
|
-
"source": "
|
|
371
|
+
"id": "e_node_0_back_node_0",
|
|
372
|
+
"source": "node_0",
|
|
367
373
|
"target": "node_0",
|
|
368
|
-
"type": "default"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"id": "e_node_1_back_node_1",
|
|
372
|
-
"source": "node_1",
|
|
373
|
-
"target": "node_1",
|
|
374
374
|
"type": "loop"
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
|
-
"id": "
|
|
378
|
-
"source": "
|
|
379
|
-
"target": "
|
|
377
|
+
"id": "e_start_node_0",
|
|
378
|
+
"source": "start",
|
|
379
|
+
"target": "node_0",
|
|
380
380
|
"type": "default"
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
|
-
"id": "
|
|
384
|
-
"source": "
|
|
383
|
+
"id": "e_node_0_end",
|
|
384
|
+
"source": "node_0",
|
|
385
385
|
"target": "end",
|
|
386
386
|
"type": "default"
|
|
387
387
|
}
|