@workflow/world-testing 5.0.0-beta.36 → 5.0.0-beta.37
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.mjs → __step_registrations.mjs} +1231 -596
- package/dist/.well-known/workflow/v1/flow.mjs +2845 -1367
- package/dist/.well-known/workflow/v1/manifest.json +213 -213
- package/dist/src/util.d.mts +4 -0
- package/dist/src/util.d.mts.map +1 -1
- package/dist/src/util.mjs +39 -3
- package/package.json +7 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"workflows/
|
|
5
|
-
"
|
|
6
|
-
"stepId": "step//./workflows/
|
|
4
|
+
"workflows/hooks.ts": {
|
|
5
|
+
"writeEvent": {
|
|
6
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
"workflows/signal-cost.ts": {
|
|
@@ -11,32 +11,38 @@
|
|
|
11
11
|
"stepId": "step//./workflows/signal-cost//trivialStep"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
"workflows/lineage.ts": {
|
|
15
|
-
"noop": {
|
|
16
|
-
"stepId": "step//./workflows/lineage//noop"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"workflows/hooks.ts": {
|
|
20
|
-
"writeEvent": {
|
|
21
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
14
|
"workflows/event-limit.ts": {
|
|
25
15
|
"tick": {
|
|
26
16
|
"stepId": "step//./workflows/event-limit//tick"
|
|
27
17
|
}
|
|
28
18
|
},
|
|
19
|
+
"workflows/noop.ts": {
|
|
20
|
+
"noop": {
|
|
21
|
+
"stepId": "step//./workflows/noop//noop"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
29
24
|
"workflows/null-byte.ts": {
|
|
30
25
|
"nullByteStep": {
|
|
31
26
|
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
32
27
|
}
|
|
33
28
|
},
|
|
34
|
-
"workflows/
|
|
35
|
-
"
|
|
36
|
-
"stepId": "step//./workflows/
|
|
29
|
+
"workflows/lineage.ts": {
|
|
30
|
+
"noop": {
|
|
31
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"workflow/dist/internal/builtins.js": {
|
|
35
|
+
"__builtin_response_array_buffer": {
|
|
36
|
+
"stepId": "__builtin_response_array_buffer"
|
|
37
37
|
},
|
|
38
|
-
"
|
|
39
|
-
"stepId": "
|
|
38
|
+
"__builtin_response_json": {
|
|
39
|
+
"stepId": "__builtin_response_json"
|
|
40
|
+
},
|
|
41
|
+
"__builtin_response_text": {
|
|
42
|
+
"stepId": "__builtin_response_text"
|
|
43
|
+
},
|
|
44
|
+
"__builtin_set_attributes": {
|
|
45
|
+
"stepId": "__builtin_set_attributes"
|
|
40
46
|
}
|
|
41
47
|
},
|
|
42
48
|
"workflows/addition.ts": {
|
|
@@ -44,85 +50,79 @@
|
|
|
44
50
|
"stepId": "step//./workflows/addition//add"
|
|
45
51
|
}
|
|
46
52
|
},
|
|
53
|
+
"workflows/inline-execution.ts": {
|
|
54
|
+
"add": {
|
|
55
|
+
"stepId": "step//./workflows/inline-execution//add"
|
|
56
|
+
},
|
|
57
|
+
"closeOutputStream": {
|
|
58
|
+
"stepId": "step//./workflows/inline-execution//closeOutputStream"
|
|
59
|
+
},
|
|
60
|
+
"writeToStream": {
|
|
61
|
+
"stepId": "step//./workflows/inline-execution//writeToStream"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
47
64
|
"workflow/dist/stdlib.js": {
|
|
48
65
|
"fetch": {
|
|
49
66
|
"stepId": "step//./workflow/dist/stdlib//fetch"
|
|
50
67
|
}
|
|
51
68
|
},
|
|
69
|
+
"workflows/retriable-and-fatal.ts": {
|
|
70
|
+
"stepThatFails": {
|
|
71
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
72
|
+
},
|
|
73
|
+
"stepThatThrowsRetryableError": {
|
|
74
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"core/dist/runtime/start.js": {
|
|
78
|
+
"start": {
|
|
79
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
52
82
|
"core/dist/runtime/run.js": {
|
|
53
83
|
"Run#cancel": {
|
|
54
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
84
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#cancel"
|
|
55
85
|
},
|
|
56
86
|
"Run#completedAt": {
|
|
57
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
87
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#completedAt"
|
|
58
88
|
},
|
|
59
89
|
"Run#createdAt": {
|
|
60
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
90
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#createdAt"
|
|
61
91
|
},
|
|
62
92
|
"Run#exists": {
|
|
63
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
93
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#exists"
|
|
64
94
|
},
|
|
65
95
|
"Run#getReadable": {
|
|
66
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
96
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#getReadable"
|
|
67
97
|
},
|
|
68
98
|
"Run#returnValue": {
|
|
69
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
99
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#returnValue"
|
|
70
100
|
},
|
|
71
101
|
"Run#startedAt": {
|
|
72
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
102
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#startedAt"
|
|
73
103
|
},
|
|
74
104
|
"Run#status": {
|
|
75
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
105
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#status"
|
|
76
106
|
},
|
|
77
107
|
"Run#wakeUp": {
|
|
78
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
108
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#wakeUp"
|
|
79
109
|
},
|
|
80
110
|
"Run#workflowName": {
|
|
81
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"workflows/inline-execution.ts": {
|
|
85
|
-
"add": {
|
|
86
|
-
"stepId": "step//./workflows/inline-execution//add"
|
|
87
|
-
},
|
|
88
|
-
"closeOutputStream": {
|
|
89
|
-
"stepId": "step//./workflows/inline-execution//closeOutputStream"
|
|
90
|
-
},
|
|
91
|
-
"writeToStream": {
|
|
92
|
-
"stepId": "step//./workflows/inline-execution//writeToStream"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"core/dist/runtime/start.js": {
|
|
96
|
-
"start": {
|
|
97
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.36//start"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"workflow/dist/internal/builtins.js": {
|
|
101
|
-
"__builtin_response_array_buffer": {
|
|
102
|
-
"stepId": "__builtin_response_array_buffer"
|
|
103
|
-
},
|
|
104
|
-
"__builtin_response_json": {
|
|
105
|
-
"stepId": "__builtin_response_json"
|
|
106
|
-
},
|
|
107
|
-
"__builtin_response_text": {
|
|
108
|
-
"stepId": "__builtin_response_text"
|
|
109
|
-
},
|
|
110
|
-
"__builtin_set_attributes": {
|
|
111
|
-
"stepId": "__builtin_set_attributes"
|
|
111
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.37//Run#workflowName"
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"workflows": {
|
|
116
|
-
"workflows/
|
|
117
|
-
"
|
|
118
|
-
"workflowId": "workflow//./workflows/
|
|
116
|
+
"workflows/hooks.ts": {
|
|
117
|
+
"collectWithHook": {
|
|
118
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
119
119
|
"graph": {
|
|
120
120
|
"nodes": [
|
|
121
121
|
{
|
|
122
122
|
"id": "start",
|
|
123
123
|
"type": "workflowStart",
|
|
124
124
|
"data": {
|
|
125
|
-
"label": "Start:
|
|
125
|
+
"label": "Start: collectWithHook",
|
|
126
126
|
"nodeKind": "workflow_start"
|
|
127
127
|
}
|
|
128
128
|
},
|
|
@@ -130,18 +130,22 @@
|
|
|
130
130
|
"id": "node_0",
|
|
131
131
|
"type": "step",
|
|
132
132
|
"data": {
|
|
133
|
-
"label": "
|
|
133
|
+
"label": "writeEvent",
|
|
134
134
|
"nodeKind": "step",
|
|
135
|
-
"stepId": "step//./workflows/
|
|
135
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"id": "node_1",
|
|
140
140
|
"type": "step",
|
|
141
141
|
"data": {
|
|
142
|
-
"label": "
|
|
142
|
+
"label": "writeEvent",
|
|
143
143
|
"nodeKind": "step",
|
|
144
|
-
"stepId": "step//./workflows/
|
|
144
|
+
"stepId": "step//./workflows/hooks//writeEvent"
|
|
145
|
+
},
|
|
146
|
+
"metadata": {
|
|
147
|
+
"loopId": "loop_0",
|
|
148
|
+
"loopIsAwait": true
|
|
145
149
|
}
|
|
146
150
|
},
|
|
147
151
|
{
|
|
@@ -160,6 +164,12 @@
|
|
|
160
164
|
"target": "node_0",
|
|
161
165
|
"type": "default"
|
|
162
166
|
},
|
|
167
|
+
{
|
|
168
|
+
"id": "e_node_1_back_node_1",
|
|
169
|
+
"source": "node_1",
|
|
170
|
+
"target": "node_1",
|
|
171
|
+
"type": "loop"
|
|
172
|
+
},
|
|
163
173
|
{
|
|
164
174
|
"id": "e_node_0_node_1",
|
|
165
175
|
"source": "node_0",
|
|
@@ -233,16 +243,16 @@
|
|
|
233
243
|
}
|
|
234
244
|
}
|
|
235
245
|
},
|
|
236
|
-
"workflows/
|
|
237
|
-
"
|
|
238
|
-
"workflowId": "workflow//./workflows/
|
|
246
|
+
"workflows/event-limit.ts": {
|
|
247
|
+
"runawayWorkflow": {
|
|
248
|
+
"workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
|
|
239
249
|
"graph": {
|
|
240
250
|
"nodes": [
|
|
241
251
|
{
|
|
242
252
|
"id": "start",
|
|
243
253
|
"type": "workflowStart",
|
|
244
254
|
"data": {
|
|
245
|
-
"label": "Start:
|
|
255
|
+
"label": "Start: runawayWorkflow",
|
|
246
256
|
"nodeKind": "workflow_start"
|
|
247
257
|
}
|
|
248
258
|
},
|
|
@@ -250,18 +260,12 @@
|
|
|
250
260
|
"id": "node_0",
|
|
251
261
|
"type": "step",
|
|
252
262
|
"data": {
|
|
253
|
-
"label": "
|
|
254
|
-
"nodeKind": "step",
|
|
255
|
-
"stepId": "step//./workflows/lineage//noop"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"id": "node_1",
|
|
260
|
-
"type": "step",
|
|
261
|
-
"data": {
|
|
262
|
-
"label": "start",
|
|
263
|
+
"label": "tick",
|
|
263
264
|
"nodeKind": "step",
|
|
264
|
-
"stepId": "step
|
|
265
|
+
"stepId": "step//./workflows/event-limit//tick"
|
|
266
|
+
},
|
|
267
|
+
"metadata": {
|
|
268
|
+
"loopId": "loop_0"
|
|
265
269
|
}
|
|
266
270
|
},
|
|
267
271
|
{
|
|
@@ -274,6 +278,12 @@
|
|
|
274
278
|
}
|
|
275
279
|
],
|
|
276
280
|
"edges": [
|
|
281
|
+
{
|
|
282
|
+
"id": "e_node_0_back_node_0",
|
|
283
|
+
"source": "node_0",
|
|
284
|
+
"target": "node_0",
|
|
285
|
+
"type": "loop"
|
|
286
|
+
},
|
|
277
287
|
{
|
|
278
288
|
"id": "e_start_node_0",
|
|
279
289
|
"source": "start",
|
|
@@ -281,29 +291,25 @@
|
|
|
281
291
|
"type": "default"
|
|
282
292
|
},
|
|
283
293
|
{
|
|
284
|
-
"id": "
|
|
294
|
+
"id": "e_node_0_end",
|
|
285
295
|
"source": "node_0",
|
|
286
|
-
"target": "node_1",
|
|
287
|
-
"type": "default"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"id": "e_node_1_end",
|
|
291
|
-
"source": "node_1",
|
|
292
296
|
"target": "end",
|
|
293
297
|
"type": "default"
|
|
294
298
|
}
|
|
295
299
|
]
|
|
296
300
|
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"workflows/noop.ts": {
|
|
304
|
+
"brokenWf": {
|
|
305
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
300
306
|
"graph": {
|
|
301
307
|
"nodes": [
|
|
302
308
|
{
|
|
303
309
|
"id": "start",
|
|
304
310
|
"type": "workflowStart",
|
|
305
311
|
"data": {
|
|
306
|
-
"label": "Start:
|
|
312
|
+
"label": "Start: brokenWf",
|
|
307
313
|
"nodeKind": "workflow_start"
|
|
308
314
|
}
|
|
309
315
|
},
|
|
@@ -313,7 +319,16 @@
|
|
|
313
319
|
"data": {
|
|
314
320
|
"label": "noop",
|
|
315
321
|
"nodeKind": "step",
|
|
316
|
-
"stepId": "step//./workflows/
|
|
322
|
+
"stepId": "step//./workflows/noop//noop"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "node_1",
|
|
327
|
+
"type": "step",
|
|
328
|
+
"data": {
|
|
329
|
+
"label": "noop",
|
|
330
|
+
"nodeKind": "step",
|
|
331
|
+
"stepId": "step//./workflows/noop//noop"
|
|
317
332
|
}
|
|
318
333
|
},
|
|
319
334
|
{
|
|
@@ -333,23 +348,31 @@
|
|
|
333
348
|
"type": "default"
|
|
334
349
|
},
|
|
335
350
|
{
|
|
336
|
-
"id": "
|
|
351
|
+
"id": "e_node_0_node_1",
|
|
337
352
|
"source": "node_0",
|
|
353
|
+
"target": "node_1",
|
|
354
|
+
"type": "default"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"id": "e_node_1_end",
|
|
358
|
+
"source": "node_1",
|
|
338
359
|
"target": "end",
|
|
339
360
|
"type": "default"
|
|
340
361
|
}
|
|
341
362
|
]
|
|
342
363
|
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"workflows/null-byte.ts": {
|
|
367
|
+
"nullByteWorkflow": {
|
|
368
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
346
369
|
"graph": {
|
|
347
370
|
"nodes": [
|
|
348
371
|
{
|
|
349
372
|
"id": "start",
|
|
350
373
|
"type": "workflowStart",
|
|
351
374
|
"data": {
|
|
352
|
-
"label": "Start:
|
|
375
|
+
"label": "Start: nullByteWorkflow",
|
|
353
376
|
"nodeKind": "workflow_start"
|
|
354
377
|
}
|
|
355
378
|
},
|
|
@@ -357,18 +380,9 @@
|
|
|
357
380
|
"id": "node_0",
|
|
358
381
|
"type": "step",
|
|
359
382
|
"data": {
|
|
360
|
-
"label": "
|
|
361
|
-
"nodeKind": "step",
|
|
362
|
-
"stepId": "step//./workflows/lineage//noop"
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"id": "node_1",
|
|
367
|
-
"type": "step",
|
|
368
|
-
"data": {
|
|
369
|
-
"label": "start",
|
|
383
|
+
"label": "nullByteStep",
|
|
370
384
|
"nodeKind": "step",
|
|
371
|
-
"stepId": "step
|
|
385
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
372
386
|
}
|
|
373
387
|
},
|
|
374
388
|
{
|
|
@@ -388,29 +402,25 @@
|
|
|
388
402
|
"type": "default"
|
|
389
403
|
},
|
|
390
404
|
{
|
|
391
|
-
"id": "
|
|
405
|
+
"id": "e_node_0_end",
|
|
392
406
|
"source": "node_0",
|
|
393
|
-
"target": "node_1",
|
|
394
|
-
"type": "default"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"id": "e_node_1_end",
|
|
398
|
-
"source": "node_1",
|
|
399
407
|
"target": "end",
|
|
400
408
|
"type": "default"
|
|
401
409
|
}
|
|
402
410
|
]
|
|
403
411
|
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"workflows/lineage.ts": {
|
|
415
|
+
"bodyStartsChild": {
|
|
416
|
+
"workflowId": "workflow//./workflows/lineage//bodyStartsChild",
|
|
407
417
|
"graph": {
|
|
408
418
|
"nodes": [
|
|
409
419
|
{
|
|
410
420
|
"id": "start",
|
|
411
421
|
"type": "workflowStart",
|
|
412
422
|
"data": {
|
|
413
|
-
"label": "Start:
|
|
423
|
+
"label": "Start: bodyStartsChild",
|
|
414
424
|
"nodeKind": "workflow_start"
|
|
415
425
|
}
|
|
416
426
|
},
|
|
@@ -429,7 +439,7 @@
|
|
|
429
439
|
"data": {
|
|
430
440
|
"label": "start",
|
|
431
441
|
"nodeKind": "step",
|
|
432
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
442
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
|
|
433
443
|
}
|
|
434
444
|
},
|
|
435
445
|
{
|
|
@@ -463,15 +473,15 @@
|
|
|
463
473
|
]
|
|
464
474
|
}
|
|
465
475
|
},
|
|
466
|
-
"
|
|
467
|
-
"workflowId": "workflow//./workflows/lineage//
|
|
476
|
+
"chainLeaf": {
|
|
477
|
+
"workflowId": "workflow//./workflows/lineage//chainLeaf",
|
|
468
478
|
"graph": {
|
|
469
479
|
"nodes": [
|
|
470
480
|
{
|
|
471
481
|
"id": "start",
|
|
472
482
|
"type": "workflowStart",
|
|
473
483
|
"data": {
|
|
474
|
-
"label": "Start:
|
|
484
|
+
"label": "Start: chainLeaf",
|
|
475
485
|
"nodeKind": "workflow_start"
|
|
476
486
|
}
|
|
477
487
|
},
|
|
@@ -508,18 +518,16 @@
|
|
|
508
518
|
}
|
|
509
519
|
]
|
|
510
520
|
}
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
"collectWithHook": {
|
|
515
|
-
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
521
|
+
},
|
|
522
|
+
"chainMiddle": {
|
|
523
|
+
"workflowId": "workflow//./workflows/lineage//chainMiddle",
|
|
516
524
|
"graph": {
|
|
517
525
|
"nodes": [
|
|
518
526
|
{
|
|
519
527
|
"id": "start",
|
|
520
528
|
"type": "workflowStart",
|
|
521
529
|
"data": {
|
|
522
|
-
"label": "Start:
|
|
530
|
+
"label": "Start: chainMiddle",
|
|
523
531
|
"nodeKind": "workflow_start"
|
|
524
532
|
}
|
|
525
533
|
},
|
|
@@ -527,22 +535,18 @@
|
|
|
527
535
|
"id": "node_0",
|
|
528
536
|
"type": "step",
|
|
529
537
|
"data": {
|
|
530
|
-
"label": "
|
|
538
|
+
"label": "noop",
|
|
531
539
|
"nodeKind": "step",
|
|
532
|
-
"stepId": "step//./workflows/
|
|
540
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
533
541
|
}
|
|
534
542
|
},
|
|
535
543
|
{
|
|
536
544
|
"id": "node_1",
|
|
537
545
|
"type": "step",
|
|
538
546
|
"data": {
|
|
539
|
-
"label": "
|
|
547
|
+
"label": "start",
|
|
540
548
|
"nodeKind": "step",
|
|
541
|
-
"stepId": "step
|
|
542
|
-
},
|
|
543
|
-
"metadata": {
|
|
544
|
-
"loopId": "loop_0",
|
|
545
|
-
"loopIsAwait": true
|
|
549
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
|
|
546
550
|
}
|
|
547
551
|
},
|
|
548
552
|
{
|
|
@@ -561,12 +565,6 @@
|
|
|
561
565
|
"target": "node_0",
|
|
562
566
|
"type": "default"
|
|
563
567
|
},
|
|
564
|
-
{
|
|
565
|
-
"id": "e_node_1_back_node_1",
|
|
566
|
-
"source": "node_1",
|
|
567
|
-
"target": "node_1",
|
|
568
|
-
"type": "loop"
|
|
569
|
-
},
|
|
570
568
|
{
|
|
571
569
|
"id": "e_node_0_node_1",
|
|
572
570
|
"source": "node_0",
|
|
@@ -581,18 +579,16 @@
|
|
|
581
579
|
}
|
|
582
580
|
]
|
|
583
581
|
}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
"runawayWorkflow": {
|
|
588
|
-
"workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
|
|
582
|
+
},
|
|
583
|
+
"chainRoot": {
|
|
584
|
+
"workflowId": "workflow//./workflows/lineage//chainRoot",
|
|
589
585
|
"graph": {
|
|
590
586
|
"nodes": [
|
|
591
587
|
{
|
|
592
588
|
"id": "start",
|
|
593
589
|
"type": "workflowStart",
|
|
594
590
|
"data": {
|
|
595
|
-
"label": "Start:
|
|
591
|
+
"label": "Start: chainRoot",
|
|
596
592
|
"nodeKind": "workflow_start"
|
|
597
593
|
}
|
|
598
594
|
},
|
|
@@ -600,66 +596,18 @@
|
|
|
600
596
|
"id": "node_0",
|
|
601
597
|
"type": "step",
|
|
602
598
|
"data": {
|
|
603
|
-
"label": "
|
|
599
|
+
"label": "noop",
|
|
604
600
|
"nodeKind": "step",
|
|
605
|
-
"stepId": "step//./workflows/
|
|
606
|
-
},
|
|
607
|
-
"metadata": {
|
|
608
|
-
"loopId": "loop_0"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"id": "end",
|
|
613
|
-
"type": "workflowEnd",
|
|
614
|
-
"data": {
|
|
615
|
-
"label": "Return",
|
|
616
|
-
"nodeKind": "workflow_end"
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
],
|
|
620
|
-
"edges": [
|
|
621
|
-
{
|
|
622
|
-
"id": "e_node_0_back_node_0",
|
|
623
|
-
"source": "node_0",
|
|
624
|
-
"target": "node_0",
|
|
625
|
-
"type": "loop"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
"id": "e_start_node_0",
|
|
629
|
-
"source": "start",
|
|
630
|
-
"target": "node_0",
|
|
631
|
-
"type": "default"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"id": "e_node_0_end",
|
|
635
|
-
"source": "node_0",
|
|
636
|
-
"target": "end",
|
|
637
|
-
"type": "default"
|
|
638
|
-
}
|
|
639
|
-
]
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"workflows/null-byte.ts": {
|
|
644
|
-
"nullByteWorkflow": {
|
|
645
|
-
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
646
|
-
"graph": {
|
|
647
|
-
"nodes": [
|
|
648
|
-
{
|
|
649
|
-
"id": "start",
|
|
650
|
-
"type": "workflowStart",
|
|
651
|
-
"data": {
|
|
652
|
-
"label": "Start: nullByteWorkflow",
|
|
653
|
-
"nodeKind": "workflow_start"
|
|
601
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
654
602
|
}
|
|
655
603
|
},
|
|
656
604
|
{
|
|
657
|
-
"id": "
|
|
605
|
+
"id": "node_1",
|
|
658
606
|
"type": "step",
|
|
659
607
|
"data": {
|
|
660
|
-
"label": "
|
|
608
|
+
"label": "start",
|
|
661
609
|
"nodeKind": "step",
|
|
662
|
-
"stepId": "step
|
|
610
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.37//start"
|
|
663
611
|
}
|
|
664
612
|
},
|
|
665
613
|
{
|
|
@@ -679,25 +627,29 @@
|
|
|
679
627
|
"type": "default"
|
|
680
628
|
},
|
|
681
629
|
{
|
|
682
|
-
"id": "
|
|
630
|
+
"id": "e_node_0_node_1",
|
|
683
631
|
"source": "node_0",
|
|
632
|
+
"target": "node_1",
|
|
633
|
+
"type": "default"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"id": "e_node_1_end",
|
|
637
|
+
"source": "node_1",
|
|
684
638
|
"target": "end",
|
|
685
639
|
"type": "default"
|
|
686
640
|
}
|
|
687
641
|
]
|
|
688
642
|
}
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
"retryableAndFatalErrorWorkflow": {
|
|
693
|
-
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
643
|
+
},
|
|
644
|
+
"spawnedChild": {
|
|
645
|
+
"workflowId": "workflow//./workflows/lineage//spawnedChild",
|
|
694
646
|
"graph": {
|
|
695
647
|
"nodes": [
|
|
696
648
|
{
|
|
697
649
|
"id": "start",
|
|
698
650
|
"type": "workflowStart",
|
|
699
651
|
"data": {
|
|
700
|
-
"label": "Start:
|
|
652
|
+
"label": "Start: spawnedChild",
|
|
701
653
|
"nodeKind": "workflow_start"
|
|
702
654
|
}
|
|
703
655
|
},
|
|
@@ -705,9 +657,9 @@
|
|
|
705
657
|
"id": "node_0",
|
|
706
658
|
"type": "step",
|
|
707
659
|
"data": {
|
|
708
|
-
"label": "
|
|
660
|
+
"label": "noop",
|
|
709
661
|
"nodeKind": "step",
|
|
710
|
-
"stepId": "step//./workflows/
|
|
662
|
+
"stepId": "step//./workflows/lineage//noop"
|
|
711
663
|
}
|
|
712
664
|
},
|
|
713
665
|
{
|
|
@@ -1759,12 +1711,60 @@
|
|
|
1759
1711
|
]
|
|
1760
1712
|
}
|
|
1761
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.37//Run"
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
}
|