@workflow/world-testing 4.1.0-beta.76 → 4.1.0-beta.77
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.
|
@@ -53902,7 +53902,7 @@ init_dist();
|
|
|
53902
53902
|
var import_async_sema = __toESM(require_lib(), 1);
|
|
53903
53903
|
init_node();
|
|
53904
53904
|
var import_undici = __toESM(require_undici(), 1);
|
|
53905
|
-
|
|
53905
|
+
init_v4();
|
|
53906
53906
|
var LOCAL_QUEUE_MAX_VISIBILITY = parseInt(process.env.WORKFLOW_LOCAL_QUEUE_MAX_VISIBILITY ?? "0", 10) || Infinity;
|
|
53907
53907
|
var MAX_SAFE_TIMEOUT_MS = 2147483647;
|
|
53908
53908
|
var DEFAULT_CONCURRENCY_LIMIT = 1e3;
|
|
@@ -54029,10 +54029,10 @@ function createQueue(config3) {
|
|
|
54029
54029
|
});
|
|
54030
54030
|
return { messageId };
|
|
54031
54031
|
}, "queue");
|
|
54032
|
-
const HeaderParser =
|
|
54032
|
+
const HeaderParser = external_exports.object({
|
|
54033
54033
|
"x-vqs-queue-name": ValidQueueName,
|
|
54034
54034
|
"x-vqs-message-id": MessageId,
|
|
54035
|
-
"x-vqs-message-attempt":
|
|
54035
|
+
"x-vqs-message-attempt": external_exports.coerce.number()
|
|
54036
54036
|
});
|
|
54037
54037
|
const createQueueHandler = /* @__PURE__ */ __name((prefix, handler) => {
|
|
54038
54038
|
return async (req) => {
|
|
@@ -55540,7 +55540,7 @@ __name(instrumentObject2, "instrumentObject");
|
|
|
55540
55540
|
// ../world-vercel/dist/queue.js
|
|
55541
55541
|
var import_node_async_hooks = require("node:async_hooks");
|
|
55542
55542
|
init_dist();
|
|
55543
|
-
|
|
55543
|
+
init_v4();
|
|
55544
55544
|
|
|
55545
55545
|
// ../world-vercel/dist/utils.js
|
|
55546
55546
|
var import_node_os = __toESM(require("node:os"), 1);
|
|
@@ -57900,7 +57900,7 @@ if (!nativeAccelerationDisabled) {
|
|
|
57900
57900
|
}
|
|
57901
57901
|
|
|
57902
57902
|
// ../world-vercel/dist/version.js
|
|
57903
|
-
var version2 = "4.1.0-beta.
|
|
57903
|
+
var version2 = "4.1.0-beta.47";
|
|
57904
57904
|
|
|
57905
57905
|
// ../world-vercel/dist/utils.js
|
|
57906
57906
|
var HTTP_DEBUG_ENABLED = typeof process !== "undefined" && typeof process.env.DEBUG === "string" && (process.env.DEBUG.includes("workflow:") || process.env.DEBUG === "*");
|
|
@@ -58145,14 +58145,14 @@ __name(parseResponseBody, "parseResponseBody");
|
|
|
58145
58145
|
|
|
58146
58146
|
// ../world-vercel/dist/queue.js
|
|
58147
58147
|
var requestIdStorage = new import_node_async_hooks.AsyncLocalStorage();
|
|
58148
|
-
var MessageWrapper = object({
|
|
58148
|
+
var MessageWrapper = external_exports.object({
|
|
58149
58149
|
payload: QueuePayloadSchema,
|
|
58150
58150
|
queueName: ValidQueueName,
|
|
58151
58151
|
/**
|
|
58152
58152
|
* The deployment ID to use when re-enqueueing the message.
|
|
58153
58153
|
* This ensures the message is processed by the same deployment.
|
|
58154
58154
|
*/
|
|
58155
|
-
deploymentId:
|
|
58155
|
+
deploymentId: external_exports.string().optional()
|
|
58156
58156
|
});
|
|
58157
58157
|
var MAX_DELAY_SECONDS = Number(
|
|
58158
58158
|
process.env.VERCEL_QUEUE_MAX_DELAY_SECONDS || 82800
|
|
@@ -1,17 +1,14 @@
|
|
|
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
|
-
"workflows/
|
|
10
|
-
"
|
|
11
|
-
"stepId": "step//./workflows/
|
|
12
|
-
},
|
|
13
|
-
"stepThatThrowsRetryableError": {
|
|
14
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
9
|
+
"workflows/noop.ts": {
|
|
10
|
+
"noop": {
|
|
11
|
+
"stepId": "step//./workflows/noop//noop"
|
|
15
12
|
}
|
|
16
13
|
},
|
|
17
14
|
"workflow/dist/internal/builtins.js": {
|
|
@@ -25,33 +22,36 @@
|
|
|
25
22
|
"stepId": "__builtin_response_text"
|
|
26
23
|
}
|
|
27
24
|
},
|
|
28
|
-
"workflows/
|
|
29
|
-
"
|
|
30
|
-
"stepId": "step//./workflows/
|
|
25
|
+
"workflows/addition.ts": {
|
|
26
|
+
"add": {
|
|
27
|
+
"stepId": "step//./workflows/addition//add"
|
|
28
|
+
}
|
|
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"
|
|
31
36
|
}
|
|
32
37
|
},
|
|
33
38
|
"workflows/null-byte.ts": {
|
|
34
39
|
"nullByteStep": {
|
|
35
40
|
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
36
41
|
}
|
|
37
|
-
},
|
|
38
|
-
"workflows/hooks.ts": {
|
|
39
|
-
"writeEvent": {
|
|
40
|
-
"stepId": "step//./workflows/hooks//writeEvent"
|
|
41
|
-
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"workflows": {
|
|
45
|
-
"workflows/
|
|
46
|
-
"
|
|
47
|
-
"workflowId": "workflow//./workflows/
|
|
45
|
+
"workflows/hooks.ts": {
|
|
46
|
+
"collectWithHook": {
|
|
47
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
48
48
|
"graph": {
|
|
49
49
|
"nodes": [
|
|
50
50
|
{
|
|
51
51
|
"id": "start",
|
|
52
52
|
"type": "workflowStart",
|
|
53
53
|
"data": {
|
|
54
|
-
"label": "Start:
|
|
54
|
+
"label": "Start: collectWithHook",
|
|
55
55
|
"nodeKind": "workflow_start"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
"workflows/
|
|
79
|
-
"
|
|
80
|
-
"workflowId": "workflow//./workflows/
|
|
78
|
+
"workflows/noop.ts": {
|
|
79
|
+
"brokenWf": {
|
|
80
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
81
81
|
"graph": {
|
|
82
82
|
"nodes": [
|
|
83
83
|
{
|
|
84
84
|
"id": "start",
|
|
85
85
|
"type": "workflowStart",
|
|
86
86
|
"data": {
|
|
87
|
-
"label": "Start:
|
|
87
|
+
"label": "Start: brokenWf",
|
|
88
88
|
"nodeKind": "workflow_start"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
@@ -108,16 +108,16 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"workflows/
|
|
112
|
-
"
|
|
113
|
-
"workflowId": "workflow//./workflows/
|
|
111
|
+
"workflows/addition.ts": {
|
|
112
|
+
"addition": {
|
|
113
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
114
114
|
"graph": {
|
|
115
115
|
"nodes": [
|
|
116
116
|
{
|
|
117
117
|
"id": "start",
|
|
118
118
|
"type": "workflowStart",
|
|
119
119
|
"data": {
|
|
120
|
-
"label": "Start:
|
|
120
|
+
"label": "Start: addition",
|
|
121
121
|
"nodeKind": "workflow_start"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
@@ -141,16 +141,16 @@
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
-
"workflows/
|
|
145
|
-
"
|
|
146
|
-
"workflowId": "workflow//./workflows/
|
|
144
|
+
"workflows/retriable-and-fatal.ts": {
|
|
145
|
+
"retryableAndFatalErrorWorkflow": {
|
|
146
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
147
147
|
"graph": {
|
|
148
148
|
"nodes": [
|
|
149
149
|
{
|
|
150
150
|
"id": "start",
|
|
151
151
|
"type": "workflowStart",
|
|
152
152
|
"data": {
|
|
153
|
-
"label": "Start:
|
|
153
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
154
154
|
"nodeKind": "workflow_start"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
@@ -174,16 +174,16 @@
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"workflows/
|
|
178
|
-
"
|
|
179
|
-
"workflowId": "workflow//./workflows/
|
|
177
|
+
"workflows/null-byte.ts": {
|
|
178
|
+
"nullByteWorkflow": {
|
|
179
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
180
180
|
"graph": {
|
|
181
181
|
"nodes": [
|
|
182
182
|
{
|
|
183
183
|
"id": "start",
|
|
184
184
|
"type": "workflowStart",
|
|
185
185
|
"data": {
|
|
186
|
-
"label": "Start:
|
|
186
|
+
"label": "Start: nullByteWorkflow",
|
|
187
187
|
"nodeKind": "workflow_start"
|
|
188
188
|
}
|
|
189
189
|
},
|