Skip to content

云径寻舟,双窗同渡 · Resolve Windows npx in release builds - #56

Merged
eric8810 merged 1 commit into
mainfrom
codex/fix-windows-pdfium-release
Jul 30, 2026
Merged

云径寻舟,双窗同渡 · Resolve Windows npx in release builds#56
eric8810 merged 1 commit into
mainfrom
codex/fix-windows-pdfium-release

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

Summary

  • resolve the platform-specific npx executable before rebuilding the bundled PDFium addon
  • handle the npx.cmd shim exposed by Windows runners
  • add a focused regression test for the resolved subprocess command

Release evidence

The unpublished 0.5.6 dry-run 30535427156 passed registry validation and then failed on Windows x64 before compilation because Python could not launch the bare npx command. No npm package or dist-tag was published.

Validation

  • python -m unittest tests.python.test_pdfium_renderer (3 tests)
  • python -m unittest discover -s tests/python -p "test_*.py" (83 tests)
  • git diff --check

Resolve the platform-specific npx command shim before rebuilding the bundled PDFium addon. This keeps the release builder portable when Windows exposes npx as npx.cmd.

Add a focused regression test that verifies the resolved shim is passed to the subprocess invocation.
@eric8810
eric8810 merged commit d80a868 into main Jul 30, 2026
1 check passed
@eric8810
eric8810 deleted the codex/fix-windows-pdfium-release branch July 30, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant