@workflow/world-testing 5.0.0-beta.13 → 5.0.0-beta.14
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.mjs +6256 -5945
- package/dist/.well-known/workflow/v1/manifest.json +97 -97
- package/dist/.well-known/workflow/v1/step.mjs +3127 -2987
- package/package.json +6 -6
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
+
"workflows/addition.ts": {
|
|
5
|
+
"add": {
|
|
6
|
+
"stepId": "step//./workflows/addition//add"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
4
9
|
"workflows/retriable-and-fatal.ts": {
|
|
5
10
|
"stepThatFails": {
|
|
6
11
|
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
@@ -9,9 +14,14 @@
|
|
|
9
14
|
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
10
15
|
}
|
|
11
16
|
},
|
|
12
|
-
"workflows/
|
|
13
|
-
"
|
|
14
|
-
"stepId": "step//./workflows/
|
|
17
|
+
"workflows/hooks.ts": {
|
|
18
|
+
"writeEvent": {
|
|
19
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"workflows/null-byte.ts": {
|
|
23
|
+
"nullByteStep": {
|
|
24
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
15
25
|
}
|
|
16
26
|
},
|
|
17
27
|
"workflows/inline-execution.ts": {
|
|
@@ -30,21 +40,6 @@
|
|
|
30
40
|
"stepId": "step//./workflows/noop//noop"
|
|
31
41
|
}
|
|
32
42
|
},
|
|
33
|
-
"workflows/null-byte.ts": {
|
|
34
|
-
"nullByteStep": {
|
|
35
|
-
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"workflows/hooks.ts": {
|
|
39
|
-
"writeEvent": {
|
|
40
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"workflow/dist/stdlib.js": {
|
|
44
|
-
"fetch": {
|
|
45
|
-
"stepId": "step//workflow@5.0.0-beta.13//fetch"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
43
|
"workflow/dist/internal/builtins.js": {
|
|
49
44
|
"__builtin_response_array_buffer": {
|
|
50
45
|
"stepId": "__builtin_response_array_buffer"
|
|
@@ -59,55 +54,60 @@
|
|
|
59
54
|
"stepId": "__builtin_set_attributes"
|
|
60
55
|
}
|
|
61
56
|
},
|
|
57
|
+
"workflow/dist/stdlib.js": {
|
|
58
|
+
"fetch": {
|
|
59
|
+
"stepId": "step//./workflow/dist/stdlib//fetch"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
62
|
"core/dist/runtime/start.js": {
|
|
63
63
|
"start": {
|
|
64
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
64
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.14//start"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"core/dist/runtime/run.js": {
|
|
68
68
|
"Run#cancel": {
|
|
69
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
69
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#cancel"
|
|
70
70
|
},
|
|
71
71
|
"Run#completedAt": {
|
|
72
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
72
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#completedAt"
|
|
73
73
|
},
|
|
74
74
|
"Run#createdAt": {
|
|
75
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
75
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#createdAt"
|
|
76
76
|
},
|
|
77
77
|
"Run#exists": {
|
|
78
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
78
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#exists"
|
|
79
79
|
},
|
|
80
80
|
"Run#getReadable": {
|
|
81
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
81
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#getReadable"
|
|
82
82
|
},
|
|
83
83
|
"Run#returnValue": {
|
|
84
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
84
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#returnValue"
|
|
85
85
|
},
|
|
86
86
|
"Run#startedAt": {
|
|
87
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
87
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#startedAt"
|
|
88
88
|
},
|
|
89
89
|
"Run#status": {
|
|
90
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
90
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#status"
|
|
91
91
|
},
|
|
92
92
|
"Run#wakeUp": {
|
|
93
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
93
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#wakeUp"
|
|
94
94
|
},
|
|
95
95
|
"Run#workflowName": {
|
|
96
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
96
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.14//Run#workflowName"
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"workflows": {
|
|
101
|
-
"workflows/
|
|
102
|
-
"
|
|
103
|
-
"workflowId": "workflow//./workflows/
|
|
101
|
+
"workflows/addition.ts": {
|
|
102
|
+
"addTenWorkflow": {
|
|
103
|
+
"workflowId": "workflow//./workflows/addition//addTenWorkflow",
|
|
104
104
|
"graph": {
|
|
105
105
|
"nodes": [
|
|
106
106
|
{
|
|
107
107
|
"id": "start",
|
|
108
108
|
"type": "workflowStart",
|
|
109
109
|
"data": {
|
|
110
|
-
"label": "Start:
|
|
110
|
+
"label": "Start: addTenWorkflow",
|
|
111
111
|
"nodeKind": "workflow_start"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
@@ -129,18 +129,16 @@
|
|
|
129
129
|
}
|
|
130
130
|
]
|
|
131
131
|
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"addTenWorkflow": {
|
|
136
|
-
"workflowId": "workflow//./workflows/addition//addTenWorkflow",
|
|
132
|
+
},
|
|
133
|
+
"addition": {
|
|
134
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
137
135
|
"graph": {
|
|
138
136
|
"nodes": [
|
|
139
137
|
{
|
|
140
138
|
"id": "start",
|
|
141
139
|
"type": "workflowStart",
|
|
142
140
|
"data": {
|
|
143
|
-
"label": "Start:
|
|
141
|
+
"label": "Start: addition",
|
|
144
142
|
"nodeKind": "workflow_start"
|
|
145
143
|
}
|
|
146
144
|
},
|
|
@@ -162,16 +160,18 @@
|
|
|
162
160
|
}
|
|
163
161
|
]
|
|
164
162
|
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"workflows/retriable-and-fatal.ts": {
|
|
166
|
+
"retryableAndFatalErrorWorkflow": {
|
|
167
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
168
168
|
"graph": {
|
|
169
169
|
"nodes": [
|
|
170
170
|
{
|
|
171
171
|
"id": "start",
|
|
172
172
|
"type": "workflowStart",
|
|
173
173
|
"data": {
|
|
174
|
-
"label": "Start:
|
|
174
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
175
175
|
"nodeKind": "workflow_start"
|
|
176
176
|
}
|
|
177
177
|
},
|
|
@@ -195,16 +195,16 @@
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
|
-
"workflows/
|
|
199
|
-
"
|
|
200
|
-
"workflowId": "workflow//./workflows/
|
|
198
|
+
"workflows/hooks.ts": {
|
|
199
|
+
"collectWithHook": {
|
|
200
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
201
201
|
"graph": {
|
|
202
202
|
"nodes": [
|
|
203
203
|
{
|
|
204
204
|
"id": "start",
|
|
205
205
|
"type": "workflowStart",
|
|
206
206
|
"data": {
|
|
207
|
-
"label": "Start:
|
|
207
|
+
"label": "Start: collectWithHook",
|
|
208
208
|
"nodeKind": "workflow_start"
|
|
209
209
|
}
|
|
210
210
|
},
|
|
@@ -226,16 +226,18 @@
|
|
|
226
226
|
}
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"workflows/null-byte.ts": {
|
|
232
|
+
"nullByteWorkflow": {
|
|
233
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
232
234
|
"graph": {
|
|
233
235
|
"nodes": [
|
|
234
236
|
{
|
|
235
237
|
"id": "start",
|
|
236
238
|
"type": "workflowStart",
|
|
237
239
|
"data": {
|
|
238
|
-
"label": "Start:
|
|
240
|
+
"label": "Start: nullByteWorkflow",
|
|
239
241
|
"nodeKind": "workflow_start"
|
|
240
242
|
}
|
|
241
243
|
},
|
|
@@ -257,16 +259,18 @@
|
|
|
257
259
|
}
|
|
258
260
|
]
|
|
259
261
|
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"workflows/inline-execution.ts": {
|
|
265
|
+
"hookWorkflow": {
|
|
266
|
+
"workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
|
|
263
267
|
"graph": {
|
|
264
268
|
"nodes": [
|
|
265
269
|
{
|
|
266
270
|
"id": "start",
|
|
267
271
|
"type": "workflowStart",
|
|
268
272
|
"data": {
|
|
269
|
-
"label": "Start:
|
|
273
|
+
"label": "Start: hookWorkflow",
|
|
270
274
|
"nodeKind": "workflow_start"
|
|
271
275
|
}
|
|
272
276
|
},
|
|
@@ -289,15 +293,15 @@
|
|
|
289
293
|
]
|
|
290
294
|
}
|
|
291
295
|
},
|
|
292
|
-
"
|
|
293
|
-
"workflowId": "workflow//./workflows/inline-execution//
|
|
296
|
+
"parallelStepsWorkflow": {
|
|
297
|
+
"workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
|
|
294
298
|
"graph": {
|
|
295
299
|
"nodes": [
|
|
296
300
|
{
|
|
297
301
|
"id": "start",
|
|
298
302
|
"type": "workflowStart",
|
|
299
303
|
"data": {
|
|
300
|
-
"label": "Start:
|
|
304
|
+
"label": "Start: parallelStepsWorkflow",
|
|
301
305
|
"nodeKind": "workflow_start"
|
|
302
306
|
}
|
|
303
307
|
},
|
|
@@ -320,26 +324,18 @@
|
|
|
320
324
|
]
|
|
321
325
|
}
|
|
322
326
|
},
|
|
323
|
-
"
|
|
324
|
-
"workflowId": "workflow//./workflows/inline-execution//
|
|
327
|
+
"sequentialStepsWithStreamWorkflow": {
|
|
328
|
+
"workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
|
|
325
329
|
"graph": {
|
|
326
330
|
"nodes": [
|
|
327
331
|
{
|
|
328
332
|
"id": "start",
|
|
329
333
|
"type": "workflowStart",
|
|
330
334
|
"data": {
|
|
331
|
-
"label": "Start:
|
|
335
|
+
"label": "Start: sequentialStepsWithStreamWorkflow",
|
|
332
336
|
"nodeKind": "workflow_start"
|
|
333
337
|
}
|
|
334
338
|
},
|
|
335
|
-
{
|
|
336
|
-
"id": "node_0",
|
|
337
|
-
"type": "primitive",
|
|
338
|
-
"data": {
|
|
339
|
-
"label": "sleep",
|
|
340
|
-
"nodeKind": "primitive"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
339
|
{
|
|
344
340
|
"id": "end",
|
|
345
341
|
"type": "workflowEnd",
|
|
@@ -351,29 +347,23 @@
|
|
|
351
347
|
],
|
|
352
348
|
"edges": [
|
|
353
349
|
{
|
|
354
|
-
"id": "
|
|
350
|
+
"id": "e_start_end",
|
|
355
351
|
"source": "start",
|
|
356
|
-
"target": "node_0",
|
|
357
|
-
"type": "default"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"id": "e_node_0_end",
|
|
361
|
-
"source": "node_0",
|
|
362
352
|
"target": "end",
|
|
363
353
|
"type": "default"
|
|
364
354
|
}
|
|
365
355
|
]
|
|
366
356
|
}
|
|
367
357
|
},
|
|
368
|
-
"
|
|
369
|
-
"workflowId": "workflow//./workflows/inline-execution//
|
|
358
|
+
"sequentialStepsWorkflow": {
|
|
359
|
+
"workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
|
|
370
360
|
"graph": {
|
|
371
361
|
"nodes": [
|
|
372
362
|
{
|
|
373
363
|
"id": "start",
|
|
374
364
|
"type": "workflowStart",
|
|
375
365
|
"data": {
|
|
376
|
-
"label": "Start:
|
|
366
|
+
"label": "Start: sequentialStepsWorkflow",
|
|
377
367
|
"nodeKind": "workflow_start"
|
|
378
368
|
}
|
|
379
369
|
},
|
|
@@ -395,21 +385,27 @@
|
|
|
395
385
|
}
|
|
396
386
|
]
|
|
397
387
|
}
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
"brokenWf": {
|
|
402
|
-
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
388
|
+
},
|
|
389
|
+
"sleepWorkflow": {
|
|
390
|
+
"workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
|
|
403
391
|
"graph": {
|
|
404
392
|
"nodes": [
|
|
405
393
|
{
|
|
406
394
|
"id": "start",
|
|
407
395
|
"type": "workflowStart",
|
|
408
396
|
"data": {
|
|
409
|
-
"label": "Start:
|
|
397
|
+
"label": "Start: sleepWorkflow",
|
|
410
398
|
"nodeKind": "workflow_start"
|
|
411
399
|
}
|
|
412
400
|
},
|
|
401
|
+
{
|
|
402
|
+
"id": "node_0",
|
|
403
|
+
"type": "primitive",
|
|
404
|
+
"data": {
|
|
405
|
+
"label": "sleep",
|
|
406
|
+
"nodeKind": "primitive"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
413
409
|
{
|
|
414
410
|
"id": "end",
|
|
415
411
|
"type": "workflowEnd",
|
|
@@ -421,25 +417,29 @@
|
|
|
421
417
|
],
|
|
422
418
|
"edges": [
|
|
423
419
|
{
|
|
424
|
-
"id": "
|
|
420
|
+
"id": "e_start_node_0",
|
|
425
421
|
"source": "start",
|
|
422
|
+
"target": "node_0",
|
|
423
|
+
"type": "default"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "e_node_0_end",
|
|
427
|
+
"source": "node_0",
|
|
426
428
|
"target": "end",
|
|
427
429
|
"type": "default"
|
|
428
430
|
}
|
|
429
431
|
]
|
|
430
432
|
}
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
"nullByteWorkflow": {
|
|
435
|
-
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
433
|
+
},
|
|
434
|
+
"threeBatchesOfFiveWorkflow": {
|
|
435
|
+
"workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
|
|
436
436
|
"graph": {
|
|
437
437
|
"nodes": [
|
|
438
438
|
{
|
|
439
439
|
"id": "start",
|
|
440
440
|
"type": "workflowStart",
|
|
441
441
|
"data": {
|
|
442
|
-
"label": "Start:
|
|
442
|
+
"label": "Start: threeBatchesOfFiveWorkflow",
|
|
443
443
|
"nodeKind": "workflow_start"
|
|
444
444
|
}
|
|
445
445
|
},
|
|
@@ -463,16 +463,16 @@
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
},
|
|
466
|
-
"workflows/
|
|
467
|
-
"
|
|
468
|
-
"workflowId": "workflow//./workflows/
|
|
466
|
+
"workflows/noop.ts": {
|
|
467
|
+
"brokenWf": {
|
|
468
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
469
469
|
"graph": {
|
|
470
470
|
"nodes": [
|
|
471
471
|
{
|
|
472
472
|
"id": "start",
|
|
473
473
|
"type": "workflowStart",
|
|
474
474
|
"data": {
|
|
475
|
-
"label": "Start:
|
|
475
|
+
"label": "Start: brokenWf",
|
|
476
476
|
"nodeKind": "workflow_start"
|
|
477
477
|
}
|
|
478
478
|
},
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
"classes": {
|
|
501
501
|
"core/dist/runtime/run.js": {
|
|
502
502
|
"Run": {
|
|
503
|
-
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
503
|
+
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.14//Run"
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
}
|