@trigger.dev/core 0.0.0-prerelease-20250430143421 → 0.0.0-prerelease-20250503193704
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/commonjs/utils.d.ts +6 -0
- package/dist/commonjs/utils.js +14 -0
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +43 -43
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
- package/dist/commonjs/v3/lifecycle-hooks-api.d.ts +1 -1
- package/dist/commonjs/v3/lifecycleHooks/index.d.ts +7 -1
- package/dist/commonjs/v3/lifecycleHooks/index.js +18 -0
- package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/manager.d.ts +18 -3
- package/dist/commonjs/v3/lifecycleHooks/manager.js +49 -2
- package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/types.d.ts +26 -10
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +17 -17
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.d.ts +4 -2
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js +11 -5
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +164 -164
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.d.ts +3 -3
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js +2 -4
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +12 -12
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +142 -142
- package/dist/commonjs/v3/schemas/api.d.ts +214 -214
- package/dist/commonjs/v3/schemas/build.d.ts +164 -164
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +18 -18
- package/dist/commonjs/v3/schemas/common.d.ts +171 -171
- package/dist/commonjs/v3/schemas/fetch.d.ts +10 -10
- package/dist/commonjs/v3/schemas/messages.d.ts +3046 -3036
- package/dist/commonjs/v3/schemas/messages.js +6 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +34 -34
- package/dist/commonjs/v3/schemas/runEngine.d.ts +68 -68
- package/dist/commonjs/v3/schemas/schemas.d.ts +128 -128
- package/dist/commonjs/v3/schemas/style.d.ts +2 -2
- package/dist/commonjs/v3/schemas/webhooks.d.ts +166 -166
- package/dist/commonjs/v3/streams/asyncIterableStream.d.ts +2 -1
- package/dist/commonjs/v3/streams/asyncIterableStream.js +4 -0
- package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.d.ts +1 -1
- package/dist/commonjs/v3/timeout/api.js +4 -4
- package/dist/commonjs/v3/timeout/api.js.map +1 -1
- package/dist/commonjs/v3/timeout/types.d.ts +1 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +2 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +10 -3
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/commonjs/v3/tryCatch.d.ts +3 -4
- package/dist/commonjs/v3/types/tasks.d.ts +17 -9
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.js +3 -1
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage-api.d.ts +1 -0
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +76 -16
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/zodMessageHandler.d.ts +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/utils.d.ts +6 -0
- package/dist/esm/utils.js +13 -0
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +43 -43
- package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
- package/dist/esm/v3/lifecycle-hooks-api.d.ts +1 -1
- package/dist/esm/v3/lifecycleHooks/index.d.ts +7 -1
- package/dist/esm/v3/lifecycleHooks/index.js +18 -0
- package/dist/esm/v3/lifecycleHooks/index.js.map +1 -1
- package/dist/esm/v3/lifecycleHooks/manager.d.ts +18 -3
- package/dist/esm/v3/lifecycleHooks/manager.js +49 -2
- package/dist/esm/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/esm/v3/lifecycleHooks/types.d.ts +26 -10
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +17 -17
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.d.ts +4 -2
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js +11 -5
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +164 -164
- package/dist/esm/v3/runEngineWorker/supervisor/session.d.ts +3 -3
- package/dist/esm/v3/runEngineWorker/supervisor/session.js +2 -4
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +12 -12
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +142 -142
- package/dist/esm/v3/schemas/api.d.ts +214 -214
- package/dist/esm/v3/schemas/build.d.ts +164 -164
- package/dist/esm/v3/schemas/checkpoints.d.ts +18 -18
- package/dist/esm/v3/schemas/common.d.ts +171 -171
- package/dist/esm/v3/schemas/fetch.d.ts +10 -10
- package/dist/esm/v3/schemas/messages.d.ts +3046 -3036
- package/dist/esm/v3/schemas/messages.js +6 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +34 -34
- package/dist/esm/v3/schemas/runEngine.d.ts +68 -68
- package/dist/esm/v3/schemas/schemas.d.ts +128 -128
- package/dist/esm/v3/schemas/style.d.ts +2 -2
- package/dist/esm/v3/schemas/webhooks.d.ts +166 -166
- package/dist/esm/v3/streams/asyncIterableStream.d.ts +2 -1
- package/dist/esm/v3/streams/asyncIterableStream.js +3 -0
- package/dist/esm/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/esm/v3/timeout/api.d.ts +1 -1
- package/dist/esm/v3/timeout/api.js +4 -4
- package/dist/esm/v3/timeout/api.js.map +1 -1
- package/dist/esm/v3/timeout/types.d.ts +1 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +2 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.js +10 -3
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/esm/v3/tryCatch.d.ts +3 -4
- package/dist/esm/v3/types/tasks.d.ts +17 -9
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.js +3 -1
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage-api.d.ts +1 -0
- package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +77 -17
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/zodMessageHandler.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -17,15 +17,15 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
17
17
|
cliVersion: z.ZodString;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
id: string;
|
|
20
|
-
filePath: string;
|
|
21
20
|
version: string;
|
|
21
|
+
filePath: string;
|
|
22
22
|
sdkVersion: string;
|
|
23
23
|
cliVersion: string;
|
|
24
24
|
exportName?: string | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
id: string;
|
|
27
|
-
filePath: string;
|
|
28
27
|
version: string;
|
|
28
|
+
filePath: string;
|
|
29
29
|
sdkVersion: string;
|
|
30
30
|
cliVersion: string;
|
|
31
31
|
exportName?: string | undefined;
|
|
@@ -57,14 +57,14 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
57
57
|
message: z.ZodString;
|
|
58
58
|
stackTrace: z.ZodString;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
name: string;
|
|
61
60
|
message: string;
|
|
62
61
|
type: "BUILT_IN_ERROR";
|
|
62
|
+
name: string;
|
|
63
63
|
stackTrace: string;
|
|
64
64
|
}, {
|
|
65
|
-
name: string;
|
|
66
65
|
message: string;
|
|
67
66
|
type: "BUILT_IN_ERROR";
|
|
67
|
+
name: string;
|
|
68
68
|
stackTrace: string;
|
|
69
69
|
}>, z.ZodObject<{
|
|
70
70
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -109,20 +109,10 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
number: number;
|
|
111
111
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
112
|
-
id: string;
|
|
113
|
-
tags: string[];
|
|
114
|
-
isTest: boolean;
|
|
115
|
-
createdAt: Date;
|
|
116
|
-
machine: string;
|
|
117
112
|
error: {
|
|
118
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
119
|
-
type: "INTERNAL_ERROR";
|
|
120
|
-
message?: string | undefined;
|
|
121
|
-
stackTrace?: string | undefined;
|
|
122
|
-
} | {
|
|
123
|
-
name: string;
|
|
124
113
|
message: string;
|
|
125
114
|
type: "BUILT_IN_ERROR";
|
|
115
|
+
name: string;
|
|
126
116
|
stackTrace: string;
|
|
127
117
|
} | {
|
|
128
118
|
type: "CUSTOM_ERROR";
|
|
@@ -130,7 +120,17 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
130
120
|
} | {
|
|
131
121
|
type: "STRING_ERROR";
|
|
132
122
|
raw: string;
|
|
123
|
+
} | {
|
|
124
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
125
|
+
type: "INTERNAL_ERROR";
|
|
126
|
+
message?: string | undefined;
|
|
127
|
+
stackTrace?: string | undefined;
|
|
133
128
|
};
|
|
129
|
+
id: string;
|
|
130
|
+
tags: string[];
|
|
131
|
+
isTest: boolean;
|
|
132
|
+
createdAt: Date;
|
|
133
|
+
machine: string;
|
|
134
134
|
dashboardUrl: string;
|
|
135
135
|
isOutOfMemoryError: boolean;
|
|
136
136
|
startedAt?: Date | undefined;
|
|
@@ -139,20 +139,10 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
139
139
|
}, {
|
|
140
140
|
number: number;
|
|
141
141
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
142
|
-
id: string;
|
|
143
|
-
tags: string[];
|
|
144
|
-
isTest: boolean;
|
|
145
|
-
createdAt: Date;
|
|
146
|
-
machine: string;
|
|
147
142
|
error: {
|
|
148
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
149
|
-
type: "INTERNAL_ERROR";
|
|
150
|
-
message?: string | undefined;
|
|
151
|
-
stackTrace?: string | undefined;
|
|
152
|
-
} | {
|
|
153
|
-
name: string;
|
|
154
143
|
message: string;
|
|
155
144
|
type: "BUILT_IN_ERROR";
|
|
145
|
+
name: string;
|
|
156
146
|
stackTrace: string;
|
|
157
147
|
} | {
|
|
158
148
|
type: "CUSTOM_ERROR";
|
|
@@ -160,7 +150,17 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
160
150
|
} | {
|
|
161
151
|
type: "STRING_ERROR";
|
|
162
152
|
raw: string;
|
|
153
|
+
} | {
|
|
154
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
155
|
+
type: "INTERNAL_ERROR";
|
|
156
|
+
message?: string | undefined;
|
|
157
|
+
stackTrace?: string | undefined;
|
|
163
158
|
};
|
|
159
|
+
id: string;
|
|
160
|
+
tags: string[];
|
|
161
|
+
isTest: boolean;
|
|
162
|
+
createdAt: Date;
|
|
163
|
+
machine: string;
|
|
164
164
|
dashboardUrl: string;
|
|
165
165
|
isOutOfMemoryError: boolean;
|
|
166
166
|
startedAt?: Date | undefined;
|
|
@@ -225,8 +225,8 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
task: {
|
|
227
227
|
id: string;
|
|
228
|
-
filePath: string;
|
|
229
228
|
version: string;
|
|
229
|
+
filePath: string;
|
|
230
230
|
sdkVersion: string;
|
|
231
231
|
cliVersion: string;
|
|
232
232
|
exportName?: string | undefined;
|
|
@@ -234,20 +234,10 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
234
234
|
run: {
|
|
235
235
|
number: number;
|
|
236
236
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
237
|
-
id: string;
|
|
238
|
-
tags: string[];
|
|
239
|
-
isTest: boolean;
|
|
240
|
-
createdAt: Date;
|
|
241
|
-
machine: string;
|
|
242
237
|
error: {
|
|
243
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
244
|
-
type: "INTERNAL_ERROR";
|
|
245
|
-
message?: string | undefined;
|
|
246
|
-
stackTrace?: string | undefined;
|
|
247
|
-
} | {
|
|
248
|
-
name: string;
|
|
249
238
|
message: string;
|
|
250
239
|
type: "BUILT_IN_ERROR";
|
|
240
|
+
name: string;
|
|
251
241
|
stackTrace: string;
|
|
252
242
|
} | {
|
|
253
243
|
type: "CUSTOM_ERROR";
|
|
@@ -255,7 +245,17 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
255
245
|
} | {
|
|
256
246
|
type: "STRING_ERROR";
|
|
257
247
|
raw: string;
|
|
248
|
+
} | {
|
|
249
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
250
|
+
type: "INTERNAL_ERROR";
|
|
251
|
+
message?: string | undefined;
|
|
252
|
+
stackTrace?: string | undefined;
|
|
258
253
|
};
|
|
254
|
+
id: string;
|
|
255
|
+
tags: string[];
|
|
256
|
+
isTest: boolean;
|
|
257
|
+
createdAt: Date;
|
|
258
|
+
machine: string;
|
|
259
259
|
dashboardUrl: string;
|
|
260
260
|
isOutOfMemoryError: boolean;
|
|
261
261
|
startedAt?: Date | undefined;
|
|
@@ -281,8 +281,8 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
281
281
|
}, {
|
|
282
282
|
task: {
|
|
283
283
|
id: string;
|
|
284
|
-
filePath: string;
|
|
285
284
|
version: string;
|
|
285
|
+
filePath: string;
|
|
286
286
|
sdkVersion: string;
|
|
287
287
|
cliVersion: string;
|
|
288
288
|
exportName?: string | undefined;
|
|
@@ -290,20 +290,10 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
290
290
|
run: {
|
|
291
291
|
number: number;
|
|
292
292
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
293
|
-
id: string;
|
|
294
|
-
tags: string[];
|
|
295
|
-
isTest: boolean;
|
|
296
|
-
createdAt: Date;
|
|
297
|
-
machine: string;
|
|
298
293
|
error: {
|
|
299
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
300
|
-
type: "INTERNAL_ERROR";
|
|
301
|
-
message?: string | undefined;
|
|
302
|
-
stackTrace?: string | undefined;
|
|
303
|
-
} | {
|
|
304
|
-
name: string;
|
|
305
294
|
message: string;
|
|
306
295
|
type: "BUILT_IN_ERROR";
|
|
296
|
+
name: string;
|
|
307
297
|
stackTrace: string;
|
|
308
298
|
} | {
|
|
309
299
|
type: "CUSTOM_ERROR";
|
|
@@ -311,7 +301,17 @@ declare const AlertWebhookRunFailedObject: z.ZodObject<{
|
|
|
311
301
|
} | {
|
|
312
302
|
type: "STRING_ERROR";
|
|
313
303
|
raw: string;
|
|
304
|
+
} | {
|
|
305
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
306
|
+
type: "INTERNAL_ERROR";
|
|
307
|
+
message?: string | undefined;
|
|
308
|
+
stackTrace?: string | undefined;
|
|
314
309
|
};
|
|
310
|
+
id: string;
|
|
311
|
+
tags: string[];
|
|
312
|
+
isTest: boolean;
|
|
313
|
+
createdAt: Date;
|
|
314
|
+
machine: string;
|
|
315
315
|
dashboardUrl: string;
|
|
316
316
|
isOutOfMemoryError: boolean;
|
|
317
317
|
startedAt?: Date | undefined;
|
|
@@ -347,13 +347,13 @@ export declare const DeployError: z.ZodObject<{
|
|
|
347
347
|
/** Standard error output */
|
|
348
348
|
stderr: z.ZodOptional<z.ZodString>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
name: string;
|
|
351
350
|
message: string;
|
|
351
|
+
name: string;
|
|
352
352
|
stack?: string | undefined;
|
|
353
353
|
stderr?: string | undefined;
|
|
354
354
|
}, {
|
|
355
|
-
name: string;
|
|
356
355
|
message: string;
|
|
356
|
+
name: string;
|
|
357
357
|
stack?: string | undefined;
|
|
358
358
|
stderr?: string | undefined;
|
|
359
359
|
}>;
|
|
@@ -548,13 +548,13 @@ export declare const AlertWebhookDeploymentFailedObject: z.ZodObject<{
|
|
|
548
548
|
/** Standard error output */
|
|
549
549
|
stderr: z.ZodOptional<z.ZodString>;
|
|
550
550
|
}, "strip", z.ZodTypeAny, {
|
|
551
|
-
name: string;
|
|
552
551
|
message: string;
|
|
552
|
+
name: string;
|
|
553
553
|
stack?: string | undefined;
|
|
554
554
|
stderr?: string | undefined;
|
|
555
555
|
}, {
|
|
556
|
-
name: string;
|
|
557
556
|
message: string;
|
|
557
|
+
name: string;
|
|
558
558
|
stack?: string | undefined;
|
|
559
559
|
stderr?: string | undefined;
|
|
560
560
|
}>;
|
|
@@ -604,6 +604,12 @@ export declare const AlertWebhookDeploymentFailedObject: z.ZodObject<{
|
|
|
604
604
|
ref: string;
|
|
605
605
|
}>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
+
error: {
|
|
608
|
+
message: string;
|
|
609
|
+
name: string;
|
|
610
|
+
stack?: string | undefined;
|
|
611
|
+
stderr?: string | undefined;
|
|
612
|
+
};
|
|
607
613
|
environment: {
|
|
608
614
|
type: import("@trigger.dev/database").$Enums.RuntimeEnvironmentType;
|
|
609
615
|
id: string;
|
|
@@ -620,12 +626,6 @@ export declare const AlertWebhookDeploymentFailedObject: z.ZodObject<{
|
|
|
620
626
|
slug: string;
|
|
621
627
|
ref: string;
|
|
622
628
|
};
|
|
623
|
-
error: {
|
|
624
|
-
name: string;
|
|
625
|
-
message: string;
|
|
626
|
-
stack?: string | undefined;
|
|
627
|
-
stderr?: string | undefined;
|
|
628
|
-
};
|
|
629
629
|
deployment: {
|
|
630
630
|
status: string;
|
|
631
631
|
id: string;
|
|
@@ -634,6 +634,12 @@ export declare const AlertWebhookDeploymentFailedObject: z.ZodObject<{
|
|
|
634
634
|
failedAt: Date;
|
|
635
635
|
};
|
|
636
636
|
}, {
|
|
637
|
+
error: {
|
|
638
|
+
message: string;
|
|
639
|
+
name: string;
|
|
640
|
+
stack?: string | undefined;
|
|
641
|
+
stderr?: string | undefined;
|
|
642
|
+
};
|
|
637
643
|
environment: {
|
|
638
644
|
type: import("@trigger.dev/database").$Enums.RuntimeEnvironmentType;
|
|
639
645
|
id: string;
|
|
@@ -650,12 +656,6 @@ export declare const AlertWebhookDeploymentFailedObject: z.ZodObject<{
|
|
|
650
656
|
slug: string;
|
|
651
657
|
ref: string;
|
|
652
658
|
};
|
|
653
|
-
error: {
|
|
654
|
-
name: string;
|
|
655
|
-
message: string;
|
|
656
|
-
stack?: string | undefined;
|
|
657
|
-
stderr?: string | undefined;
|
|
658
|
-
};
|
|
659
659
|
deployment: {
|
|
660
660
|
status: string;
|
|
661
661
|
id: string;
|
|
@@ -686,15 +686,15 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
686
686
|
cliVersion: z.ZodString;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
688
688
|
id: string;
|
|
689
|
-
filePath: string;
|
|
690
689
|
version: string;
|
|
690
|
+
filePath: string;
|
|
691
691
|
sdkVersion: string;
|
|
692
692
|
cliVersion: string;
|
|
693
693
|
exportName?: string | undefined;
|
|
694
694
|
}, {
|
|
695
695
|
id: string;
|
|
696
|
-
filePath: string;
|
|
697
696
|
version: string;
|
|
697
|
+
filePath: string;
|
|
698
698
|
sdkVersion: string;
|
|
699
699
|
cliVersion: string;
|
|
700
700
|
exportName?: string | undefined;
|
|
@@ -726,14 +726,14 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
726
726
|
message: z.ZodString;
|
|
727
727
|
stackTrace: z.ZodString;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
name: string;
|
|
730
729
|
message: string;
|
|
731
730
|
type: "BUILT_IN_ERROR";
|
|
731
|
+
name: string;
|
|
732
732
|
stackTrace: string;
|
|
733
733
|
}, {
|
|
734
|
-
name: string;
|
|
735
734
|
message: string;
|
|
736
735
|
type: "BUILT_IN_ERROR";
|
|
736
|
+
name: string;
|
|
737
737
|
stackTrace: string;
|
|
738
738
|
}>, z.ZodObject<{
|
|
739
739
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -778,20 +778,10 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
778
778
|
}, "strip", z.ZodTypeAny, {
|
|
779
779
|
number: number;
|
|
780
780
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
781
|
-
id: string;
|
|
782
|
-
tags: string[];
|
|
783
|
-
isTest: boolean;
|
|
784
|
-
createdAt: Date;
|
|
785
|
-
machine: string;
|
|
786
781
|
error: {
|
|
787
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
788
|
-
type: "INTERNAL_ERROR";
|
|
789
|
-
message?: string | undefined;
|
|
790
|
-
stackTrace?: string | undefined;
|
|
791
|
-
} | {
|
|
792
|
-
name: string;
|
|
793
782
|
message: string;
|
|
794
783
|
type: "BUILT_IN_ERROR";
|
|
784
|
+
name: string;
|
|
795
785
|
stackTrace: string;
|
|
796
786
|
} | {
|
|
797
787
|
type: "CUSTOM_ERROR";
|
|
@@ -799,7 +789,17 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
799
789
|
} | {
|
|
800
790
|
type: "STRING_ERROR";
|
|
801
791
|
raw: string;
|
|
792
|
+
} | {
|
|
793
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
794
|
+
type: "INTERNAL_ERROR";
|
|
795
|
+
message?: string | undefined;
|
|
796
|
+
stackTrace?: string | undefined;
|
|
802
797
|
};
|
|
798
|
+
id: string;
|
|
799
|
+
tags: string[];
|
|
800
|
+
isTest: boolean;
|
|
801
|
+
createdAt: Date;
|
|
802
|
+
machine: string;
|
|
803
803
|
dashboardUrl: string;
|
|
804
804
|
isOutOfMemoryError: boolean;
|
|
805
805
|
startedAt?: Date | undefined;
|
|
@@ -808,20 +808,10 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
808
808
|
}, {
|
|
809
809
|
number: number;
|
|
810
810
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
811
|
-
id: string;
|
|
812
|
-
tags: string[];
|
|
813
|
-
isTest: boolean;
|
|
814
|
-
createdAt: Date;
|
|
815
|
-
machine: string;
|
|
816
811
|
error: {
|
|
817
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
818
|
-
type: "INTERNAL_ERROR";
|
|
819
|
-
message?: string | undefined;
|
|
820
|
-
stackTrace?: string | undefined;
|
|
821
|
-
} | {
|
|
822
|
-
name: string;
|
|
823
812
|
message: string;
|
|
824
813
|
type: "BUILT_IN_ERROR";
|
|
814
|
+
name: string;
|
|
825
815
|
stackTrace: string;
|
|
826
816
|
} | {
|
|
827
817
|
type: "CUSTOM_ERROR";
|
|
@@ -829,7 +819,17 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
829
819
|
} | {
|
|
830
820
|
type: "STRING_ERROR";
|
|
831
821
|
raw: string;
|
|
822
|
+
} | {
|
|
823
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
824
|
+
type: "INTERNAL_ERROR";
|
|
825
|
+
message?: string | undefined;
|
|
826
|
+
stackTrace?: string | undefined;
|
|
832
827
|
};
|
|
828
|
+
id: string;
|
|
829
|
+
tags: string[];
|
|
830
|
+
isTest: boolean;
|
|
831
|
+
createdAt: Date;
|
|
832
|
+
machine: string;
|
|
833
833
|
dashboardUrl: string;
|
|
834
834
|
isOutOfMemoryError: boolean;
|
|
835
835
|
startedAt?: Date | undefined;
|
|
@@ -894,8 +894,8 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
894
894
|
}, "strip", z.ZodTypeAny, {
|
|
895
895
|
task: {
|
|
896
896
|
id: string;
|
|
897
|
-
filePath: string;
|
|
898
897
|
version: string;
|
|
898
|
+
filePath: string;
|
|
899
899
|
sdkVersion: string;
|
|
900
900
|
cliVersion: string;
|
|
901
901
|
exportName?: string | undefined;
|
|
@@ -903,20 +903,10 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
903
903
|
run: {
|
|
904
904
|
number: number;
|
|
905
905
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
906
|
-
id: string;
|
|
907
|
-
tags: string[];
|
|
908
|
-
isTest: boolean;
|
|
909
|
-
createdAt: Date;
|
|
910
|
-
machine: string;
|
|
911
906
|
error: {
|
|
912
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
913
|
-
type: "INTERNAL_ERROR";
|
|
914
|
-
message?: string | undefined;
|
|
915
|
-
stackTrace?: string | undefined;
|
|
916
|
-
} | {
|
|
917
|
-
name: string;
|
|
918
907
|
message: string;
|
|
919
908
|
type: "BUILT_IN_ERROR";
|
|
909
|
+
name: string;
|
|
920
910
|
stackTrace: string;
|
|
921
911
|
} | {
|
|
922
912
|
type: "CUSTOM_ERROR";
|
|
@@ -924,7 +914,17 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
924
914
|
} | {
|
|
925
915
|
type: "STRING_ERROR";
|
|
926
916
|
raw: string;
|
|
917
|
+
} | {
|
|
918
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
919
|
+
type: "INTERNAL_ERROR";
|
|
920
|
+
message?: string | undefined;
|
|
921
|
+
stackTrace?: string | undefined;
|
|
927
922
|
};
|
|
923
|
+
id: string;
|
|
924
|
+
tags: string[];
|
|
925
|
+
isTest: boolean;
|
|
926
|
+
createdAt: Date;
|
|
927
|
+
machine: string;
|
|
928
928
|
dashboardUrl: string;
|
|
929
929
|
isOutOfMemoryError: boolean;
|
|
930
930
|
startedAt?: Date | undefined;
|
|
@@ -950,8 +950,8 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
950
950
|
}, {
|
|
951
951
|
task: {
|
|
952
952
|
id: string;
|
|
953
|
-
filePath: string;
|
|
954
953
|
version: string;
|
|
954
|
+
filePath: string;
|
|
955
955
|
sdkVersion: string;
|
|
956
956
|
cliVersion: string;
|
|
957
957
|
exportName?: string | undefined;
|
|
@@ -959,20 +959,10 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
959
959
|
run: {
|
|
960
960
|
number: number;
|
|
961
961
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
962
|
-
id: string;
|
|
963
|
-
tags: string[];
|
|
964
|
-
isTest: boolean;
|
|
965
|
-
createdAt: Date;
|
|
966
|
-
machine: string;
|
|
967
962
|
error: {
|
|
968
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
969
|
-
type: "INTERNAL_ERROR";
|
|
970
|
-
message?: string | undefined;
|
|
971
|
-
stackTrace?: string | undefined;
|
|
972
|
-
} | {
|
|
973
|
-
name: string;
|
|
974
963
|
message: string;
|
|
975
964
|
type: "BUILT_IN_ERROR";
|
|
965
|
+
name: string;
|
|
976
966
|
stackTrace: string;
|
|
977
967
|
} | {
|
|
978
968
|
type: "CUSTOM_ERROR";
|
|
@@ -980,7 +970,17 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
980
970
|
} | {
|
|
981
971
|
type: "STRING_ERROR";
|
|
982
972
|
raw: string;
|
|
973
|
+
} | {
|
|
974
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
975
|
+
type: "INTERNAL_ERROR";
|
|
976
|
+
message?: string | undefined;
|
|
977
|
+
stackTrace?: string | undefined;
|
|
983
978
|
};
|
|
979
|
+
id: string;
|
|
980
|
+
tags: string[];
|
|
981
|
+
isTest: boolean;
|
|
982
|
+
createdAt: Date;
|
|
983
|
+
machine: string;
|
|
984
984
|
dashboardUrl: string;
|
|
985
985
|
isOutOfMemoryError: boolean;
|
|
986
986
|
startedAt?: Date | undefined;
|
|
@@ -1014,8 +1014,8 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1014
1014
|
object: {
|
|
1015
1015
|
task: {
|
|
1016
1016
|
id: string;
|
|
1017
|
-
filePath: string;
|
|
1018
1017
|
version: string;
|
|
1018
|
+
filePath: string;
|
|
1019
1019
|
sdkVersion: string;
|
|
1020
1020
|
cliVersion: string;
|
|
1021
1021
|
exportName?: string | undefined;
|
|
@@ -1023,20 +1023,10 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1023
1023
|
run: {
|
|
1024
1024
|
number: number;
|
|
1025
1025
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
1026
|
-
id: string;
|
|
1027
|
-
tags: string[];
|
|
1028
|
-
isTest: boolean;
|
|
1029
|
-
createdAt: Date;
|
|
1030
|
-
machine: string;
|
|
1031
1026
|
error: {
|
|
1032
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
1033
|
-
type: "INTERNAL_ERROR";
|
|
1034
|
-
message?: string | undefined;
|
|
1035
|
-
stackTrace?: string | undefined;
|
|
1036
|
-
} | {
|
|
1037
|
-
name: string;
|
|
1038
1027
|
message: string;
|
|
1039
1028
|
type: "BUILT_IN_ERROR";
|
|
1029
|
+
name: string;
|
|
1040
1030
|
stackTrace: string;
|
|
1041
1031
|
} | {
|
|
1042
1032
|
type: "CUSTOM_ERROR";
|
|
@@ -1044,7 +1034,17 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1044
1034
|
} | {
|
|
1045
1035
|
type: "STRING_ERROR";
|
|
1046
1036
|
raw: string;
|
|
1037
|
+
} | {
|
|
1038
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
1039
|
+
type: "INTERNAL_ERROR";
|
|
1040
|
+
message?: string | undefined;
|
|
1041
|
+
stackTrace?: string | undefined;
|
|
1047
1042
|
};
|
|
1043
|
+
id: string;
|
|
1044
|
+
tags: string[];
|
|
1045
|
+
isTest: boolean;
|
|
1046
|
+
createdAt: Date;
|
|
1047
|
+
machine: string;
|
|
1048
1048
|
dashboardUrl: string;
|
|
1049
1049
|
isOutOfMemoryError: boolean;
|
|
1050
1050
|
startedAt?: Date | undefined;
|
|
@@ -1076,8 +1076,8 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1076
1076
|
object: {
|
|
1077
1077
|
task: {
|
|
1078
1078
|
id: string;
|
|
1079
|
-
filePath: string;
|
|
1080
1079
|
version: string;
|
|
1080
|
+
filePath: string;
|
|
1081
1081
|
sdkVersion: string;
|
|
1082
1082
|
cliVersion: string;
|
|
1083
1083
|
exportName?: string | undefined;
|
|
@@ -1085,20 +1085,10 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1085
1085
|
run: {
|
|
1086
1086
|
number: number;
|
|
1087
1087
|
status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
1088
|
-
id: string;
|
|
1089
|
-
tags: string[];
|
|
1090
|
-
isTest: boolean;
|
|
1091
|
-
createdAt: Date;
|
|
1092
|
-
machine: string;
|
|
1093
1088
|
error: {
|
|
1094
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
1095
|
-
type: "INTERNAL_ERROR";
|
|
1096
|
-
message?: string | undefined;
|
|
1097
|
-
stackTrace?: string | undefined;
|
|
1098
|
-
} | {
|
|
1099
|
-
name: string;
|
|
1100
1089
|
message: string;
|
|
1101
1090
|
type: "BUILT_IN_ERROR";
|
|
1091
|
+
name: string;
|
|
1102
1092
|
stackTrace: string;
|
|
1103
1093
|
} | {
|
|
1104
1094
|
type: "CUSTOM_ERROR";
|
|
@@ -1106,7 +1096,17 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1106
1096
|
} | {
|
|
1107
1097
|
type: "STRING_ERROR";
|
|
1108
1098
|
raw: string;
|
|
1099
|
+
} | {
|
|
1100
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
1101
|
+
type: "INTERNAL_ERROR";
|
|
1102
|
+
message?: string | undefined;
|
|
1103
|
+
stackTrace?: string | undefined;
|
|
1109
1104
|
};
|
|
1105
|
+
id: string;
|
|
1106
|
+
tags: string[];
|
|
1107
|
+
isTest: boolean;
|
|
1108
|
+
createdAt: Date;
|
|
1109
|
+
machine: string;
|
|
1110
1110
|
dashboardUrl: string;
|
|
1111
1111
|
isOutOfMemoryError: boolean;
|
|
1112
1112
|
startedAt?: Date | undefined;
|
|
@@ -1404,13 +1404,13 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1404
1404
|
/** Standard error output */
|
|
1405
1405
|
stderr: z.ZodOptional<z.ZodString>;
|
|
1406
1406
|
}, "strip", z.ZodTypeAny, {
|
|
1407
|
-
name: string;
|
|
1408
1407
|
message: string;
|
|
1408
|
+
name: string;
|
|
1409
1409
|
stack?: string | undefined;
|
|
1410
1410
|
stderr?: string | undefined;
|
|
1411
1411
|
}, {
|
|
1412
|
-
name: string;
|
|
1413
1412
|
message: string;
|
|
1413
|
+
name: string;
|
|
1414
1414
|
stack?: string | undefined;
|
|
1415
1415
|
stderr?: string | undefined;
|
|
1416
1416
|
}>;
|
|
@@ -1460,6 +1460,12 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1460
1460
|
ref: string;
|
|
1461
1461
|
}>;
|
|
1462
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1463
|
+
error: {
|
|
1464
|
+
message: string;
|
|
1465
|
+
name: string;
|
|
1466
|
+
stack?: string | undefined;
|
|
1467
|
+
stderr?: string | undefined;
|
|
1468
|
+
};
|
|
1463
1469
|
environment: {
|
|
1464
1470
|
type: import("@trigger.dev/database").$Enums.RuntimeEnvironmentType;
|
|
1465
1471
|
id: string;
|
|
@@ -1476,12 +1482,6 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1476
1482
|
slug: string;
|
|
1477
1483
|
ref: string;
|
|
1478
1484
|
};
|
|
1479
|
-
error: {
|
|
1480
|
-
name: string;
|
|
1481
|
-
message: string;
|
|
1482
|
-
stack?: string | undefined;
|
|
1483
|
-
stderr?: string | undefined;
|
|
1484
|
-
};
|
|
1485
1485
|
deployment: {
|
|
1486
1486
|
status: string;
|
|
1487
1487
|
id: string;
|
|
@@ -1490,6 +1490,12 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1490
1490
|
failedAt: Date;
|
|
1491
1491
|
};
|
|
1492
1492
|
}, {
|
|
1493
|
+
error: {
|
|
1494
|
+
message: string;
|
|
1495
|
+
name: string;
|
|
1496
|
+
stack?: string | undefined;
|
|
1497
|
+
stderr?: string | undefined;
|
|
1498
|
+
};
|
|
1493
1499
|
environment: {
|
|
1494
1500
|
type: import("@trigger.dev/database").$Enums.RuntimeEnvironmentType;
|
|
1495
1501
|
id: string;
|
|
@@ -1506,12 +1512,6 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1506
1512
|
slug: string;
|
|
1507
1513
|
ref: string;
|
|
1508
1514
|
};
|
|
1509
|
-
error: {
|
|
1510
|
-
name: string;
|
|
1511
|
-
message: string;
|
|
1512
|
-
stack?: string | undefined;
|
|
1513
|
-
stderr?: string | undefined;
|
|
1514
|
-
};
|
|
1515
1515
|
deployment: {
|
|
1516
1516
|
status: string;
|
|
1517
1517
|
id: string;
|
|
@@ -1528,6 +1528,12 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1528
1528
|
webhookVersion: z.ZodString;
|
|
1529
1529
|
}, "strip", z.ZodTypeAny, {
|
|
1530
1530
|
object: {
|
|
1531
|
+
error: {
|
|
1532
|
+
message: string;
|
|
1533
|
+
name: string;
|
|
1534
|
+
stack?: string | undefined;
|
|
1535
|
+
stderr?: string | undefined;
|
|
1536
|
+
};
|
|
1531
1537
|
environment: {
|
|
1532
1538
|
type: import("@trigger.dev/database").$Enums.RuntimeEnvironmentType;
|
|
1533
1539
|
id: string;
|
|
@@ -1544,12 +1550,6 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1544
1550
|
slug: string;
|
|
1545
1551
|
ref: string;
|
|
1546
1552
|
};
|
|
1547
|
-
error: {
|
|
1548
|
-
name: string;
|
|
1549
|
-
message: string;
|
|
1550
|
-
stack?: string | undefined;
|
|
1551
|
-
stderr?: string | undefined;
|
|
1552
|
-
};
|
|
1553
1553
|
deployment: {
|
|
1554
1554
|
status: string;
|
|
1555
1555
|
id: string;
|
|
@@ -1564,6 +1564,12 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1564
1564
|
webhookVersion: string;
|
|
1565
1565
|
}, {
|
|
1566
1566
|
object: {
|
|
1567
|
+
error: {
|
|
1568
|
+
message: string;
|
|
1569
|
+
name: string;
|
|
1570
|
+
stack?: string | undefined;
|
|
1571
|
+
stderr?: string | undefined;
|
|
1572
|
+
};
|
|
1567
1573
|
environment: {
|
|
1568
1574
|
type: import("@trigger.dev/database").$Enums.RuntimeEnvironmentType;
|
|
1569
1575
|
id: string;
|
|
@@ -1580,12 +1586,6 @@ export declare const Webhook: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1580
1586
|
slug: string;
|
|
1581
1587
|
ref: string;
|
|
1582
1588
|
};
|
|
1583
|
-
error: {
|
|
1584
|
-
name: string;
|
|
1585
|
-
message: string;
|
|
1586
|
-
stack?: string | undefined;
|
|
1587
|
-
stderr?: string | undefined;
|
|
1588
|
-
};
|
|
1589
1589
|
deployment: {
|
|
1590
1590
|
status: string;
|
|
1591
1591
|
id: string;
|