Repository navigation
Fix "No Packages Found" in PM UI when there are vulnerable packages - #7708
Merged
Merged
Conversation
jeffkl
approved these changes
Sep 15, 2026
jebriede
approved these changes
Sep 16, 2026
zivkan
approved these changes
Sep 16, 2026
This was referenced Sep 16, 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#14648
Description
When pressing "Manage NuGet Packages" from the Solution Explorer vulnerabilities infobar, a race occurs where "No packages found" was being show immediately, followed by the loading of vulnerable packages. Nothing reset the indication that none were initially found, so it remained visible.
With this change, the loading indicator appears:
...then the list of vulnerable packages is shown without "no packages found" incorrectly remaining visible at the top:
Fix details
The fix handles step 5 by removing that stale indicator when a package currently in the list becomes vulnerable.
The shortcut makes the race much more likely because it applies the tab and vulnerability filter immediately during initial loading. Manually selecting the checkbox usually happens after vulnerability metadata has already arrived, although the older issues confirm it can also occur manually under the right timing.
PR Checklist