Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Warning Suppression CA1062 - #2216

#2216
Merged
martincostello merged 1 commit into
App-vNext:mainApp-vNext/Polly:mainfrom
Zombach:zombach/remove-warning-ca1062Zombach/Polly:zombach/remove-warning-ca1062Copy head branch name to clipboard
Jul 20, 2024
Merged

Warning Suppression CA1062#2216
martincostello merged 1 commit into
App-vNext:mainApp-vNext/Polly:mainfrom
Zombach:zombach/remove-warning-ca1062Zombach/Polly:zombach/remove-warning-ca1062Copy head branch name to clipboard

Conversation

@Zombach

@Zombach Zombach commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

Pull Request

The issue or feature being addressed

#2215

Details on the issue fix or feature implementation

  • Suppress CA1062 in the code or fix the warning

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • I have included unit tests for the issue/feature
  • Preparing to solve warning CA1062.

@codecov

codecov Bot commented Jul 19, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.89%. Comparing base (ab2ffa4) to head (ac4545f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2216   +/-   ##
=======================================
  Coverage   83.89%   83.89%           
=======================================
  Files         313      313           
  Lines        7179     7179           
  Branches     1060     1060           
=======================================
  Hits         6023     6023           
  Misses        785      785           
  Partials      371      371           
Flag Coverage Δ
linux 83.89% <ø> (ø)
macos 83.89% <ø> (ø)
windows 83.89% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello

Copy link
Copy Markdown
Member

Why suppress rather than fix in this case?

@Zombach

Zombach commented Jul 20, 2024

Copy link
Copy Markdown
Contributor Author

Why suppress rather than fix in this case?

The problem is that there is a lot of this warning. And if you do not suppress this warning in advance. If you disable this warning, a lot of noise is created. Which is very much in the way. And when correcting the warning, it is necessary to additionally cover the code with tests. Which in turn amounts to a huge PR of 1000+ lines. That's why I divided the task into subtasks, as described in #2215 . And now anyone can take a file as a separate file, disable warning suppression in it and fully work it out. Without making too much noise.

@martincostello
martincostello merged commit e4ffcd4 into App-vNext:main Jul 20, 2024
@Zombach
Zombach deleted the zombach/remove-warning-ca1062 branch July 20, 2024 07:19
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

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.