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

Duplicate "API available in NuGet package" Issues. Massively overinflates story points. #1612

Open
EmperorArthur opened this issue Nov 21, 2024 · 0 comments

Comments

@EmperorArthur
Copy link

EmperorArthur commented Nov 21, 2024

Describe the bug

Issue occurs during code analysis.

When multiple pieces of code rely on a transitive package, each individual instance is reported as a new issue, with an additional story point. Sometimes with the issue being reported multiple times for the same line.

The nuance is this is one issue that should have a single story point. However, the "Incidents" and "Story Points" makes it seem like a massive task.

Specifics

All of these are because "System.ServiceModel.Primitives, 8.0.0" is a transitive dependency of "System.ServiceModel.Http".

Issue Description State Severity Incidents Story Points
Api.0002 API available in NuGet package Active Potential 281 281

Screenshot pending. GitHub reporting upload fails.

To Reproduce

  • Create a "netstandard2.0" project.
  • Use Visual Studio's Connected Services code generator on a "wsdl" file.
  • Verify a "Reference.cs" file is created.
  • Remove the "System.ServiceModel.Primitives" dependency if it was added automatically.
  • Run the analyzer.
  • Observe the large number of incidents and story points.

Further technical details

  • Windows version and bitness info (32-bit or 64-bit)
    • 64-bit
    • ProductName Windows 10 Enterprise LTSC 2021
    • Version 10.0.19044
    • BuildLabEx 19041.1.amd64fre.vb_release.191206-1406
  • Include the output of dotnet --list-sdks
    • 8.0.404 [C:\Program Files\dotnet\sdk]
      9.0.100 [C:\Program Files\dotnet\sdk]
  • Include the output of upgrade-assistant --version
    • 0.5.829.41291

Edit: Minor wording tweaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant