@trigger.dev/core 3.0.0-beta.38 → 3.0.0-beta.39
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/{catalog-yeAHwmSe.d.ts → catalog-EP9DGAGm.d.ts} +1 -1
- package/dist/{catalog-Tdea4K0I.d.mts → catalog-Gjy5NtAB.d.mts} +1 -1
- package/dist/{messages-BD0yXLtn.d.mts → messages--WkQvA2l.d.mts} +108 -108
- package/dist/{messages-BD0yXLtn.d.ts → messages--WkQvA2l.d.ts} +108 -108
- package/dist/{schemas-XNxZYXOy.d.mts → schemas-Sb0sJcEt.d.mts} +22 -22
- package/dist/{schemas-XNxZYXOy.d.ts → schemas-Sb0sJcEt.d.ts} +22 -22
- package/dist/v3/index.d.mts +18 -9
- package/dist/v3/index.d.ts +18 -9
- package/dist/v3/index.js +7 -2
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +7 -2
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +1 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +1 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +1 -1
- package/dist/v3/prod/index.d.ts +1 -1
- package/dist/v3/workers/index.d.mts +4 -4
- package/dist/v3/workers/index.d.ts +4 -4
- package/dist/v3/workers/index.js +7 -2
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +7 -2
- package/dist/v3/workers/index.mjs.map +1 -1
- package/dist/v3/zodMessageHandler.d.mts +1 -1
- package/dist/v3/zodMessageHandler.d.ts +1 -1
- package/dist/v3/zodfetch.d.mts +1 -1
- package/dist/v3/zodfetch.d.ts +1 -1
- package/package.json +1 -1
|
@@ -550,7 +550,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
550
550
|
version: string;
|
|
551
551
|
contentHash: string;
|
|
552
552
|
}>;
|
|
553
|
-
machine: z.ZodObject<{
|
|
553
|
+
machine: z.ZodDefault<z.ZodObject<{
|
|
554
554
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
555
555
|
cpu: z.ZodNumber;
|
|
556
556
|
memory: z.ZodNumber;
|
|
@@ -565,7 +565,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
565
565
|
cpu: number;
|
|
566
566
|
memory: number;
|
|
567
567
|
centsPerMs: number;
|
|
568
|
-
}
|
|
568
|
+
}>>;
|
|
569
569
|
}, "strip", z.ZodTypeAny, {
|
|
570
570
|
task: {
|
|
571
571
|
id: string;
|
|
@@ -676,12 +676,6 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
676
676
|
slug: string;
|
|
677
677
|
ref: string;
|
|
678
678
|
};
|
|
679
|
-
machine: {
|
|
680
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
681
|
-
cpu: number;
|
|
682
|
-
memory: number;
|
|
683
|
-
centsPerMs: number;
|
|
684
|
-
};
|
|
685
679
|
worker: {
|
|
686
680
|
id: string;
|
|
687
681
|
version: string;
|
|
@@ -690,6 +684,12 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
690
684
|
batch?: {
|
|
691
685
|
id: string;
|
|
692
686
|
} | undefined;
|
|
687
|
+
machine?: {
|
|
688
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
689
|
+
cpu: number;
|
|
690
|
+
memory: number;
|
|
691
|
+
centsPerMs: number;
|
|
692
|
+
} | undefined;
|
|
693
693
|
}>;
|
|
694
694
|
type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
|
|
695
695
|
declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
@@ -841,7 +841,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
841
841
|
version: string;
|
|
842
842
|
contentHash: string;
|
|
843
843
|
}>;
|
|
844
|
-
machine: z.ZodObject<{
|
|
844
|
+
machine: z.ZodDefault<z.ZodObject<{
|
|
845
845
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
846
846
|
cpu: z.ZodNumber;
|
|
847
847
|
memory: z.ZodNumber;
|
|
@@ -856,7 +856,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
856
856
|
cpu: number;
|
|
857
857
|
memory: number;
|
|
858
858
|
centsPerMs: number;
|
|
859
|
-
}
|
|
859
|
+
}>>;
|
|
860
860
|
}, "strip", z.ZodTypeAny, {
|
|
861
861
|
task: {
|
|
862
862
|
id: string;
|
|
@@ -967,12 +967,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
967
967
|
slug: string;
|
|
968
968
|
ref: string;
|
|
969
969
|
};
|
|
970
|
-
machine: {
|
|
971
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
972
|
-
cpu: number;
|
|
973
|
-
memory: number;
|
|
974
|
-
centsPerMs: number;
|
|
975
|
-
};
|
|
976
970
|
worker: {
|
|
977
971
|
id: string;
|
|
978
972
|
version: string;
|
|
@@ -981,6 +975,12 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
981
975
|
batch?: {
|
|
982
976
|
id: string;
|
|
983
977
|
} | undefined;
|
|
978
|
+
machine?: {
|
|
979
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
980
|
+
cpu: number;
|
|
981
|
+
memory: number;
|
|
982
|
+
centsPerMs: number;
|
|
983
|
+
} | undefined;
|
|
984
984
|
}>;
|
|
985
985
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
986
986
|
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1099,12 +1099,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1099
1099
|
slug: string;
|
|
1100
1100
|
ref: string;
|
|
1101
1101
|
};
|
|
1102
|
-
machine: {
|
|
1103
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1104
|
-
cpu: number;
|
|
1105
|
-
memory: number;
|
|
1106
|
-
centsPerMs: number;
|
|
1107
|
-
};
|
|
1108
1102
|
worker: {
|
|
1109
1103
|
id: string;
|
|
1110
1104
|
version: string;
|
|
@@ -1113,6 +1107,12 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1113
1107
|
batch?: {
|
|
1114
1108
|
id: string;
|
|
1115
1109
|
} | undefined;
|
|
1110
|
+
machine?: {
|
|
1111
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1112
|
+
cpu: number;
|
|
1113
|
+
memory: number;
|
|
1114
|
+
centsPerMs: number;
|
|
1115
|
+
} | undefined;
|
|
1116
1116
|
};
|
|
1117
1117
|
traceContext: Record<string, unknown>;
|
|
1118
1118
|
environment?: Record<string, string> | undefined;
|
package/dist/v3/index.d.mts
CHANGED
|
@@ -4,13 +4,13 @@ import { Uploadable, BlobLikePart, CursorPageParams, ApiPromise, CursorPagePromi
|
|
|
4
4
|
export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadRequestError, ConflictError, CursorPage, CursorPageResponse, InternalServerError, NotFoundError, OffsetLimitPage, OffsetLimitPageParams, OffsetLimitPageResponse, Page, PageResponse, PermissionDeniedError, RateLimitError, UnprocessableEntityError } from './zodfetch.mjs';
|
|
5
5
|
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, c as TaskRunError, a as TaskRunContext, R as RuntimeManager } from '../manager-S98VaLUy.mjs';
|
|
6
6
|
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, k as TaskRunErrorCodes, b as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../manager-S98VaLUy.mjs';
|
|
7
|
-
import { C as Clock, b as ClockTime, f as TaskLogger, c as TaskCatalog, a as TaskMetadataWithFunctions, T as TriggerTracer } from '../catalog-
|
|
8
|
-
export { h as Context, F as FailureFnParams, n as HandleErrorArgs, j as HandleErrorFnParams, H as HandleErrorFunction, k as HandleErrorModificationOptions, m as HandleErrorResult, g as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, q as ResolveEnvironmentVariablesFunction, p as ResolveEnvironmentVariablesParams, o as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, i as SuccessFnParams, u as usage } from '../catalog-
|
|
7
|
+
import { C as Clock, b as ClockTime, f as TaskLogger, c as TaskCatalog, a as TaskMetadataWithFunctions, T as TriggerTracer } from '../catalog-Gjy5NtAB.mjs';
|
|
8
|
+
export { h as Context, F as FailureFnParams, n as HandleErrorArgs, j as HandleErrorFnParams, H as HandleErrorFunction, k as HandleErrorModificationOptions, m as HandleErrorResult, g as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, q as ResolveEnvironmentVariablesFunction, p as ResolveEnvironmentVariablesParams, o as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, i as SuccessFnParams, u as usage } from '../catalog-Gjy5NtAB.mjs';
|
|
9
9
|
import { Attributes, Span } from '@opentelemetry/api';
|
|
10
|
-
import { B as BackgroundWorkerProperties } from '../messages
|
|
11
|
-
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages
|
|
12
|
-
import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-
|
|
13
|
-
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, k as RequireKeys, i as ResolvedConfig, S as SlidingWindowRateLimit, b as TaskMetadata, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-
|
|
10
|
+
import { B as BackgroundWorkerProperties } from '../messages--WkQvA2l.mjs';
|
|
11
|
+
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages--WkQvA2l.mjs';
|
|
12
|
+
import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-Sb0sJcEt.mjs';
|
|
13
|
+
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, k as RequireKeys, i as ResolvedConfig, S as SlidingWindowRateLimit, b as TaskMetadata, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-Sb0sJcEt.mjs';
|
|
14
14
|
import { Unit } from 'humanize-duration';
|
|
15
15
|
export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.mjs';
|
|
16
16
|
import 'node:stream';
|
|
@@ -4066,7 +4066,10 @@ declare const FetchTimeoutOptions: z.ZodObject<{
|
|
|
4066
4066
|
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
4067
4067
|
retry: z.ZodOptional<z.ZodObject<{
|
|
4068
4068
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4069
|
-
|
|
4069
|
+
/** The retrying strategy for specific status codes. */
|
|
4070
|
+
factor: z.ZodOptional<z.ZodNumber>; /**
|
|
4071
|
+
* The retrying strategy for connection errors.
|
|
4072
|
+
*/
|
|
4070
4073
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4071
4074
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4072
4075
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4160,7 +4163,10 @@ declare const FetchRetryOptions: z.ZodObject<{
|
|
|
4160
4163
|
/** The timeout options for the request. */
|
|
4161
4164
|
timeout: z.ZodOptional<z.ZodObject<{
|
|
4162
4165
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4163
|
-
|
|
4166
|
+
/** The retrying strategy for specific status codes. */
|
|
4167
|
+
factor: z.ZodOptional<z.ZodNumber>; /**
|
|
4168
|
+
* The retrying strategy for connection errors.
|
|
4169
|
+
*/
|
|
4164
4170
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4165
4171
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4166
4172
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4182,7 +4188,10 @@ declare const FetchRetryOptions: z.ZodObject<{
|
|
|
4182
4188
|
*/
|
|
4183
4189
|
connectionError: z.ZodOptional<z.ZodObject<{
|
|
4184
4190
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4185
|
-
|
|
4191
|
+
/** The retrying strategy for specific status codes. */
|
|
4192
|
+
factor: z.ZodOptional<z.ZodNumber>; /**
|
|
4193
|
+
* The retrying strategy for connection errors.
|
|
4194
|
+
*/
|
|
4186
4195
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4187
4196
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4188
4197
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
package/dist/v3/index.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { Uploadable, BlobLikePart, CursorPageParams, ApiPromise, CursorPagePromi
|
|
|
4
4
|
export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadRequestError, ConflictError, CursorPage, CursorPageResponse, InternalServerError, NotFoundError, OffsetLimitPage, OffsetLimitPageParams, OffsetLimitPageResponse, Page, PageResponse, PermissionDeniedError, RateLimitError, UnprocessableEntityError } from './zodfetch.js';
|
|
5
5
|
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, c as TaskRunError, a as TaskRunContext, R as RuntimeManager } from '../manager-S98VaLUy.js';
|
|
6
6
|
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, k as TaskRunErrorCodes, b as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../manager-S98VaLUy.js';
|
|
7
|
-
import { C as Clock, b as ClockTime, f as TaskLogger, c as TaskCatalog, a as TaskMetadataWithFunctions, T as TriggerTracer } from '../catalog-
|
|
8
|
-
export { h as Context, F as FailureFnParams, n as HandleErrorArgs, j as HandleErrorFnParams, H as HandleErrorFunction, k as HandleErrorModificationOptions, m as HandleErrorResult, g as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, q as ResolveEnvironmentVariablesFunction, p as ResolveEnvironmentVariablesParams, o as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, i as SuccessFnParams, u as usage } from '../catalog-
|
|
7
|
+
import { C as Clock, b as ClockTime, f as TaskLogger, c as TaskCatalog, a as TaskMetadataWithFunctions, T as TriggerTracer } from '../catalog-EP9DGAGm.js';
|
|
8
|
+
export { h as Context, F as FailureFnParams, n as HandleErrorArgs, j as HandleErrorFnParams, H as HandleErrorFunction, k as HandleErrorModificationOptions, m as HandleErrorResult, g as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, q as ResolveEnvironmentVariablesFunction, p as ResolveEnvironmentVariablesParams, o as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, i as SuccessFnParams, u as usage } from '../catalog-EP9DGAGm.js';
|
|
9
9
|
import { Attributes, Span } from '@opentelemetry/api';
|
|
10
|
-
import { B as BackgroundWorkerProperties } from '../messages
|
|
11
|
-
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages
|
|
12
|
-
import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-
|
|
13
|
-
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, k as RequireKeys, i as ResolvedConfig, S as SlidingWindowRateLimit, b as TaskMetadata, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-
|
|
10
|
+
import { B as BackgroundWorkerProperties } from '../messages--WkQvA2l.js';
|
|
11
|
+
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages--WkQvA2l.js';
|
|
12
|
+
import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-Sb0sJcEt.js';
|
|
13
|
+
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, k as RequireKeys, i as ResolvedConfig, S as SlidingWindowRateLimit, b as TaskMetadata, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-Sb0sJcEt.js';
|
|
14
14
|
import { Unit } from 'humanize-duration';
|
|
15
15
|
export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.js';
|
|
16
16
|
import 'node:stream';
|
|
@@ -4066,7 +4066,10 @@ declare const FetchTimeoutOptions: z.ZodObject<{
|
|
|
4066
4066
|
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
4067
4067
|
retry: z.ZodOptional<z.ZodObject<{
|
|
4068
4068
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4069
|
-
|
|
4069
|
+
/** The retrying strategy for specific status codes. */
|
|
4070
|
+
factor: z.ZodOptional<z.ZodNumber>; /**
|
|
4071
|
+
* The retrying strategy for connection errors.
|
|
4072
|
+
*/
|
|
4070
4073
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4071
4074
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4072
4075
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4160,7 +4163,10 @@ declare const FetchRetryOptions: z.ZodObject<{
|
|
|
4160
4163
|
/** The timeout options for the request. */
|
|
4161
4164
|
timeout: z.ZodOptional<z.ZodObject<{
|
|
4162
4165
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4163
|
-
|
|
4166
|
+
/** The retrying strategy for specific status codes. */
|
|
4167
|
+
factor: z.ZodOptional<z.ZodNumber>; /**
|
|
4168
|
+
* The retrying strategy for connection errors.
|
|
4169
|
+
*/
|
|
4164
4170
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4165
4171
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4166
4172
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4182,7 +4188,10 @@ declare const FetchRetryOptions: z.ZodObject<{
|
|
|
4182
4188
|
*/
|
|
4183
4189
|
connectionError: z.ZodOptional<z.ZodObject<{
|
|
4184
4190
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
4185
|
-
|
|
4191
|
+
/** The retrying strategy for specific status codes. */
|
|
4192
|
+
factor: z.ZodOptional<z.ZodNumber>; /**
|
|
4193
|
+
* The retrying strategy for connection errors.
|
|
4194
|
+
*/
|
|
4186
4195
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4187
4196
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
4188
4197
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
package/dist/v3/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var __privateMethod = (obj, member, method) => {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
// package.json
|
|
38
|
-
var version = "3.0.0-beta.
|
|
38
|
+
var version = "3.0.0-beta.39";
|
|
39
39
|
var dependencies = {
|
|
40
40
|
"@google-cloud/precise-date": "^4.0.0",
|
|
41
41
|
"@opentelemetry/api": "^1.8.0",
|
|
@@ -292,7 +292,12 @@ var ProdTaskRunExecution = TaskRunExecution.extend({
|
|
|
292
292
|
contentHash: zod.z.string(),
|
|
293
293
|
version: zod.z.string()
|
|
294
294
|
}),
|
|
295
|
-
machine: MachinePreset
|
|
295
|
+
machine: MachinePreset.default({
|
|
296
|
+
name: "small-1x",
|
|
297
|
+
cpu: 1,
|
|
298
|
+
memory: 1,
|
|
299
|
+
centsPerMs: 0
|
|
300
|
+
})
|
|
296
301
|
});
|
|
297
302
|
var ProdTaskRunExecutionPayload = zod.z.object({
|
|
298
303
|
execution: ProdTaskRunExecution,
|