-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Description
I'm using a self-hosted GitHub Actions runner on Windows and I'm seeing the following error when using setup-uv@v7 (I've bisected the appearance of the error to v7.0.0):
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
MRE
- name: Setup uv
uses: astral-sh/setup-uv@v7
Run astral-sh/setup-uv@v7
(node:21512) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Trying to find version for uv in: C:\Users\User\actions-runner\_work\my-project\my-project\uv.toml
Could not find file: C:\Users\User\actions-runner\_work\my-project\my-project\uv.toml
Trying to find version for uv in: C:\Users\User\actions-runner\_work\my-project\my-project\pyproject.toml
Could not determine uv version from uv.toml or pyproject.toml. Falling back to latest.
Getting latest version from GitHub API...
Found uv in tool-cache for 0.9.10
Set UV_TOOL_BIN_DIR to C:\Users\User\actions-runner\_work\_temp\uv-tool-bin-dir
Added C:\Users\User\actions-runner\_work\_temp\uv-tool-bin-dir to the path
Added C:\Users\User\actions-runner\_work\_tool\uv\0.9.10\x86_64 to the path
Set UV_TOOL_DIR to C:\Users\User\actions-runner\_work\_temp\uv-tool-dir
Set UV_PYTHON_INSTALL_DIR to C:\Users\User\AppData\Roaming\uv\python
Added C:\Users\User\AppData\Roaming\uv\python to the path
Successfully installed uv version 0.9.10
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
As you can see, uv installs successfully, but then the workflow aborts.
This appears to match a known upstream Node issue on Windows? But I'm not sure exactly what's going on here.
Runner info
- GitHub Actions runner v2.329.0 (https://github.com/actions/runner/releases/tag/v2.329.0)
Current runner version: '2.329.0'
node -v
v22.17.1
Metadata
Metadata
Assignees
Labels
No labels