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

[release/8.0.1xx] Update AnalyzerReleases file to reflect new analyzers for .NET8 release #6944

Merged

Conversation

mavasani
Copy link
Contributor

@mavasani mavasani commented Sep 15, 2023

Backport of #6940 to release/8.0.1xx

Customer Impact

Shipped releases in AnalyzerReleases.Shipped.md is used to drive the auto-generation of editorconfig files that ship with the analyzer NuGet package and the .NET SDK and are passed down to the compiler based on the AnalysisLevel MSBuild property. This PR is needed to ensure that setting AnalysisLevel = 8 includes the new analyzers added with this release.

Testing

I have verified that locally built Microsoft.CodeAnalysis.NetAnalyzers NuGet package includes these new analyzers added in .NET8 timeframe in the editorconfig files generated for AnalysisLevel 8.

Risk

This should be a pretty low risk fix, something we do at the time of branching every new release branch on this repo for a new .NET release. For example, see #6246 that was checked in for .NET 7 release

Note that this PR is essential to ensure setting AnalysisLevel to 8 enables the new analyzers added with .NET8.
@mavasani mavasani requested a review from a team as a code owner September 15, 2023 03:35
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #6944 (c9bf751) into release/8.0.1xx (7ec4e89) will increase coverage by 0.00%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release/8.0.1xx    #6944   +/-   ##
================================================
  Coverage            96.39%   96.40%           
================================================
  Files                 1402     1402           
  Lines               331865   331865           
  Branches             11028    11028           
================================================
+ Hits                319916   319921    +5     
+ Misses                9188     9182    -6     
- Partials              2761     2762    +1     

@carlossanlop carlossanlop added the servicing-consider For backport requests to servicing branches. label Sep 15, 2023
@mavasani
Copy link
Contributor Author

@jeffhandley @ericstj @artl93 can you please consider this backported fix for release/8.0.1xx?

@carlossanlop carlossanlop requested a review from artl93 September 18, 2023 15:03
@carlossanlop carlossanlop added this to the 8.0.1xx milestone Sep 18, 2023
Copy link
Member

@jeffhandley jeffhandley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. @artl93 we generally treat infrastructure PRs we must merge in order to ship as "Tell Mode."

@carlossanlop carlossanlop added servicing-approved and removed servicing-consider For backport requests to servicing branches. labels Sep 18, 2023
@carlossanlop
Copy link
Member

Treating as tell-mode, so marking as servicing-approved. Merging now.

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

Successfully merging this pull request may close these issues.

3 participants