Repository navigation
Add cooldown to dotnet package update - #7705
Conversation
11c0733 to
593c9dd
Compare
nkolev92
left a comment
There was a problem hiding this comment.
Some more tests/documentation would be great. There may be some details in the spec.
Overall it looks pretty good.
|
I investigated the package-source-mapping failure path for vulnerable updates further. This is a real bug, but it is preexisting and not introduced by this PR. The same behavior is present on I added this local regression test: VulnerablePackageWithPackageSourceMapping_ErrorWhenPackageNameIsNotMappedThe test sets up:
It asserts that the command returns So this should be tracked and fixed separately rather than treated as a blocking finding for #7705. |
nkolev92
left a comment
There was a problem hiding this comment.
LGTM.
There's a preexisting what might be a bug that I had copilot write a test for and it'll be a separate comment here.
Bug
Fixes: NuGet/Home#15027
Description
Adds support for cooldown to
dotnet package update, for both "update to latest" as well as "update vulnerable". When an update detects a version in cooldown, it outputs a message, so customers can be aware that an ineligible newer version exists (and also that they have cooldown configured).PR Checklist