fix(arborist): use full location as tracker key when inflating#4300
Merged
lukekarrys merged 1 commit intorelease-nextfrom Feb 22, 2022
Merged
fix(arborist): use full location as tracker key when inflating#4300lukekarrys merged 1 commit intorelease-nextfrom
lukekarrys merged 1 commit intorelease-nextfrom
Conversation
Contributor
|
found 20 benchmarks with statistically significant performance improvements
timing results
|
d1a710d to
830b987
Compare
wraithgar
reviewed
Feb 22, 2022
wraithgar
approved these changes
Feb 22, 2022
Member
wraithgar
left a comment
There was a problem hiding this comment.
It's Fine ™️ to show the full location here imo, but if we want to strip it I added a suggestion. Approved either way.
Contributor
Author
|
So I'm not exactly sure why but stripping out |
Merged
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #4273
Ref: #4298
I ran into this issue in #4427 while making tracker events run by default on all tests. This test was failing because the two packages being inflated are
file:so they don't start withnode_modules/resulting in the location portion of the tracker key being empty. I don't see a reason why the key shouldn't be the full path, except that we show it to the user as part of the logs. But if that's a concern it can be fixed elsewhere.