You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] setup-devkit-toolchain applies python/uv CI env unconditionally on non-python consumers #1028
Surfaced by the commit-action pilot (vig-os/commit-action#32). The shared CI
composite .github/actions/setup-devkit-toolchain/action.yml applies Python/uv
environment unconditionally, regardless of the consumer's language or DEVKIT_MODULES:
filters the Nix CPython out of $GITHUB_PATH so uv sync rebuilds a manylinux
CPython (lines ~119-125)
On a repo with no Python (e.g. commit-action, a TypeScript action) these run
anyway.
Impact
Harmless today — the vars are unused when CI runs just sync (= npm ci) — but
it is Python-assuming plumbing baked into the shared, language-neutral CI
toolchain. Confusing to read, and a latent footgun (the deliberate PATH filtering
of CPython could surprise a consumer that legitimately wants the Nix python).
Suggested fix
Gate the uv/python env on the project actually being Python (presence of pyproject.toml, or a python entry in DEVKIT_MODULES), so the composite is a
no-op for non-Python consumers.
Fixed in #1033 (merged to dev): python/uv env in setup-devkit-toolchain is now gated on a root pyproject.toml — the composite is a no-op for those steps on non-Python consumers.
Activity
fix(ci): make scaffolded CI and release pipeline language-neutral (#1033
c-vigo commentedon Jul 14, 2026
Fixed in #1033 (merged to dev): python/uv env in setup-devkit-toolchain is now gated on a root pyproject.toml — the composite is a no-op for those steps on non-Python consumers.
chore: release 1.2.0 (#253)
chore: release 1.2.0 (#1068)
fix(workspace): scope libstdc++ for uvx native wheels in direnv CI (#…
fix(action): keep the Nix CPython and uv pins on NixOS runners (#1363)