fix(coding-agent): use Windows venv interpreter - #1210
Draft
alloutflo wants to merge 1 commit into
Draft
Conversation
alloutflo
force-pushed
the
codex/issue-1194-windows-python-path
branch
from
August 11, 2026 08:59
4dd8475 to
8c3fd03
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix Windows kernel bootstrap by resolving the virtual-environment interpreter from the platform-specific layout.
Root cause
The bootstrap path always used
<venv>/bin/python.uvcreates<venv>/Scripts/python.exeon Windows, so both the initial package installation and later readiness checks addressed a path that does not exist.Changes
Verification
npx tsx ../../node_modules/vitest/dist/cli.js --run test/kernel-bootstrap.test.ts— 22 tests passed.npm run check— formatting, linting, type checking, installer rendering, and browser smoke checks passed.Risk
Low. POSIX keeps the existing
bin/pythonpath. Windows now uses the standardScripts/python.exepath. The platform selection is covered without requiring a Windows host, but this PR does not claim a full Windows end-to-end install run.Fixes #1194
Note
Fix kernel bootstrap to use Windows venv interpreter path
The kernel bootstrap always used the POSIX
bin/pythonpath, causing failures on Windows where the interpreter lives atScripts/python.exe.getKernelVenvPythonPathin bootstrap.ts to return the correct interpreter path based on platform (Scripts/python.exeon Windows,bin/pythonon POSIX).bootstrapVenvandensureKernelPythonUncachedto use this utility for dependency installation, readiness checks, and the final returned interpreter path.Macroscope summarized 8c3fd03.