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

fix(core): move resolving plugins back to main thread #29176

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

FrozenPandaz
Copy link
Collaborator

@FrozenPandaz FrozenPandaz commented Dec 3, 2024

Current Behavior

Resolving custom plugins to their paths to be loaded involves loading our default plugins. When plugin isolation, this loads the default plugins for each and every plugin worker.

Expected Behavior

Resolution of the plugins is the same and easily serializable to send to the worker. Resolving plugins on the main thread allows Nx to reuse the default plugins and decrease the memory usage greatly.

Related Issue(s)

Fixes #

Copy link

vercel bot commented Dec 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2024 1:03am

Copy link

github-actions bot commented Dec 4, 2024

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx [email protected] my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-29176-d3c6c29
Release details 📑
Published version 0.0.0-pr-29176-d3c6c29
Triggered by @FrozenPandaz
Branch core-fix
Commit d3c6c29
Workflow run 12152587323

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

@FrozenPandaz FrozenPandaz marked this pull request as ready for review December 4, 2024 14:52
@FrozenPandaz FrozenPandaz requested a review from a team as a code owner December 4, 2024 14:52
@FrozenPandaz FrozenPandaz merged commit bba941a into master Dec 4, 2024
6 checks passed
@FrozenPandaz FrozenPandaz deleted the core-fix branch December 4, 2024 15:05
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 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