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

Test PR for #6367 #6375

Closed
wants to merge 1 commit into from
Closed

Test PR for #6367 #6375

wants to merge 1 commit into from

Conversation

mavasani
Copy link
Contributor

Test PR for #6367

Test PR for #6367
@mavasani
Copy link
Contributor Author

@Youssef1313

@codecov
Copy link

codecov bot commented Dec 21, 2022

Codecov Report

Merging #6375 (8680739) into main (43348f5) will increase coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6375   +/-   ##
=======================================
  Coverage   96.10%   96.11%           
=======================================
  Files        1361     1361           
  Lines      316050   316050           
  Branches    10186    10186           
=======================================
+ Hits       303752   303757    +5     
+ Misses       9868     9865    -3     
+ Partials     2430     2428    -2     

@Youssef1313
Copy link
Member

@mavasani This is green :(

@mavasani
Copy link
Contributor Author

Yes, will investigate why the analyzers are not executing

@mavasani
Copy link
Contributor Author

@Youssef1313 The problem seems to be that we enable CAxxxx rules as warnings with the below:

<PropertyGroup>
<!-- Enable all the latest CA rules from 'Microsoft.CodeAnalysis.NetAnalyzers' as build warnings by default. Specific rules are disabled or downgraded in repo's editorconfig. -->
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

Due to this regression: #6245, CAxxxx rules are no longer being bulk escalated to warning/error. I am going to work on a PR to pull in the latest NetAnalyzers package in the repo to first fix this and also the new violations that come out of it. I am going to block your PR #6367 until this work is done.

@mavasani
Copy link
Contributor Author

@Youssef1313 This also explains why #6339 had no new violations.

@mavasani
Copy link
Contributor Author

@Youssef1313 This also explains why #6339 had no new violations.

Moving to latest pre-release NetAnalyzers package produces 410 CA warnings!!

@mavasani
Copy link
Contributor Author

mavasani commented Dec 22, 2022

Closing in favor of #6380

@mavasani mavasani closed this Dec 22, 2022
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.

2 participants