@workflow/world-testing 4.1.29 → 4.1.31

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,14 +1,9 @@
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
- },
9
- "workflows/event-limit.ts": {
10
- "tick": {
11
- "stepId": "step//./workflows/event-limit//tick"
4
+ "workflows/noop.ts": {
5
+ "noop": {
6
+ "stepId": "step//./workflows/noop//noop"
12
7
  }
13
8
  },
14
9
  "workflows/retriable-and-fatal.ts": {
@@ -19,16 +14,16 @@
19
14
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
20
15
  }
21
16
  },
17
+ "workflows/event-limit.ts": {
18
+ "tick": {
19
+ "stepId": "step//./workflows/event-limit//tick"
20
+ }
21
+ },
22
22
  "workflows/hooks.ts": {
23
23
  "writeEvent": {
24
24
  "stepId": "step//./workflows/hooks//writeEvent"
25
25
  }
26
26
  },
27
- "workflow/dist/stdlib.js": {
28
- "fetch": {
29
- "stepId": "step//workflow@4.8.14//fetch"
30
- }
31
- },
32
27
  "workflow/dist/internal/builtins.js": {
33
28
  "__builtin_response_array_buffer": {
34
29
  "stepId": "__builtin_response_array_buffer"
@@ -45,23 +40,28 @@
45
40
  "stepId": "step//./workflows/null-byte//nullByteStep"
46
41
  }
47
42
  },
48
- "workflows/noop.ts": {
49
- "noop": {
50
- "stepId": "step//./workflows/noop//noop"
43
+ "workflows/addition.ts": {
44
+ "add": {
45
+ "stepId": "step//./workflows/addition//add"
46
+ }
47
+ },
48
+ "workflow/dist/stdlib.js": {
49
+ "fetch": {
50
+ "stepId": "step//workflow@4.8.16//fetch"
51
51
  }
52
52
  }
53
53
  },
54
54
  "workflows": {
55
- "workflows/addition.ts": {
56
- "addition": {
57
- "workflowId": "workflow//./workflows/addition//addition",
55
+ "workflows/noop.ts": {
56
+ "brokenWf": {
57
+ "workflowId": "workflow//./workflows/noop//brokenWf",
58
58
  "graph": {
59
59
  "nodes": [
60
60
  {
61
61
  "id": "start",
62
62
  "type": "workflowStart",
63
63
  "data": {
64
- "label": "Start: addition",
64
+ "label": "Start: brokenWf",
65
65
  "nodeKind": "workflow_start"
66
66
  }
67
67
  },
@@ -69,9 +69,18 @@
69
69
  "id": "node_0",
70
70
  "type": "step",
71
71
  "data": {
72
- "label": "add",
72
+ "label": "noop",
73
73
  "nodeKind": "step",
74
- "stepId": "step//./workflows/addition//add"
74
+ "stepId": "step//./workflows/noop//noop"
75
+ }
76
+ },
77
+ {
78
+ "id": "node_1",
79
+ "type": "step",
80
+ "data": {
81
+ "label": "noop",
82
+ "nodeKind": "step",
83
+ "stepId": "step//./workflows/noop//noop"
75
84
  }
76
85
  },
77
86
  {
@@ -91,8 +100,14 @@
91
100
  "type": "default"
92
101
  },
93
102
  {
94
- "id": "e_node_0_end",
103
+ "id": "e_node_0_node_1",
95
104
  "source": "node_0",
105
+ "target": "node_1",
106
+ "type": "default"
107
+ },
108
+ {
109
+ "id": "e_node_1_end",
110
+ "source": "node_1",
96
111
  "target": "end",
97
112
  "type": "default"
98
113
  }
@@ -100,16 +115,16 @@
100
115
  }
101
116
  }
102
117
  },
103
- "workflows/event-limit.ts": {
104
- "runawayWorkflow": {
105
- "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
118
+ "workflows/retriable-and-fatal.ts": {
119
+ "retryableAndFatalErrorWorkflow": {
120
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
106
121
  "graph": {
107
122
  "nodes": [
108
123
  {
109
124
  "id": "start",
110
125
  "type": "workflowStart",
111
126
  "data": {
112
- "label": "Start: runawayWorkflow",
127
+ "label": "Start: retryableAndFatalErrorWorkflow",
113
128
  "nodeKind": "workflow_start"
114
129
  }
115
130
  },
@@ -117,12 +132,9 @@
117
132
  "id": "node_0",
118
133
  "type": "step",
119
134
  "data": {
120
- "label": "tick",
135
+ "label": "stepThatThrowsRetryableError",
121
136
  "nodeKind": "step",
122
- "stepId": "step//./workflows/event-limit//tick"
123
- },
124
- "metadata": {
125
- "loopId": "loop_0"
137
+ "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
126
138
  }
127
139
  },
128
140
  {
@@ -135,12 +147,6 @@
135
147
  }
136
148
  ],
137
149
  "edges": [
138
- {
139
- "id": "e_node_0_back_node_0",
140
- "source": "node_0",
141
- "target": "node_0",
142
- "type": "loop"
143
- },
144
150
  {
145
151
  "id": "e_start_node_0",
146
152
  "source": "start",
@@ -157,16 +163,16 @@
157
163
  }
158
164
  }
159
165
  },
160
- "workflows/retriable-and-fatal.ts": {
161
- "retryableAndFatalErrorWorkflow": {
162
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
166
+ "workflows/event-limit.ts": {
167
+ "runawayWorkflow": {
168
+ "workflowId": "workflow//./workflows/event-limit//runawayWorkflow",
163
169
  "graph": {
164
170
  "nodes": [
165
171
  {
166
172
  "id": "start",
167
173
  "type": "workflowStart",
168
174
  "data": {
169
- "label": "Start: retryableAndFatalErrorWorkflow",
175
+ "label": "Start: runawayWorkflow",
170
176
  "nodeKind": "workflow_start"
171
177
  }
172
178
  },
@@ -174,9 +180,12 @@
174
180
  "id": "node_0",
175
181
  "type": "step",
176
182
  "data": {
177
- "label": "stepThatThrowsRetryableError",
183
+ "label": "tick",
178
184
  "nodeKind": "step",
179
- "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
185
+ "stepId": "step//./workflows/event-limit//tick"
186
+ },
187
+ "metadata": {
188
+ "loopId": "loop_0"
180
189
  }
181
190
  },
182
191
  {
@@ -189,6 +198,12 @@
189
198
  }
190
199
  ],
191
200
  "edges": [
201
+ {
202
+ "id": "e_node_0_back_node_0",
203
+ "source": "node_0",
204
+ "target": "node_0",
205
+ "type": "loop"
206
+ },
192
207
  {
193
208
  "id": "e_start_node_0",
194
209
  "source": "start",
@@ -326,16 +341,16 @@
326
341
  }
327
342
  }
328
343
  },
329
- "workflows/noop.ts": {
330
- "brokenWf": {
331
- "workflowId": "workflow//./workflows/noop//brokenWf",
344
+ "workflows/addition.ts": {
345
+ "addition": {
346
+ "workflowId": "workflow//./workflows/addition//addition",
332
347
  "graph": {
333
348
  "nodes": [
334
349
  {
335
350
  "id": "start",
336
351
  "type": "workflowStart",
337
352
  "data": {
338
- "label": "Start: brokenWf",
353
+ "label": "Start: addition",
339
354
  "nodeKind": "workflow_start"
340
355
  }
341
356
  },
@@ -343,18 +358,9 @@
343
358
  "id": "node_0",
344
359
  "type": "step",
345
360
  "data": {
346
- "label": "noop",
347
- "nodeKind": "step",
348
- "stepId": "step//./workflows/noop//noop"
349
- }
350
- },
351
- {
352
- "id": "node_1",
353
- "type": "step",
354
- "data": {
355
- "label": "noop",
361
+ "label": "add",
356
362
  "nodeKind": "step",
357
- "stepId": "step//./workflows/noop//noop"
363
+ "stepId": "step//./workflows/addition//add"
358
364
  }
359
365
  },
360
366
  {
@@ -374,14 +380,8 @@
374
380
  "type": "default"
375
381
  },
376
382
  {
377
- "id": "e_node_0_node_1",
383
+ "id": "e_node_0_end",
378
384
  "source": "node_0",
379
- "target": "node_1",
380
- "type": "default"
381
- },
382
- {
383
- "id": "e_node_1_end",
384
- "source": "node_1",
385
385
  "target": "end",
386
386
  "type": "default"
387
387
  }