From 162a8bd62517fa7bc176a40d7ba8551ff13a6226 Mon Sep 17 00:00:00 2001 From: ganesh47 <22994026+ganesh47@users.noreply.github.com> Date: Thu, 23 Apr 2026 10:19:22 +0530 Subject: [PATCH] fix(build): disable host-side auto bootstrap installs --- src/build.ts | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/build.ts b/src/build.ts index c61ca05..232ddf6 100644 --- a/src/build.ts +++ b/src/build.ts @@ -417,16 +417,11 @@ async function resolveBuildEnvironmentAssessment(cwd: string): Promise 0) { - requiredTools.add("uv"); evidence.push(`Detected ${pyprojectDirs.length} uv-managed Python workspace${pyprojectDirs.length > 1 ? "s" : ""}.`); for (const dir of pyprojectDirs) { if (!(await pathExists(path.join(dir, ".venv")))) { - bootstrapActions.push({ - label: `bootstrap uv environment (${path.relative(cwd, dir) || "."})`, - cwd: dir, - command: "uv sync --frozen", - rationale: "The Python workspace uses uv and does not have a local environment yet." - }); + notes.push( + `Skipped automatic uv bootstrap for ${path.relative(cwd, dir) || "."} because package-manager installs are not executed outside the Codex sandbox.` + ); } } }