@workflow/world-testing 5.0.0-beta.41 → 5.0.0-beta.42
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/__step_registrations.mjs +161 -48
- package/dist/.well-known/workflow/v1/flow.mjs +1346 -316
- package/dist/.well-known/workflow/v1/manifest.json +344 -344
- package/dist/src/event-ids.d.mts +16 -0
- package/dist/src/event-ids.d.mts.map +1 -0
- package/dist/src/event-ids.mjs +53 -0
- package/dist/src/index.d.mts.map +1 -1
- package/dist/src/index.mjs +3 -1
- package/dist/src/server.mjs +2 -1
- package/dist/src/util.d.mts +12 -0
- package/dist/src/util.d.mts.map +1 -1
- package/dist/src/util.mjs +13 -1
- package/package.json +5 -5
|
@@ -1,37 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
+
"workflows/lineage.ts": {
|
|
5
|
+
"noop": {
|
|
6
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
4
9
|
"workflows/signal-cost.ts": {
|
|
5
10
|
"trivialStep": {
|
|
6
11
|
"stepId": "step//./workflows/signal-cost//trivialStep"
|
|
7
12
|
}
|
|
8
13
|
},
|
|
9
|
-
"workflows/
|
|
10
|
-
"add": {
|
|
11
|
-
"stepId": "step//./workflows/addition//add"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"workflows/hooks.ts": {
|
|
15
|
-
"writeEvent": {
|
|
16
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"workflows/null-byte.ts": {
|
|
20
|
-
"nullByteStep": {
|
|
21
|
-
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"workflows/lineage.ts": {
|
|
14
|
+
"workflows/noop.ts": {
|
|
25
15
|
"noop": {
|
|
26
|
-
"stepId": "step//./workflows/
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"workflows/retriable-and-fatal.ts": {
|
|
30
|
-
"stepThatFails": {
|
|
31
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
32
|
-
},
|
|
33
|
-
"stepThatThrowsRetryableError": {
|
|
34
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
16
|
+
"stepId": "step//./workflows/noop//noop"
|
|
35
17
|
}
|
|
36
18
|
},
|
|
37
19
|
"workflows/event-limit.ts": {
|
|
@@ -50,9 +32,27 @@
|
|
|
50
32
|
"stepId": "step//./workflows/inline-execution//writeToStream"
|
|
51
33
|
}
|
|
52
34
|
},
|
|
53
|
-
"workflows/
|
|
54
|
-
"
|
|
55
|
-
"stepId": "step//./workflows/
|
|
35
|
+
"workflows/hooks.ts": {
|
|
36
|
+
"writeEvent": {
|
|
37
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"workflows/addition.ts": {
|
|
41
|
+
"add": {
|
|
42
|
+
"stepId": "step//./workflows/addition//add"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"workflows/null-byte.ts": {
|
|
46
|
+
"nullByteStep": {
|
|
47
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"workflows/retriable-and-fatal.ts": {
|
|
51
|
+
"stepThatFails": {
|
|
52
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
53
|
+
},
|
|
54
|
+
"stepThatThrowsRetryableError": {
|
|
55
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"workflow/dist/stdlib.js": {
|
|
@@ -74,112 +74,55 @@
|
|
|
74
74
|
"stepId": "__builtin_set_attributes"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
-
"core/dist/runtime/start.js": {
|
|
78
|
-
"start": {
|
|
79
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.41//start"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
77
|
"core/dist/runtime/run.js": {
|
|
83
78
|
"Run#cancel": {
|
|
84
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
79
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#cancel"
|
|
85
80
|
},
|
|
86
81
|
"Run#completedAt": {
|
|
87
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
82
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#completedAt"
|
|
88
83
|
},
|
|
89
84
|
"Run#createdAt": {
|
|
90
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
85
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#createdAt"
|
|
91
86
|
},
|
|
92
87
|
"Run#exists": {
|
|
93
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
88
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#exists"
|
|
94
89
|
},
|
|
95
90
|
"Run#getReadable": {
|
|
96
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
91
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#getReadable"
|
|
97
92
|
},
|
|
98
93
|
"Run#returnValue": {
|
|
99
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
94
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#returnValue"
|
|
100
95
|
},
|
|
101
96
|
"Run#startedAt": {
|
|
102
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
97
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#startedAt"
|
|
103
98
|
},
|
|
104
99
|
"Run#status": {
|
|
105
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
100
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#status"
|
|
106
101
|
},
|
|
107
102
|
"Run#wakeUp": {
|
|
108
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
103
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#wakeUp"
|
|
109
104
|
},
|
|
110
105
|
"Run#workflowName": {
|
|
111
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
106
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.42//Run#workflowName"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"core/dist/runtime/start.js": {
|
|
110
|
+
"start": {
|
|
111
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"workflows": {
|
|
116
|
-
"workflows/
|
|
117
|
-
"
|
|
118
|
-
"workflowId": "workflow//./workflows/
|
|
119
|
-
"graph": {
|
|
120
|
-
"nodes": [
|
|
121
|
-
{
|
|
122
|
-
"id": "start",
|
|
123
|
-
"type": "workflowStart",
|
|
124
|
-
"data": {
|
|
125
|
-
"label": "Start: signalCostWorkflow",
|
|
126
|
-
"nodeKind": "workflow_start"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"id": "node_0",
|
|
131
|
-
"type": "step",
|
|
132
|
-
"data": {
|
|
133
|
-
"label": "trivialStep",
|
|
134
|
-
"nodeKind": "step",
|
|
135
|
-
"stepId": "step//./workflows/signal-cost//trivialStep"
|
|
136
|
-
},
|
|
137
|
-
"metadata": {
|
|
138
|
-
"loopId": "loop_0"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"id": "end",
|
|
143
|
-
"type": "workflowEnd",
|
|
144
|
-
"data": {
|
|
145
|
-
"label": "Return",
|
|
146
|
-
"nodeKind": "workflow_end"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"edges": [
|
|
151
|
-
{
|
|
152
|
-
"id": "e_node_0_back_node_0",
|
|
153
|
-
"source": "node_0",
|
|
154
|
-
"target": "node_0",
|
|
155
|
-
"type": "loop"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"id": "e_start_node_0",
|
|
159
|
-
"source": "start",
|
|
160
|
-
"target": "node_0",
|
|
161
|
-
"type": "default"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"id": "e_node_0_end",
|
|
165
|
-
"source": "node_0",
|
|
166
|
-
"target": "end",
|
|
167
|
-
"type": "default"
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"workflows/addition.ts": {
|
|
174
|
-
"addTenWorkflow": {
|
|
175
|
-
"workflowId": "workflow//./workflows/addition//addTenWorkflow",
|
|
116
|
+
"workflows/lineage.ts": {
|
|
117
|
+
"bodyStartsChild": {
|
|
118
|
+
"workflowId": "workflow//./workflows/lineage//bodyStartsChild",
|
|
176
119
|
"graph": {
|
|
177
120
|
"nodes": [
|
|
178
121
|
{
|
|
179
122
|
"id": "start",
|
|
180
123
|
"type": "workflowStart",
|
|
181
124
|
"data": {
|
|
182
|
-
"label": "Start:
|
|
125
|
+
"label": "Start: bodyStartsChild",
|
|
183
126
|
"nodeKind": "workflow_start"
|
|
184
127
|
}
|
|
185
128
|
},
|
|
@@ -187,27 +130,18 @@
|
|
|
187
130
|
"id": "node_0",
|
|
188
131
|
"type": "step",
|
|
189
132
|
"data": {
|
|
190
|
-
"label": "
|
|
133
|
+
"label": "noop",
|
|
191
134
|
"nodeKind": "step",
|
|
192
|
-
"stepId": "step//./workflows/
|
|
135
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
193
136
|
}
|
|
194
137
|
},
|
|
195
138
|
{
|
|
196
139
|
"id": "node_1",
|
|
197
140
|
"type": "step",
|
|
198
141
|
"data": {
|
|
199
|
-
"label": "
|
|
200
|
-
"nodeKind": "step",
|
|
201
|
-
"stepId": "step//./workflows/addition//add"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"id": "node_2",
|
|
206
|
-
"type": "step",
|
|
207
|
-
"data": {
|
|
208
|
-
"label": "add",
|
|
142
|
+
"label": "start",
|
|
209
143
|
"nodeKind": "step",
|
|
210
|
-
"stepId": "step
|
|
144
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
|
|
211
145
|
}
|
|
212
146
|
},
|
|
213
147
|
{
|
|
@@ -233,29 +167,23 @@
|
|
|
233
167
|
"type": "default"
|
|
234
168
|
},
|
|
235
169
|
{
|
|
236
|
-
"id": "
|
|
170
|
+
"id": "e_node_1_end",
|
|
237
171
|
"source": "node_1",
|
|
238
|
-
"target": "node_2",
|
|
239
|
-
"type": "default"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"id": "e_node_2_end",
|
|
243
|
-
"source": "node_2",
|
|
244
172
|
"target": "end",
|
|
245
173
|
"type": "default"
|
|
246
174
|
}
|
|
247
175
|
]
|
|
248
176
|
}
|
|
249
177
|
},
|
|
250
|
-
"
|
|
251
|
-
"workflowId": "workflow//./workflows/
|
|
178
|
+
"chainLeaf": {
|
|
179
|
+
"workflowId": "workflow//./workflows/lineage//chainLeaf",
|
|
252
180
|
"graph": {
|
|
253
181
|
"nodes": [
|
|
254
182
|
{
|
|
255
183
|
"id": "start",
|
|
256
184
|
"type": "workflowStart",
|
|
257
185
|
"data": {
|
|
258
|
-
"label": "Start:
|
|
186
|
+
"label": "Start: chainLeaf",
|
|
259
187
|
"nodeKind": "workflow_start"
|
|
260
188
|
}
|
|
261
189
|
},
|
|
@@ -263,9 +191,9 @@
|
|
|
263
191
|
"id": "node_0",
|
|
264
192
|
"type": "step",
|
|
265
193
|
"data": {
|
|
266
|
-
"label": "
|
|
194
|
+
"label": "noop",
|
|
267
195
|
"nodeKind": "step",
|
|
268
|
-
"stepId": "step//./workflows/
|
|
196
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
269
197
|
}
|
|
270
198
|
},
|
|
271
199
|
{
|
|
@@ -292,18 +220,16 @@
|
|
|
292
220
|
}
|
|
293
221
|
]
|
|
294
222
|
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
"collectWithHook": {
|
|
299
|
-
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
223
|
+
},
|
|
224
|
+
"chainMiddle": {
|
|
225
|
+
"workflowId": "workflow//./workflows/lineage//chainMiddle",
|
|
300
226
|
"graph": {
|
|
301
227
|
"nodes": [
|
|
302
228
|
{
|
|
303
229
|
"id": "start",
|
|
304
230
|
"type": "workflowStart",
|
|
305
231
|
"data": {
|
|
306
|
-
"label": "Start:
|
|
232
|
+
"label": "Start: chainMiddle",
|
|
307
233
|
"nodeKind": "workflow_start"
|
|
308
234
|
}
|
|
309
235
|
},
|
|
@@ -311,22 +237,18 @@
|
|
|
311
237
|
"id": "node_0",
|
|
312
238
|
"type": "step",
|
|
313
239
|
"data": {
|
|
314
|
-
"label": "
|
|
240
|
+
"label": "noop",
|
|
315
241
|
"nodeKind": "step",
|
|
316
|
-
"stepId": "step//./workflows/
|
|
242
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
317
243
|
}
|
|
318
244
|
},
|
|
319
245
|
{
|
|
320
246
|
"id": "node_1",
|
|
321
247
|
"type": "step",
|
|
322
248
|
"data": {
|
|
323
|
-
"label": "
|
|
249
|
+
"label": "start",
|
|
324
250
|
"nodeKind": "step",
|
|
325
|
-
"stepId": "step
|
|
326
|
-
},
|
|
327
|
-
"metadata": {
|
|
328
|
-
"loopId": "loop_0",
|
|
329
|
-
"loopIsAwait": true
|
|
251
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
|
|
330
252
|
}
|
|
331
253
|
},
|
|
332
254
|
{
|
|
@@ -345,12 +267,6 @@
|
|
|
345
267
|
"target": "node_0",
|
|
346
268
|
"type": "default"
|
|
347
269
|
},
|
|
348
|
-
{
|
|
349
|
-
"id": "e_node_1_back_node_1",
|
|
350
|
-
"source": "node_1",
|
|
351
|
-
"target": "node_1",
|
|
352
|
-
"type": "loop"
|
|
353
|
-
},
|
|
354
270
|
{
|
|
355
271
|
"id": "e_node_0_node_1",
|
|
356
272
|
"source": "node_0",
|
|
@@ -365,66 +281,16 @@
|
|
|
365
281
|
}
|
|
366
282
|
]
|
|
367
283
|
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
"nullByteWorkflow": {
|
|
372
|
-
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
373
|
-
"graph": {
|
|
374
|
-
"nodes": [
|
|
375
|
-
{
|
|
376
|
-
"id": "start",
|
|
377
|
-
"type": "workflowStart",
|
|
378
|
-
"data": {
|
|
379
|
-
"label": "Start: nullByteWorkflow",
|
|
380
|
-
"nodeKind": "workflow_start"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"id": "node_0",
|
|
385
|
-
"type": "step",
|
|
386
|
-
"data": {
|
|
387
|
-
"label": "nullByteStep",
|
|
388
|
-
"nodeKind": "step",
|
|
389
|
-
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"id": "end",
|
|
394
|
-
"type": "workflowEnd",
|
|
395
|
-
"data": {
|
|
396
|
-
"label": "Return",
|
|
397
|
-
"nodeKind": "workflow_end"
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"edges": [
|
|
402
|
-
{
|
|
403
|
-
"id": "e_start_node_0",
|
|
404
|
-
"source": "start",
|
|
405
|
-
"target": "node_0",
|
|
406
|
-
"type": "default"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"id": "e_node_0_end",
|
|
410
|
-
"source": "node_0",
|
|
411
|
-
"target": "end",
|
|
412
|
-
"type": "default"
|
|
413
|
-
}
|
|
414
|
-
]
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
"workflows/lineage.ts": {
|
|
419
|
-
"bodyStartsChild": {
|
|
420
|
-
"workflowId": "workflow//./workflows/lineage//bodyStartsChild",
|
|
284
|
+
},
|
|
285
|
+
"chainRoot": {
|
|
286
|
+
"workflowId": "workflow//./workflows/lineage//chainRoot",
|
|
421
287
|
"graph": {
|
|
422
288
|
"nodes": [
|
|
423
289
|
{
|
|
424
290
|
"id": "start",
|
|
425
291
|
"type": "workflowStart",
|
|
426
292
|
"data": {
|
|
427
|
-
"label": "Start:
|
|
293
|
+
"label": "Start: chainRoot",
|
|
428
294
|
"nodeKind": "workflow_start"
|
|
429
295
|
}
|
|
430
296
|
},
|
|
@@ -443,7 +309,7 @@
|
|
|
443
309
|
"data": {
|
|
444
310
|
"label": "start",
|
|
445
311
|
"nodeKind": "step",
|
|
446
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
312
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.42//start"
|
|
447
313
|
}
|
|
448
314
|
},
|
|
449
315
|
{
|
|
@@ -477,15 +343,15 @@
|
|
|
477
343
|
]
|
|
478
344
|
}
|
|
479
345
|
},
|
|
480
|
-
"
|
|
481
|
-
"workflowId": "workflow//./workflows/lineage//
|
|
346
|
+
"spawnedChild": {
|
|
347
|
+
"workflowId": "workflow//./workflows/lineage//spawnedChild",
|
|
482
348
|
"graph": {
|
|
483
349
|
"nodes": [
|
|
484
350
|
{
|
|
485
351
|
"id": "start",
|
|
486
352
|
"type": "workflowStart",
|
|
487
353
|
"data": {
|
|
488
|
-
"label": "Start:
|
|
354
|
+
"label": "Start: spawnedChild",
|
|
489
355
|
"nodeKind": "workflow_start"
|
|
490
356
|
}
|
|
491
357
|
},
|
|
@@ -522,16 +388,18 @@
|
|
|
522
388
|
}
|
|
523
389
|
]
|
|
524
390
|
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"workflows/signal-cost.ts": {
|
|
394
|
+
"signalCostWorkflow": {
|
|
395
|
+
"workflowId": "workflow//./workflows/signal-cost//signalCostWorkflow",
|
|
528
396
|
"graph": {
|
|
529
397
|
"nodes": [
|
|
530
398
|
{
|
|
531
399
|
"id": "start",
|
|
532
400
|
"type": "workflowStart",
|
|
533
401
|
"data": {
|
|
534
|
-
"label": "Start:
|
|
402
|
+
"label": "Start: signalCostWorkflow",
|
|
535
403
|
"nodeKind": "workflow_start"
|
|
536
404
|
}
|
|
537
405
|
},
|
|
@@ -539,18 +407,12 @@
|
|
|
539
407
|
"id": "node_0",
|
|
540
408
|
"type": "step",
|
|
541
409
|
"data": {
|
|
542
|
-
"label": "
|
|
543
|
-
"nodeKind": "step",
|
|
544
|
-
"stepId": "step//./workflows/lineage//noop"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"id": "node_1",
|
|
549
|
-
"type": "step",
|
|
550
|
-
"data": {
|
|
551
|
-
"label": "start",
|
|
410
|
+
"label": "trivialStep",
|
|
552
411
|
"nodeKind": "step",
|
|
553
|
-
"stepId": "step
|
|
412
|
+
"stepId": "step//./workflows/signal-cost//trivialStep"
|
|
413
|
+
},
|
|
414
|
+
"metadata": {
|
|
415
|
+
"loopId": "loop_0"
|
|
554
416
|
}
|
|
555
417
|
},
|
|
556
418
|
{
|
|
@@ -564,66 +426,11 @@
|
|
|
564
426
|
],
|
|
565
427
|
"edges": [
|
|
566
428
|
{
|
|
567
|
-
"id": "
|
|
568
|
-
"source": "start",
|
|
569
|
-
"target": "node_0",
|
|
570
|
-
"type": "default"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"id": "e_node_0_node_1",
|
|
429
|
+
"id": "e_node_0_back_node_0",
|
|
574
430
|
"source": "node_0",
|
|
575
|
-
"target": "
|
|
576
|
-
"type": "
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"id": "e_node_1_end",
|
|
580
|
-
"source": "node_1",
|
|
581
|
-
"target": "end",
|
|
582
|
-
"type": "default"
|
|
583
|
-
}
|
|
584
|
-
]
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
"chainRoot": {
|
|
588
|
-
"workflowId": "workflow//./workflows/lineage//chainRoot",
|
|
589
|
-
"graph": {
|
|
590
|
-
"nodes": [
|
|
591
|
-
{
|
|
592
|
-
"id": "start",
|
|
593
|
-
"type": "workflowStart",
|
|
594
|
-
"data": {
|
|
595
|
-
"label": "Start: chainRoot",
|
|
596
|
-
"nodeKind": "workflow_start"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"id": "node_0",
|
|
601
|
-
"type": "step",
|
|
602
|
-
"data": {
|
|
603
|
-
"label": "noop",
|
|
604
|
-
"nodeKind": "step",
|
|
605
|
-
"stepId": "step//./workflows/lineage//noop"
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"id": "node_1",
|
|
610
|
-
"type": "step",
|
|
611
|
-
"data": {
|
|
612
|
-
"label": "start",
|
|
613
|
-
"nodeKind": "step",
|
|
614
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.41//start"
|
|
615
|
-
}
|
|
431
|
+
"target": "node_0",
|
|
432
|
+
"type": "loop"
|
|
616
433
|
},
|
|
617
|
-
{
|
|
618
|
-
"id": "end",
|
|
619
|
-
"type": "workflowEnd",
|
|
620
|
-
"data": {
|
|
621
|
-
"label": "Return",
|
|
622
|
-
"nodeKind": "workflow_end"
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
],
|
|
626
|
-
"edges": [
|
|
627
434
|
{
|
|
628
435
|
"id": "e_start_node_0",
|
|
629
436
|
"source": "start",
|
|
@@ -631,29 +438,25 @@
|
|
|
631
438
|
"type": "default"
|
|
632
439
|
},
|
|
633
440
|
{
|
|
634
|
-
"id": "
|
|
441
|
+
"id": "e_node_0_end",
|
|
635
442
|
"source": "node_0",
|
|
636
|
-
"target": "node_1",
|
|
637
|
-
"type": "default"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
"id": "e_node_1_end",
|
|
641
|
-
"source": "node_1",
|
|
642
443
|
"target": "end",
|
|
643
444
|
"type": "default"
|
|
644
445
|
}
|
|
645
446
|
]
|
|
646
447
|
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"workflows/noop.ts": {
|
|
451
|
+
"brokenWf": {
|
|
452
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
650
453
|
"graph": {
|
|
651
454
|
"nodes": [
|
|
652
455
|
{
|
|
653
456
|
"id": "start",
|
|
654
457
|
"type": "workflowStart",
|
|
655
458
|
"data": {
|
|
656
|
-
"label": "Start:
|
|
459
|
+
"label": "Start: brokenWf",
|
|
657
460
|
"nodeKind": "workflow_start"
|
|
658
461
|
}
|
|
659
462
|
},
|
|
@@ -663,55 +466,16 @@
|
|
|
663
466
|
"data": {
|
|
664
467
|
"label": "noop",
|
|
665
468
|
"nodeKind": "step",
|
|
666
|
-
"stepId": "step//./workflows/
|
|
667
|
-
}
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"id": "end",
|
|
671
|
-
"type": "workflowEnd",
|
|
672
|
-
"data": {
|
|
673
|
-
"label": "Return",
|
|
674
|
-
"nodeKind": "workflow_end"
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
],
|
|
678
|
-
"edges": [
|
|
679
|
-
{
|
|
680
|
-
"id": "e_start_node_0",
|
|
681
|
-
"source": "start",
|
|
682
|
-
"target": "node_0",
|
|
683
|
-
"type": "default"
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
"id": "e_node_0_end",
|
|
687
|
-
"source": "node_0",
|
|
688
|
-
"target": "end",
|
|
689
|
-
"type": "default"
|
|
690
|
-
}
|
|
691
|
-
]
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
"workflows/retriable-and-fatal.ts": {
|
|
696
|
-
"retryableAndFatalErrorWorkflow": {
|
|
697
|
-
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
698
|
-
"graph": {
|
|
699
|
-
"nodes": [
|
|
700
|
-
{
|
|
701
|
-
"id": "start",
|
|
702
|
-
"type": "workflowStart",
|
|
703
|
-
"data": {
|
|
704
|
-
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
705
|
-
"nodeKind": "workflow_start"
|
|
469
|
+
"stepId": "step//./workflows/noop//noop"
|
|
706
470
|
}
|
|
707
471
|
},
|
|
708
472
|
{
|
|
709
|
-
"id": "
|
|
473
|
+
"id": "node_1",
|
|
710
474
|
"type": "step",
|
|
711
475
|
"data": {
|
|
712
|
-
"label": "
|
|
476
|
+
"label": "noop",
|
|
713
477
|
"nodeKind": "step",
|
|
714
|
-
"stepId": "step//./workflows/
|
|
478
|
+
"stepId": "step//./workflows/noop//noop"
|
|
715
479
|
}
|
|
716
480
|
},
|
|
717
481
|
{
|
|
@@ -731,8 +495,14 @@
|
|
|
731
495
|
"type": "default"
|
|
732
496
|
},
|
|
733
497
|
{
|
|
734
|
-
"id": "
|
|
498
|
+
"id": "e_node_0_node_1",
|
|
735
499
|
"source": "node_0",
|
|
500
|
+
"target": "node_1",
|
|
501
|
+
"type": "default"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"id": "e_node_1_end",
|
|
505
|
+
"source": "node_1",
|
|
736
506
|
"target": "end",
|
|
737
507
|
"type": "default"
|
|
738
508
|
}
|
|
@@ -1697,16 +1467,16 @@
|
|
|
1697
1467
|
}
|
|
1698
1468
|
}
|
|
1699
1469
|
},
|
|
1700
|
-
"workflows/
|
|
1701
|
-
"
|
|
1702
|
-
"workflowId": "workflow//./workflows/
|
|
1470
|
+
"workflows/hooks.ts": {
|
|
1471
|
+
"collectWithHook": {
|
|
1472
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
1703
1473
|
"graph": {
|
|
1704
1474
|
"nodes": [
|
|
1705
1475
|
{
|
|
1706
1476
|
"id": "start",
|
|
1707
1477
|
"type": "workflowStart",
|
|
1708
1478
|
"data": {
|
|
1709
|
-
"label": "Start:
|
|
1479
|
+
"label": "Start: collectWithHook",
|
|
1710
1480
|
"nodeKind": "workflow_start"
|
|
1711
1481
|
}
|
|
1712
1482
|
},
|
|
@@ -1714,18 +1484,22 @@
|
|
|
1714
1484
|
"id": "node_0",
|
|
1715
1485
|
"type": "step",
|
|
1716
1486
|
"data": {
|
|
1717
|
-
"label": "
|
|
1487
|
+
"label": "writeEvent",
|
|
1718
1488
|
"nodeKind": "step",
|
|
1719
|
-
"stepId": "step//./workflows/
|
|
1489
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
1720
1490
|
}
|
|
1721
1491
|
},
|
|
1722
1492
|
{
|
|
1723
1493
|
"id": "node_1",
|
|
1724
1494
|
"type": "step",
|
|
1725
1495
|
"data": {
|
|
1726
|
-
"label": "
|
|
1496
|
+
"label": "writeEvent",
|
|
1727
1497
|
"nodeKind": "step",
|
|
1728
|
-
"stepId": "step//./workflows/
|
|
1498
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
1499
|
+
},
|
|
1500
|
+
"metadata": {
|
|
1501
|
+
"loopId": "loop_0",
|
|
1502
|
+
"loopIsAwait": true
|
|
1729
1503
|
}
|
|
1730
1504
|
},
|
|
1731
1505
|
{
|
|
@@ -1744,6 +1518,12 @@
|
|
|
1744
1518
|
"target": "node_0",
|
|
1745
1519
|
"type": "default"
|
|
1746
1520
|
},
|
|
1521
|
+
{
|
|
1522
|
+
"id": "e_node_1_back_node_1",
|
|
1523
|
+
"source": "node_1",
|
|
1524
|
+
"target": "node_1",
|
|
1525
|
+
"type": "loop"
|
|
1526
|
+
},
|
|
1747
1527
|
{
|
|
1748
1528
|
"id": "e_node_0_node_1",
|
|
1749
1529
|
"source": "node_0",
|
|
@@ -1759,12 +1539,232 @@
|
|
|
1759
1539
|
]
|
|
1760
1540
|
}
|
|
1761
1541
|
}
|
|
1542
|
+
},
|
|
1543
|
+
"workflows/addition.ts": {
|
|
1544
|
+
"addTenWorkflow": {
|
|
1545
|
+
"workflowId": "workflow//./workflows/addition//addTenWorkflow",
|
|
1546
|
+
"graph": {
|
|
1547
|
+
"nodes": [
|
|
1548
|
+
{
|
|
1549
|
+
"id": "start",
|
|
1550
|
+
"type": "workflowStart",
|
|
1551
|
+
"data": {
|
|
1552
|
+
"label": "Start: addTenWorkflow",
|
|
1553
|
+
"nodeKind": "workflow_start"
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"id": "node_0",
|
|
1558
|
+
"type": "step",
|
|
1559
|
+
"data": {
|
|
1560
|
+
"label": "add",
|
|
1561
|
+
"nodeKind": "step",
|
|
1562
|
+
"stepId": "step//./workflows/addition//add"
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"id": "node_1",
|
|
1567
|
+
"type": "step",
|
|
1568
|
+
"data": {
|
|
1569
|
+
"label": "add",
|
|
1570
|
+
"nodeKind": "step",
|
|
1571
|
+
"stepId": "step//./workflows/addition//add"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"id": "node_2",
|
|
1576
|
+
"type": "step",
|
|
1577
|
+
"data": {
|
|
1578
|
+
"label": "add",
|
|
1579
|
+
"nodeKind": "step",
|
|
1580
|
+
"stepId": "step//./workflows/addition//add"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"id": "end",
|
|
1585
|
+
"type": "workflowEnd",
|
|
1586
|
+
"data": {
|
|
1587
|
+
"label": "Return",
|
|
1588
|
+
"nodeKind": "workflow_end"
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
],
|
|
1592
|
+
"edges": [
|
|
1593
|
+
{
|
|
1594
|
+
"id": "e_start_node_0",
|
|
1595
|
+
"source": "start",
|
|
1596
|
+
"target": "node_0",
|
|
1597
|
+
"type": "default"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"id": "e_node_0_node_1",
|
|
1601
|
+
"source": "node_0",
|
|
1602
|
+
"target": "node_1",
|
|
1603
|
+
"type": "default"
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"id": "e_node_1_node_2",
|
|
1607
|
+
"source": "node_1",
|
|
1608
|
+
"target": "node_2",
|
|
1609
|
+
"type": "default"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"id": "e_node_2_end",
|
|
1613
|
+
"source": "node_2",
|
|
1614
|
+
"target": "end",
|
|
1615
|
+
"type": "default"
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
"addition": {
|
|
1621
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
1622
|
+
"graph": {
|
|
1623
|
+
"nodes": [
|
|
1624
|
+
{
|
|
1625
|
+
"id": "start",
|
|
1626
|
+
"type": "workflowStart",
|
|
1627
|
+
"data": {
|
|
1628
|
+
"label": "Start: addition",
|
|
1629
|
+
"nodeKind": "workflow_start"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"id": "node_0",
|
|
1634
|
+
"type": "step",
|
|
1635
|
+
"data": {
|
|
1636
|
+
"label": "add",
|
|
1637
|
+
"nodeKind": "step",
|
|
1638
|
+
"stepId": "step//./workflows/addition//add"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"id": "end",
|
|
1643
|
+
"type": "workflowEnd",
|
|
1644
|
+
"data": {
|
|
1645
|
+
"label": "Return",
|
|
1646
|
+
"nodeKind": "workflow_end"
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"edges": [
|
|
1651
|
+
{
|
|
1652
|
+
"id": "e_start_node_0",
|
|
1653
|
+
"source": "start",
|
|
1654
|
+
"target": "node_0",
|
|
1655
|
+
"type": "default"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"id": "e_node_0_end",
|
|
1659
|
+
"source": "node_0",
|
|
1660
|
+
"target": "end",
|
|
1661
|
+
"type": "default"
|
|
1662
|
+
}
|
|
1663
|
+
]
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
"workflows/null-byte.ts": {
|
|
1668
|
+
"nullByteWorkflow": {
|
|
1669
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
1670
|
+
"graph": {
|
|
1671
|
+
"nodes": [
|
|
1672
|
+
{
|
|
1673
|
+
"id": "start",
|
|
1674
|
+
"type": "workflowStart",
|
|
1675
|
+
"data": {
|
|
1676
|
+
"label": "Start: nullByteWorkflow",
|
|
1677
|
+
"nodeKind": "workflow_start"
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"id": "node_0",
|
|
1682
|
+
"type": "step",
|
|
1683
|
+
"data": {
|
|
1684
|
+
"label": "nullByteStep",
|
|
1685
|
+
"nodeKind": "step",
|
|
1686
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
"id": "end",
|
|
1691
|
+
"type": "workflowEnd",
|
|
1692
|
+
"data": {
|
|
1693
|
+
"label": "Return",
|
|
1694
|
+
"nodeKind": "workflow_end"
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
],
|
|
1698
|
+
"edges": [
|
|
1699
|
+
{
|
|
1700
|
+
"id": "e_start_node_0",
|
|
1701
|
+
"source": "start",
|
|
1702
|
+
"target": "node_0",
|
|
1703
|
+
"type": "default"
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"id": "e_node_0_end",
|
|
1707
|
+
"source": "node_0",
|
|
1708
|
+
"target": "end",
|
|
1709
|
+
"type": "default"
|
|
1710
|
+
}
|
|
1711
|
+
]
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"workflows/retriable-and-fatal.ts": {
|
|
1716
|
+
"retryableAndFatalErrorWorkflow": {
|
|
1717
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
1718
|
+
"graph": {
|
|
1719
|
+
"nodes": [
|
|
1720
|
+
{
|
|
1721
|
+
"id": "start",
|
|
1722
|
+
"type": "workflowStart",
|
|
1723
|
+
"data": {
|
|
1724
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
1725
|
+
"nodeKind": "workflow_start"
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"id": "node_0",
|
|
1730
|
+
"type": "step",
|
|
1731
|
+
"data": {
|
|
1732
|
+
"label": "stepThatThrowsRetryableError",
|
|
1733
|
+
"nodeKind": "step",
|
|
1734
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"id": "end",
|
|
1739
|
+
"type": "workflowEnd",
|
|
1740
|
+
"data": {
|
|
1741
|
+
"label": "Return",
|
|
1742
|
+
"nodeKind": "workflow_end"
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
],
|
|
1746
|
+
"edges": [
|
|
1747
|
+
{
|
|
1748
|
+
"id": "e_start_node_0",
|
|
1749
|
+
"source": "start",
|
|
1750
|
+
"target": "node_0",
|
|
1751
|
+
"type": "default"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"id": "e_node_0_end",
|
|
1755
|
+
"source": "node_0",
|
|
1756
|
+
"target": "end",
|
|
1757
|
+
"type": "default"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
1762
|
}
|
|
1763
1763
|
},
|
|
1764
1764
|
"classes": {
|
|
1765
1765
|
"core/dist/runtime/run.js": {
|
|
1766
1766
|
"Run": {
|
|
1767
|
-
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
1767
|
+
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.42//Run"
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
}
|