-
Notifications
You must be signed in to change notification settings - Fork 8
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
Merge EditableReport
into Report
#549
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #549 +/- ##
==========================================
+ Coverage 88.50% 88.52% +0.01%
==========================================
Files 451 451
Lines 13107 13094 -13
Branches 1528 1524 -4
==========================================
- Hits 11600 11591 -9
+ Misses 1184 1183 -1
+ Partials 323 320 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
📢 Thoughts on this report? Let us know! |
❌ 22 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
CodSpeed Performance ReportMerging #549 will create unknown performance changesComparing Summary
|
❌ 22 Tests Failed:
View the top 3 failed tests by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
676f04d
to
4f96ce2
Compare
3b3bf9c
to
fdd778f
Compare
The primary usecase for `EditableReport` was to always keep a list of "partially parsed" `ReportFile`s around, as well as making sure that `totals` (and to some extent `file_totals`) are uptodate. This now moves all the methods from `EditableReport` onto `Report`, and introduces a new method to iterate over "partially parsed" `ReportFile`s, making sure those are being kept around as well.
fdd778f
to
395cbee
Compare
] | ||
|
||
EDITABLE_VARIANTS = [Report, EditableReport] | ||
EDITABLE_VARIANTS = [Report] |
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 think it'd be nice to hardcode this instead of parametrize, since there should only be one variant going forward
The primary usecase for
EditableReport
was to always keep a list of "partially parsed"ReportFile
s around, as well as making sure thattotals
(and to some extentfile_totals
) are uptodate.This now moves all the methods from
EditableReport
ontoReport
, and introduces a new method to iterate over "partially parsed"ReportFile
s, making sure those are being kept around as well.Part of codecov/engineering-team#3381, and built on top of #548.