Skip to content

The agent that grows with you

fix(install-e2e): resolve uv from the toolchain for the runner dependency

ethernet18a6f2f93572
diff --git a/.github/workflows/install-e2e-windows-run.yml b/.github/workflows/install-e2e-windows-run.yml
index df79dc7b7f7..c5f5ad63ae6 100644
--- a/.github/workflows/install-e2e-windows-run.yml
+++ b/.github/workflows/install-e2e-windows-run.yml
@@ -203,12 +203,15 @@ jobs:
# evidence log takes that away and the turn dies with NoConsoleScreenBufferError.
# The driver therefore runs that turn under e2e-assets/pty-run.py, which uses
# pywinpty: the same ConPTY spawner the product uses on Windows, pinned to the
- # version pyproject.toml requires. The toolchain python ships without pip, so the
- # install goes through uv, and the import check proves it landed.
+ # version pyproject.toml requires. Install it with uv (the toolchain python ships
+ # without pip), resolved out of the toolchain root because workflow steps do not
+ # get the tools on PATH; the import check proves it landed.
- name: Install the pseudoconsole runner's dependency
shell: pwsh
run: |
- uv pip install --system --python $env:HERMES_PYTHON --quiet "pywinpty==3.0.5"
+ $uvDir = Get-ChildItem (Join-Path $env:HERMES_RUNTIME_DIR 'tools') -Filter 'uv-*' -Directory | Select-Object -First 1
+ if (-not $uvDir) { throw "uv not found under $env:HERMES_RUNTIME_DIR\tools" }
+ & (Join-Path $uvDir.FullName 'uv.exe') pip install --system --python $env:HERMES_PYTHON --quiet "pywinpty==3.0.5"
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
python -c "import winpty; print('pty-run dependency ready')"
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }