-
Notifications
You must be signed in to change notification settings - Fork 694
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
Address feedback from original change to introduce new dependency resolution algorithm #5980
Merged
Conversation
This file contains 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
nkolev92
reviewed
Aug 20, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing all this feedback :)
src/NuGet.Core/NuGet.Commands/RestoreCommand/ProjectRestoreCommand.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Commands/RestoreCommand/ProjectRestoreCommand.cs
Outdated
Show resolved
Hide resolved
nkolev92
reviewed
Aug 20, 2024
…edback "It probably needs a comment saying that the string builder must be returned, even if the code using the buffer throws an exception, otherwise all future string builder re-use stops working"
…), cleanup, and XML doc comments.
…erties internal set
…geSpecReferenceDependencyProvider
jeffkl
force-pushed
the
dev-jeffkl-followup
branch
2 times, most recently
from
August 26, 2024 16:07
f90a91a
to
846f257
Compare
jeffkl
force-pushed
the
dev-jeffkl-followup
branch
from
August 26, 2024 16:24
846f257
to
b250823
Compare
nkolev92
approved these changes
Aug 26, 2024
3 tasks
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.
Bug
Tracked at https://github.com/NuGet/Client.Engineering/issues/2959
Description
My original change to introduce a new dependency resolution algorithm was rushed and this change address the following feedback:
.GetAwaiter().GetResult()
instead ofawait
but we undid some of that during the final refactoring. (Introduce optimized dependency graph resolution algorithm #5963 (comment))NoAllocEnumerator
or afor
loop inRestoreCommand.CreateFrameworkRuntimePairs()
(Introduce optimized dependency graph resolution algorithm #5963 (comment))RestoreTargetGraph
asinternal
and instead use a new constructor orinit
(Introduce optimized dependency graph resolution algorithm #5963 (comment))I broke each one out into its own commit if that's eaiser to review.
PR Checklist