The Open Framework for Building Agents
fix(ci): avoid sandbox provisioning during typecheck (#3636)
Casey Gowrie9f174533d55b
diff --git a/.changeset/quiet-typecheck-sandboxes.md b/.changeset/quiet-typecheck-sandboxes.mdnew file mode 100644index 000000000..3d13083e5--- /dev/null+++ b/.changeset/quiet-typecheck-sandboxes.md@@ -0,0 +1,5 @@+---+"eve": patch+---++Clarify that `eve build --skip-sandbox-prewarm` skips sandbox preparation for local and hosted builds. Workspace fixture typechecks now use this mode instead of provisioning sandbox infrastructure.diff --git a/.github/workflows/bundle-analysis.yml b/.github/workflows/bundle-analysis.ymlindex bf670fcfd..198ca3714 100644--- a/.github/workflows/bundle-analysis.yml+++ b/.github/workflows/bundle-analysis.yml@@ -37,6 +37,7 @@ jobs:runs-on: ubuntu-latestenv:BUNDLE_WARNING_ACK_LABEL: acknowledge-bundle-warning+ EVE_SANDBOX_IMAGE_TAG: latestVERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}diff --git a/apps/fixtures/agent-tui-client/package.json b/apps/fixtures/agent-tui-client/package.jsonindex db4130fbc..ee7ce58fb 100644--- a/apps/fixtures/agent-tui-client/package.json+++ b/apps/fixtures/agent-tui-client/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc"+ "typecheck": "eve build --skip-sandbox-prewarm && tsc"},"dependencies": {"eve": "workspace:*",diff --git a/docs/reference/cli.md b/docs/reference/cli.mdindex 6a9d5455e..f4edb80f9 100644--- a/docs/reference/cli.md+++ b/docs/reference/cli.md@@ -161,7 +161,7 @@ Run this first when something behaves unexpectedly. It confirms a file was discoeve build [--profile <path>] [--skip-sandbox-prewarm]```-Compiles and bundles in an invocation-owned directory under `.eve/builds/`, then publishes the completed host output and prints its path. Scratch workspaces are removed after success or failure.+Compiles and bundles in an invocation-owned directory under `.eve/builds/`, prepares sandbox artifacts, then publishes the completed host output and prints its path. Scratch workspaces are removed after success or failure. Pass `--skip-sandbox-prewarm` when you only need compiled output, such as before a separate typecheck. Skipping preparation can produce output that cannot start its configured sandbox, so do not deploy that output.Authored bundles preserve custom Node.js resolution conditions supplied through `--conditions`,`-C`, or `NODE_OPTIONS`. For example, `NODE_OPTIONS="--conditions=react-server" eve build`@@ -170,7 +170,7 @@ keeps a channel's `server-only` imports on the same export used during compilati| Flag | Type | Default | Description || ------------------------ | ------ | ------- | --------------------------------------------------------------------------------------------- || `--profile <path>` | string | off | Best-effort versioned JSON report with build-phase timings and final output-size measurements |-| `--skip-sandbox-prewarm` | flag | off | Skip sandbox template prewarm for a Vercel build; the output might not be deployable |+| `--skip-sandbox-prewarm` | flag | off | Skip sandbox preparation; the output might not be deployable |Use a profile file to establish a repeatable baseline before changing the build pipeline:diff --git a/e2e/fixtures/agent-agent-tool-controls/package.json b/e2e/fixtures/agent-agent-tool-controls/package.jsonindex 3d0e9584e..80655169a 100644--- a/e2e/fixtures/agent-agent-tool-controls/package.json+++ b/e2e/fixtures/agent-agent-tool-controls/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-authored-bundling/package.json b/e2e/fixtures/agent-authored-bundling/package.jsonindex bbf2f07c2..141de2911 100644--- a/e2e/fixtures/agent-authored-bundling/package.json+++ b/e2e/fixtures/agent-authored-bundling/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-background-tools/package.json b/e2e/fixtures/agent-background-tools/package.jsonindex 968ace0d4..f7554ae18 100644--- a/e2e/fixtures/agent-background-tools/package.json+++ b/e2e/fixtures/agent-background-tools/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-basic-runtime/package.json b/e2e/fixtures/agent-basic-runtime/package.jsonindex 94e417307..f636af737 100644--- a/e2e/fixtures/agent-basic-runtime/package.json+++ b/e2e/fixtures/agent-basic-runtime/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-cancellation/package.json b/e2e/fixtures/agent-cancellation/package.jsonindex 7645faf2d..cf126f726 100644--- a/e2e/fixtures/agent-cancellation/package.json+++ b/e2e/fixtures/agent-cancellation/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-channels/package.json b/e2e/fixtures/agent-channels/package.jsonindex ba341b10d..451ddc043 100644--- a/e2e/fixtures/agent-channels/package.json+++ b/e2e/fixtures/agent-channels/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict","test:unit": "node --test test/*.test.mjs"},diff --git a/e2e/fixtures/agent-compaction-envelope/package.json b/e2e/fixtures/agent-compaction-envelope/package.jsonindex 6493ff91c..1d3edc1bb 100644--- a/e2e/fixtures/agent-compaction-envelope/package.json+++ b/e2e/fixtures/agent-compaction-envelope/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-compaction-measured/package.json b/e2e/fixtures/agent-compaction-measured/package.jsonindex cc6973fd5..42a02d7c6 100644--- a/e2e/fixtures/agent-compaction-measured/package.json+++ b/e2e/fixtures/agent-compaction-measured/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-compaction-regressions/package.json b/e2e/fixtures/agent-compaction-regressions/package.jsonindex 37483e67d..e21b30cf9 100644--- a/e2e/fixtures/agent-compaction-regressions/package.json+++ b/e2e/fixtures/agent-compaction-regressions/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-dynamic-model-session/package.json b/e2e/fixtures/agent-dynamic-model-session/package.jsonindex 1345ccc3e..9697eeae4 100644--- a/e2e/fixtures/agent-dynamic-model-session/package.json+++ b/e2e/fixtures/agent-dynamic-model-session/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-evaluate/package.json b/e2e/fixtures/agent-evaluate/package.jsonindex 2ba883b6e..da7d59261 100644--- a/e2e/fixtures/agent-evaluate/package.json+++ b/e2e/fixtures/agent-evaluate/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-memory/package.json b/e2e/fixtures/agent-memory/package.jsonindex 7451e2400..d08217337 100644--- a/e2e/fixtures/agent-memory/package.json+++ b/e2e/fixtures/agent-memory/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-model/package.json b/e2e/fixtures/agent-model/package.jsonindex 9492498ce..844994d8a 100644--- a/e2e/fixtures/agent-model/package.json+++ b/e2e/fixtures/agent-model/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-openapi-swagger/package.json b/e2e/fixtures/agent-openapi-swagger/package.jsonindex f2017b1b2..5b0b30fba 100644--- a/e2e/fixtures/agent-openapi-swagger/package.json+++ b/e2e/fixtures/agent-openapi-swagger/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-pending-approval-projection/package.json b/e2e/fixtures/agent-pending-approval-projection/package.jsonindex dbe314f5d..c5fd0adf9 100644--- a/e2e/fixtures/agent-pending-approval-projection/package.json+++ b/e2e/fixtures/agent-pending-approval-projection/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-prompt-cache/package.json b/e2e/fixtures/agent-prompt-cache/package.jsonindex 0f3ff7111..8457f2641 100644--- a/e2e/fixtures/agent-prompt-cache/package.json+++ b/e2e/fixtures/agent-prompt-cache/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-router/package.json b/e2e/fixtures/agent-router/package.jsonindex 12ec77f92..b94520cfd 100644--- a/e2e/fixtures/agent-router/package.json+++ b/e2e/fixtures/agent-router/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-schedules/package.json b/e2e/fixtures/agent-schedules/package.jsonindex e48fd8b20..dc18a962f 100644--- a/e2e/fixtures/agent-schedules/package.json+++ b/e2e/fixtures/agent-schedules/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-self-modification/package.json b/e2e/fixtures/agent-self-modification/package.jsonindex 7fa5c2c1a..459a0dce8 100644--- a/e2e/fixtures/agent-self-modification/package.json+++ b/e2e/fixtures/agent-self-modification/package.json@@ -8,7 +8,7 @@"build": "pnpm run e2e:prepare && eve build","dev": "pnpm run e2e:prepare && eve dev","start": "eve start",- "typecheck": "pnpm run build && tsc",+ "typecheck": "pnpm run e2e:prepare && eve build --skip-sandbox-prewarm && tsc","test:e2e": "pnpm run e2e:prepare && eve eval --strict","test:scenario": "node --test test/*.scenario.test.mjs"},diff --git a/e2e/fixtures/agent-session-limits/package.json b/e2e/fixtures/agent-session-limits/package.jsonindex 01ea50427..1a4307b4f 100644--- a/e2e/fixtures/agent-session-limits/package.json+++ b/e2e/fixtures/agent-session-limits/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-session-timeout/package.json b/e2e/fixtures/agent-session-timeout/package.jsonindex 75e099786..73bd6be04 100644--- a/e2e/fixtures/agent-session-timeout/package.json+++ b/e2e/fixtures/agent-session-timeout/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-skills/package.json b/e2e/fixtures/agent-skills/package.jsonindex e2e90715a..e6920cb23 100644--- a/e2e/fixtures/agent-skills/package.json+++ b/e2e/fixtures/agent-skills/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-subagents-hitl/package.json b/e2e/fixtures/agent-subagents-hitl/package.jsonindex 281703653..6bcdcf6c8 100644--- a/e2e/fixtures/agent-subagents-hitl/package.json+++ b/e2e/fixtures/agent-subagents-hitl/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-subagents/package.json b/e2e/fixtures/agent-subagents/package.jsonindex b3f2d2724..c4b3dec3c 100644--- a/e2e/fixtures/agent-subagents/package.json+++ b/e2e/fixtures/agent-subagents/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-task-reporting/package.json b/e2e/fixtures/agent-task-reporting/package.jsonindex 48950c95f..d75b5b353 100644--- a/e2e/fixtures/agent-task-reporting/package.json+++ b/e2e/fixtures/agent-task-reporting/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict","test:unit": "node --test evals/event-matching.test.mjs"},diff --git a/e2e/fixtures/agent-task-wake-policy/package.json b/e2e/fixtures/agent-task-wake-policy/package.jsonindex dc8c1d8c9..5b61938ad 100644--- a/e2e/fixtures/agent-task-wake-policy/package.json+++ b/e2e/fixtures/agent-task-wake-policy/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-tools-hitl-openai/package.json b/e2e/fixtures/agent-tools-hitl-openai/package.jsonindex 3b0843cd9..2b0c9e19a 100644--- a/e2e/fixtures/agent-tools-hitl-openai/package.json+++ b/e2e/fixtures/agent-tools-hitl-openai/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-tools-hitl/package.json b/e2e/fixtures/agent-tools-hitl/package.jsonindex ad1576354..f7a156601 100644--- a/e2e/fixtures/agent-tools-hitl/package.json+++ b/e2e/fixtures/agent-tools-hitl/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-tools-sandbox/package.json b/e2e/fixtures/agent-tools-sandbox/package.jsonindex c856bb05a..9f1568d8b 100644--- a/e2e/fixtures/agent-tools-sandbox/package.json+++ b/e2e/fixtures/agent-tools-sandbox/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-tools/package.json b/e2e/fixtures/agent-tools/package.jsonindex cc5b92937..d857b5aaa 100644--- a/e2e/fixtures/agent-tools/package.json+++ b/e2e/fixtures/agent-tools/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-workflow-stress/package.json b/e2e/fixtures/agent-workflow-stress/package.jsonindex a0d0a109a..3a7df02a0 100644--- a/e2e/fixtures/agent-workflow-stress/package.json+++ b/e2e/fixtures/agent-workflow-stress/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/agent-workflow-tools/package.json b/e2e/fixtures/agent-workflow-tools/package.jsonindex 9e7d8a39d..b228324bf 100644--- a/e2e/fixtures/agent-workflow-tools/package.json+++ b/e2e/fixtures/agent-workflow-tools/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/extensions/package.json b/e2e/fixtures/extensions/package.jsonindex 072ec4a81..32416b7af 100644--- a/e2e/fixtures/extensions/package.json+++ b/e2e/fixtures/extensions/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "eve build && tsc",+ "typecheck": "eve build --skip-sandbox-prewarm && tsc","test:e2e": "eve eval --strict"},"dependencies": {diff --git a/e2e/fixtures/fixture-tasks/package.json b/e2e/fixtures/fixture-tasks/package.jsonindex 055a0faa1..2ccaccfaf 100644--- a/e2e/fixtures/fixture-tasks/package.json+++ b/e2e/fixtures/fixture-tasks/package.json@@ -7,7 +7,7 @@"build": "eve build","dev": "eve dev","start": "eve start",- "typecheck": "pnpm validate:transitions && eve build && tsc",+ "typecheck": "pnpm validate:transitions && eve build --skip-sandbox-prewarm && tsc","validate:transitions": "node scripts/validate-transitions.mjs","test:e2e": "eve eval --strict","test:unit": "node --test evals/lifecycle-model.test.mjs"diff --git a/packages/eve/src/cli/commands/build.ts b/packages/eve/src/cli/commands/build.tsindex 27dad7991..0707d27ea 100644--- a/packages/eve/src/cli/commands/build.ts+++ b/packages/eve/src/cli/commands/build.ts@@ -39,10 +39,7 @@ export function registerBuildCommand(input: {}).description("Build the current eve application.").option("--profile <path>", "Write best-effort timing and output-size profile JSON to a file")- .option(- "--skip-sandbox-prewarm",- "Skip sandbox template prewarm for a Vercel build; output may not be deployable",- )+ .option("--skip-sandbox-prewarm", "Skip sandbox preparation; output may not be deployable").action(async (options: BuildCliOptions) => {const { loadDevelopmentEnvironmentFiles } = await import("#cli/dev/environment.js");@@ -78,12 +75,12 @@ export function registerBuildCommand(input: {const buildOptions: {profileOutputPath?: string;readonly publicRoutePrefix: ApplicationBuildOptions["publicRoutePrefix"];- readonly skipVercelSandboxPrewarm: boolean;+ readonly skipSandboxPrewarm: boolean;readonly vercelServiceOutput: ApplicationBuildOptions["vercelServiceOutput"];readonly workspaceMember: boolean;} = {publicRoutePrefix: normalizePublicRoutePrefix(process.env[EVE_PUBLIC_ROUTE_PREFIX_ENV]),- skipVercelSandboxPrewarm: options.skipSandboxPrewarm === true,+ skipSandboxPrewarm: options.skipSandboxPrewarm === true,vercelServiceOutput: resolveInternalVercelServiceOutput(input.applicationContext.root),workspaceMember:projectContext.kind === "workspace-member" ||diff --git a/packages/eve/src/cli/run.test.ts b/packages/eve/src/cli/run.test.tsindex e6922dec8..da7c718df 100644--- a/packages/eve/src/cli/run.test.ts+++ b/packages/eve/src/cli/run.test.ts@@ -1155,7 +1155,7 @@ describe("eve build output ownership", () => {expect(buildHost).toHaveBeenCalledWith(process.cwd(), {profileOutputPath: resolve(process.cwd(), profilePath),- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,vercelServiceOutput: undefined,workspaceMember: false,});@@ -1175,7 +1175,7 @@ describe("eve build output ownership", () => {}expect(buildHost).toHaveBeenCalledWith(process.cwd(), {- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,vercelServiceOutput: {hostOutputDirectory: resolve(process.cwd(), configuredHostDirectory),serviceOutputDirectory: resolve(process.cwd(), configuredDirectory),diff --git a/packages/eve/src/internal/nitro/host/authored-workflow-scope.scenario.test.ts b/packages/eve/src/internal/nitro/host/authored-workflow-scope.scenario.test.tsindex 237ae7234..9f8a0afd4 100644--- a/packages/eve/src/internal/nitro/host/authored-workflow-scope.scenario.test.ts+++ b/packages/eve/src/internal/nitro/host/authored-workflow-scope.scenario.test.ts@@ -64,7 +64,7 @@ describe("authored workflow scope", () => {);expect(code).toContain(ALIAS_MARKER);expect(code).not.toContain('require("@/lib/describe")');- await buildApplication(appRoot, { skipVercelSandboxPrewarm: false });+ await buildApplication(appRoot, { skipSandboxPrewarm: false });const server = await startProductionServer(appRoot, { port: 0, host: "127.0.0.1" });try {expect((await fetch(new URL("/eve/v1/health", server.url))).status).toBe(200);diff --git a/packages/eve/src/internal/nitro/host/build-application.scenario.test.ts b/packages/eve/src/internal/nitro/host/build-application.scenario.test.tsindex 32c261ab4..286a23290 100644--- a/packages/eve/src/internal/nitro/host/build-application.scenario.test.ts+++ b/packages/eve/src/internal/nitro/host/build-application.scenario.test.ts@@ -125,7 +125,7 @@ vi.mock("#execution/sandbox/prewarm.js", () => ({}));const createScratchDirectory = useTemporaryDirectories();-const DEPLOYABLE_BUILD_OPTIONS = { skipVercelSandboxPrewarm: false } as const;+const DEPLOYABLE_BUILD_OPTIONS = { skipSandboxPrewarm: false } as const;async function createPreparedHost(appRoot: string): Promise<PreparedApplicationHost> {const agentRoot = join(appRoot, "agent");@@ -280,7 +280,7 @@ describe("buildApplication", () => {const { buildApplication } = await import("#internal/nitro/host/build-application.js");await buildApplication(appRoot, {profileOutputPath: profilePath,- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,});const profile = JSON.parse(await readFile(profilePath, "utf8")) as ApplicationBuildProfile;@@ -327,7 +327,7 @@ describe("buildApplication", () => {const { buildApplication } = await import("#internal/nitro/host/build-application.js");const outputDir = await buildApplication(appRoot, {profileOutputPath: profilePath,- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,});expect(outputDir).toBe(join(appRoot, ".output"));@@ -358,7 +358,7 @@ describe("buildApplication", () => {const { buildApplication } = await import("#internal/nitro/host/build-application.js");const outputDir = await buildApplication(appRoot, {profileOutputPath: profilePath,- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,});expect(outputDir).toBe(join(appRoot, ".output"));@@ -550,7 +550,7 @@ describe("buildApplication", () => {expect((summary.agent as { name: string }).name).toBe("scenario-test-agent");});- it("skips Vercel sandbox prewarm only when the build opts out", async () => {+ it("skips sandbox preparation when the build opts out", async () => {vi.stubEnv("VERCEL", "1");const appRoot = await createScratchDirectory("eve-build-application-skip-prewarm-");@@ -562,7 +562,7 @@ describe("buildApplication", () => {const { buildApplication } = await import("#internal/nitro/host/build-application.js");const outputDir = await buildApplication(appRoot, {- skipVercelSandboxPrewarm: true,+ skipSandboxPrewarm: true,});expect(outputDir).toBe(join(appRoot, ".vercel", "output"));diff --git a/packages/eve/src/internal/nitro/host/build-application.ts b/packages/eve/src/internal/nitro/host/build-application.tsindex 19168e9c1..97153b5f1 100644--- a/packages/eve/src/internal/nitro/host/build-application.ts+++ b/packages/eve/src/internal/nitro/host/build-application.ts@@ -329,7 +329,7 @@ async function buildApplicationInWorkspace(try {// Complete sandbox preparation before bundling so runtime never needs to// mutate or repair the prepared artifacts embedded in production output.- if (!options.skipVercelSandboxPrewarm) {+ if (!options.skipSandboxPrewarm) {const prewarmInput = {appRoot: preparedHost.appRoot,compiledArtifactsSource: createDiskRuntimeCompiledArtifactsSource(diff --git a/packages/eve/src/internal/nitro/host/relocated-production.scenario.test.ts b/packages/eve/src/internal/nitro/host/relocated-production.scenario.test.tsindex cd848e467..f21040f2a 100644--- a/packages/eve/src/internal/nitro/host/relocated-production.scenario.test.ts+++ b/packages/eve/src/internal/nitro/host/relocated-production.scenario.test.ts@@ -83,7 +83,7 @@ describe("relocated production applications", () => {await rename(join(root, entry), join(buildRoot, entry));}const appRoot = join(buildRoot, "apps", "service");- await buildApplication(appRoot, { skipVercelSandboxPrewarm: false });+ await buildApplication(appRoot, { skipSandboxPrewarm: false });await rename(buildRoot, runtimeRoot);await expect(access(buildRoot)).rejects.toMatchObject({ code: "ENOENT" });diff --git a/packages/eve/src/internal/nitro/host/types.ts b/packages/eve/src/internal/nitro/host/types.tsindex 9290eeb3c..cb7888fdb 100644--- a/packages/eve/src/internal/nitro/host/types.ts+++ b/packages/eve/src/internal/nitro/host/types.ts@@ -20,7 +20,7 @@ export interface ApplicationBuildOptions {* command.*/readonly publicRoutePrefix?: string;- readonly skipVercelSandboxPrewarm: boolean;+ readonly skipSandboxPrewarm: boolean;/** Whether this build is for a member of a top-level `agents/` workspace. */readonly workspaceMember?: boolean;readonly vercelServiceOutput?: {diff --git a/packages/eve/test/scenarios/app-runtime-dependencies.scenario.test.ts b/packages/eve/test/scenarios/app-runtime-dependencies.scenario.test.tsindex be6e66c03..fa61fb177 100644--- a/packages/eve/test/scenarios/app-runtime-dependencies.scenario.test.ts+++ b/packages/eve/test/scenarios/app-runtime-dependencies.scenario.test.ts@@ -20,7 +20,7 @@ const EVE_PACKAGE_INFO = resolveInstalledPackageInfo();const EVE_PACKAGE_ROOT = resolvePackageRoot();const createScratchDirectory = useTemporaryDirectories();const DEPLOYABLE_BUILD_OPTIONS = {- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,} as const;async function readJavaScriptModulesRecursively(rootDirectory: string): Promise<string> {diff --git a/packages/eve/test/scenarios/cli.scenario.test.ts b/packages/eve/test/scenarios/cli.scenario.test.tsindex 6d17d00d6..d455f8f95 100644--- a/packages/eve/test/scenarios/cli.scenario.test.ts+++ b/packages/eve/test/scenarios/cli.scenario.test.ts@@ -433,7 +433,7 @@ describe("runCli", () => {it("preserves imported tool schema composition in the built server", async () => {const { buildApplication } = await import("../../src/internal/nitro/host.js");const { appRoot } = await scenarioApp(COMPOSED_TOOL_SCHEMAS_DESCRIPTOR);- await buildApplication(appRoot, { skipVercelSandboxPrewarm: true });+ await buildApplication(appRoot, { skipSandboxPrewarm: true });const server = await startPackagedEveStart(appRoot);try {@@ -457,7 +457,7 @@ describe("runCli", () => {const appRoot = await createMinimalAppRoot("eve-cli-start-health-");await buildApplication(appRoot, {- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,});const server = await startPackagedEveStart(appRoot);@@ -582,7 +582,7 @@ describe("runCli", () => {expect(buildHost).toHaveBeenCalledWith(resolvedWorkspaceRoot, {publicRoutePrefix: undefined,- skipVercelSandboxPrewarm: false,+ skipSandboxPrewarm: false,vercelServiceOutput: undefined,workspaceMember: false,});@@ -618,7 +618,7 @@ describe("runCli", () => {expect(buildHost).toHaveBeenCalledWith(resolvedWorkspaceRoot, {publicRoutePrefix: undefined,- skipVercelSandboxPrewarm: true,+ skipSandboxPrewarm: true,vercelServiceOutput: undefined,workspaceMember: false,});diff --git a/turbo.json b/turbo.jsonindex a6cf3dfdc..9ab1a449b 100644--- a/turbo.json+++ b/turbo.json@@ -86,6 +86,7 @@},"test:scenario": {"cache": false,+ "env": ["EVE_SANDBOX_IMAGE_TAG"],"inputs": ["$TURBO_DEFAULT$","!.eve/**",