-
Notifications
You must be signed in to change notification settings - Fork 11
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
Clean up some carry-forward related code #738
Conversation
This just moves some code around, removes excessive logging and metrics, and aims to make things a bit more readable.
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #738 +/- ##
=======================================
Coverage 98.05% 98.06%
=======================================
Files 434 434
Lines 36466 36403 -63
=======================================
- Hits 35758 35699 -59
+ Misses 708 704 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #738 +/- ##
=======================================
Coverage 98.05% 98.06%
=======================================
Files 434 434
Lines 36466 36403 -63
=======================================
- Hits 35758 35699 -59
+ Misses 708 704 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #738 +/- ##
=======================================
Coverage 98.05% 98.06%
=======================================
Files 434 434
Lines 36466 36403 -63
=======================================
- Hits 35758 35699 -59
+ Misses 708 704 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #738 +/- ##
=======================================
Coverage 98.05% 98.06%
=======================================
Files 434 434
Lines 36466 36403 -63
=======================================
- Hits 35758 35699 -59
+ Misses 708 704 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
if current_filename in skip_files or not report_file.contents: | ||
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct? Should it be
if current_filename in skip_files or not report_file.contents: | |
continue | |
if report_file.contents and current_filename in skip_files: | |
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we skip the file, either explicitly or because it does not have contents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that makes sense. I'm struggling to figure out where we're skipping the file because the content is empty. Is this newly added logic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I merged the above if report_file.contents
with this skipping condition, pretty much early-skipping it.
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
This just moves some code around, removes excessive logging and metrics, and aims to make things a bit more readable.
Feel free to review this with "ignore whitespace", as it does some re-indenting.