Skip to content

Commit 499479c

Browse files
committed
fix(core): the worker manifest carries the declared concurrency limits
The index workers emit them into WorkerManifest, which is a separate schema from the deploy metadata and also needs the field.
1 parent 894ac6e commit 499479c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/core/src/v3/schemas/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
TaskFile,
88
TaskManifest,
99
WebhookManifest,
10+
ConcurrencyLimitManifest,
1011
} from "./schemas.js";
1112

1213
export const BuildExternal = z.object({
@@ -115,6 +116,7 @@ export const WorkerManifest = z.object({
115116
webhooks: WebhookManifest.array().optional(), // NEW
116117
unclaimedSessionWebhooks: z.array(z.string()).optional(), // session.webhook descriptors no agent listed
117118
queues: QueueManifest.array().optional(),
119+
concurrencyLimits: ConcurrencyLimitManifest.array().optional(),
118120
workerEntryPoint: z.string(),
119121
controllerEntryPoint: z.string().optional(),
120122
loaderEntryPoint: z.string().optional(),

0 commit comments

Comments
 (0)