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

Policy scope fix #37298

Closed
wants to merge 5 commits into from
Closed

Policy scope fix #37298

wants to merge 5 commits into from

Conversation

bmeck
Copy link
Member

@bmeck bmeck commented Feb 9, 2021

This fixes a case where repeated scope lookup for modules with multiple dependencies would fail and the manifest would look up the dependency redirector of the referrer rather than the scope. This was found in stress testing of https://github.com/bmeck/local-fs-https-imports . The reason it didn't appear to have a test before is likely that code coverage was unaffected.

@bmeck bmeck added confirmed-bug Issues with confirmed bugs. policy Issues and PRs related to the policy subsystem. labels Feb 9, 2021
Copy link
Member

@vdeturckheim vdeturckheim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bmeck bmeck added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 10, 2021
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@bmeck
Copy link
Member Author

bmeck commented Feb 12, 2021

CI failure seems to be flaking and not related to this PR. Will merge in a few unless otherwise commented

@bmeck
Copy link
Member Author

bmeck commented Feb 12, 2021

ah, nm needs 1 more collab approval, missed that (will go poking around for one)

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of minor nits but LGTM

@nodejs-github-bot
Copy link
Collaborator

@bmeck
Copy link
Member Author

bmeck commented Feb 15, 2021

CI issues seem unrelated, going to merge in a bit

bmeck added a commit that referenced this pull request Feb 15, 2021
PR-URL: #37298
Reviewed-By: Vladimir de Turckheim <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Co-authored-by: James M Snell <[email protected]>
@bmeck
Copy link
Member Author

bmeck commented Feb 15, 2021

Landed in fc574dc58380

@bmeck bmeck closed this Feb 15, 2021
@Trott
Copy link
Member

Trott commented Feb 16, 2021

Landed in fc574dc58380

Landed in f24e707

danielleadams pushed a commit that referenced this pull request Feb 16, 2021
PR-URL: #37298
Reviewed-By: Vladimir de Turckheim <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Co-authored-by: James M Snell <[email protected]>
This was referenced Feb 16, 2021
targos pushed a commit that referenced this pull request May 1, 2021
PR-URL: #37298
Reviewed-By: Vladimir de Turckheim <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Co-authored-by: James M Snell <[email protected]>
@danielleadams danielleadams mentioned this pull request May 3, 2021
@bmeck bmeck deleted the policy-scope-fix branch February 3, 2022 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. confirmed-bug Issues with confirmed bugs. policy Issues and PRs related to the policy subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants