Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package 'positron-proxy' and 'positron-duckdb' dependencies #5756

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

jmcphers
Copy link
Collaborator

@jmcphers jmcphers commented Dec 16, 2024

This change fixes the Positron Proxy and Positron-DuckDB (CSV/TSV/Parquet viewer) extension bundling in release builds. An upstream change caused dependencies of built-in extensions to be ignored; this is mostly fine but a couple of our built-in extensions have third-party dependencies that need to be processed.

The fix is to use the NPM dependency detection strategy on these specific extensions. We can't just use this strategy on all extensions since it does not work on extensions that have dependencies that are externally supplied (which is the case for several Microsoft and Positron extensions).

Additional fixes:

  • Fixes loading the help.html file in the Help pane in release builds, and makes the error visible if we can't.
  • Serializes Webpack extension building to avoid running out of file handles on Windows (EMFILE).

Addresses #5742
Addresses #5743

e2e: @:data-explorer

QA Notes

This problem only reproduces in release builds.

Copy link

github-actions bot commented Dec 16, 2024

E2E Tests 🚀  ?
This PR will run tests tagged with: @critical @data-explorer

@jmcphers jmcphers requested a review from petetronic December 16, 2024 22:11
@petetronic
Copy link
Collaborator

Tested a locally built release on Mac and it addressed both of the issues mentioned, though I'm trying to repeat this on Windows and am running into an issue completing building the release.

@jmcphers jmcphers merged commit 135ec72 into main Dec 17, 2024
6 of 7 checks passed
@jmcphers jmcphers deleted the bugfix/positron-extension-dependencies branch December 17, 2024 19:46
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants