Skip to content
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

still allow package analysis to continue even if metadata isn't valid #10956

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Nov 18, 2024

Found during a manual audit of the logs for the nuget_native_analysis experiment.

When querying the NuGet package source for metadata, the resultant JSON can contain an empty string for a version range property which makes deserialization fail. The package update can still continue, we just can't return a reasonable repo URL.

@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Nov 18, 2024
@brettfo brettfo force-pushed the dev/brettfo/nuget-analyze-empty-version-range branch from da81966 to 2449b4b Compare November 18, 2024 19:29
@brettfo brettfo marked this pull request as ready for review November 18, 2024 19:29
@brettfo brettfo requested a review from a team as a code owner November 18, 2024 19:29
@brettfo brettfo force-pushed the dev/brettfo/nuget-analyze-empty-version-range branch from 2449b4b to 4bbdfa3 Compare November 18, 2024 21:25
@brettfo brettfo force-pushed the dev/brettfo/nuget-analyze-empty-version-range branch from 4bbdfa3 to 14c83de Compare November 19, 2024 17:49
@randhircs randhircs merged commit 44c0a85 into main Nov 19, 2024
70 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-analyze-empty-version-range branch November 19, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants