Skip to content

Globally disable analyzer warnings in bootstrapping stage 2 build #3427

@mthalman

Description

@mthalman

One of the frequent causes of failures in the bootstrapping stage 2 build is due to analyzer warnings (which are treated as errors). Recent examples of this are dotnet/installer#16269 and dotnet/installer#16268. Failing the build on these types of errors is problematic:

  • It blocks the release.
  • It prevents visibility into potentially other, more serious, downstream issues.
  • It's time-consuming to investigate, fix, and verify.

Failing on these errors also doesn't provide much value either since they really don't affect the functionality of the product.

We should consider globally disabling all analyzer warnings/errors for all repos built in source-build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-buildImprovements in source-build's own build process

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions