Problem
PR #215 fixed the Windows pnpm/package-artifact invocation path enough for the artifact unit tests and clean npm package install to get much further, but the Windows clean-install smoke still fails when the installed CLI first uses the managed Python runtime.
On a fresh Windows Server 2022 environment with Git available, this passed:
node --test scripts/package-artifacts.test.mjs (18 tests, 0 failures)
- npm tarball build/package/install
pnpm exec ktx --version
ktx setup --no-input ...
ktx wiki ...
ktx sl ... search
The remaining failure is on the first query that needs the managed runtime:
pnpm exec ktx sl query --connection-id warehouse --measure orders.order_count --format json --yes --project-dir <temp-project>
AssertionError [ERR_ASSERTION]: ktx sl query first managed runtime install failed with code 1
The stderr output only showed the managed Python runtime install starting with uv before the process exited with code 1.
Expected
A clean installed ktx npm package on Windows should be able to install/use the managed Python runtime and complete the ktx sl query smoke.
Suggested Follow-Up
Investigate why the managed runtime install exits 1 on Windows during the clean-install smoke, then add or update Windows coverage so scripts/package-artifacts.mjs check can validate this path end to end.
Problem
PR #215 fixed the Windows pnpm/package-artifact invocation path enough for the artifact unit tests and clean npm package install to get much further, but the Windows clean-install smoke still fails when the installed CLI first uses the managed Python runtime.
On a fresh Windows Server 2022 environment with Git available, this passed:
node --test scripts/package-artifacts.test.mjs(18tests,0failures)pnpm exec ktx --versionktx setup --no-input ...ktx wiki ...ktx sl ...searchThe remaining failure is on the first query that needs the managed runtime:
The stderr output only showed the managed Python runtime install starting with
uvbefore the process exited with code1.Expected
A clean installed ktx npm package on Windows should be able to install/use the managed Python runtime and complete the
ktx sl querysmoke.Suggested Follow-Up
Investigate why the managed runtime install exits
1on Windows during the clean-install smoke, then add or update Windows coverage soscripts/package-artifacts.mjs checkcan validate this path end to end.