File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
packages/core/src/v3/schemas Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -624,6 +624,9 @@ const EnvironmentSchema = z.object({
624
624
/** The maximum concurrent local run processes executing at once in dev */
625
625
DEV_MAX_CONCURRENT_RUNS : z . coerce . number ( ) . int ( ) . default ( 25 ) ,
626
626
627
+ /** The CLI should connect to this for dev runs */
628
+ DEV_ENGINE_URL : z . string ( ) . default ( process . env . APP_ORIGIN ?? "http://localhost:3030" ) ,
629
+
627
630
LEGACY_RUN_ENGINE_WORKER_ENABLED : z . string ( ) . default ( process . env . WORKER_ENABLED ?? "true" ) ,
628
631
LEGACY_RUN_ENGINE_WORKER_CONCURRENCY_WORKERS : z . coerce . number ( ) . int ( ) . default ( 2 ) ,
629
632
LEGACY_RUN_ENGINE_WORKER_CONCURRENCY_TASKS_PER_WORKER : z . coerce . number ( ) . int ( ) . default ( 1 ) ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export const loader = createLoaderApiRoute(
21
21
dequeueIntervalWithRun : env . DEV_DEQUEUE_INTERVAL_WITH_RUN ,
22
22
dequeueIntervalWithoutRun : env . DEV_DEQUEUE_INTERVAL_WITHOUT_RUN ,
23
23
maxConcurrentRuns : env . DEV_MAX_CONCURRENT_RUNS ,
24
+ engineUrl : env . DEV_ENGINE_URL ,
24
25
} ) ;
25
26
} catch ( error ) {
26
27
logger . error ( "Failed to get dev settings" , {
Original file line number Diff line number Diff line change @@ -432,6 +432,7 @@ export const DevConfigResponseBody = z.object({
432
432
dequeueIntervalWithRun : z . number ( ) ,
433
433
dequeueIntervalWithoutRun : z . number ( ) ,
434
434
maxConcurrentRuns : z . number ( ) ,
435
+ engineUrl : z . string ( ) ,
435
436
} ) ;
436
437
export type DevConfigResponseBody = z . infer < typeof DevConfigResponseBody > ;
437
438
You can’t perform that action at this time.
0 commit comments