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(nm): Stop hoisting rounds only when nothing were hoisted #6495

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

larixer
Copy link
Member

@larixer larixer commented Sep 12, 2024

What's the problem this PR addresses?

Fixes #6493
Fixes #6494

How did you fix it?

Issue: #6493. Sometimes hoisting algorithm was stopped too early, because it wasn't able to determine correctly stop condition. I made it safer but possibly one round slower by stopping only when nothing was hoisted during the last round.

Issue: #6494. Hoisting avoided hoisting to non-root workspace previously, I have removed this limitation, because it made inner workspaces meaningless.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@larixer larixer added this pull request to the merge queue Sep 12, 2024
Merged via the queue into master with commit a22486f Sep 12, 2024
32 checks passed
@larixer larixer deleted the larixer/nm-safer-hoisting branch September 12, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants