Repository navigation
Fail restore when floating version needs cooldown - #7694
Merged
Merged
Conversation
zivkan
requested review from
donnie-msft and
jebriede
and removed request for
a team
September 10, 2026 23:11
|
Are the other no-op calculations that could be improved documented somewhere or is there an issue to track for it? |
jebriede
reviewed
Sep 11, 2026
3 tasks done
zivkan
marked this pull request as draft
September 15, 2026 10:35
zivkan
force-pushed
the
dev-zivkan-floating-version-cooldown
branch
from
September 16, 2026 00:11
b83acab to
19eacc7
Compare
zivkan
marked this pull request as ready for review
September 16, 2026 00:14
nkolev92
reviewed
Sep 16, 2026
nkolev92
left a comment
Member
There was a problem hiding this comment.
Only concern is around the RestoreRequest API change.
I'm ok with making a breaking change here.
nkolev92
approved these changes
Sep 16, 2026
This was referenced Sep 17, 2026
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.
Bug
Fixes: NuGet/Home#15035
Description
Fail restore with NU1020 when a floating version needs to use cooldown.
Since no-op doesn't take nuget.config settings into account, it's possible to enable cooldown, do a restore and have no-op succeed, therefore hiding the configuration error. And therefore later (perhaps in CI, or later when a different package is installed/removed/upgraded) find out about the configuration error. But there are existing scenarios with a similar outcome, for example if package source mapping doesn't map a required package to any source, but the package already exists in the global packages folder on the computer being tested on. Floating version usage is very low, so that's very few customers who are at risk of being affected. Other work is higher priority than improving the no-op calculations at this time.
PR Checklist