-
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
Cache and move load_commit_diff
out of Report lock
#784
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #784 +/- ##
==========================================
- Coverage 98.01% 98.01% -0.01%
==========================================
Files 442 442
Lines 36603 36597 -6
==========================================
- Hits 35875 35869 -6
Misses 728 728
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #784 +/- ##
==========================================
- Coverage 98.01% 98.01% -0.01%
==========================================
Files 442 442
Lines 36603 36597 -6
==========================================
- Hits 35875 35869 -6
Misses 728 728
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #784 +/- ##
==========================================
- Coverage 98.01% 98.01% -0.01%
==========================================
Files 442 442
Lines 36603 36597 -6
==========================================
- Hits 35875 35869 -6
Misses 728 728
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #784 +/- ##
==========================================
- Coverage 98.01% 98.01% -0.01%
==========================================
Files 442 442
Lines 36603 36597 -6
==========================================
- Hits 35875 35869 -6
Misses 728 728
Flags with carried forward coverage won't be shown. Click here to find out more.
|
c2535a8
to
90b968b
Compare
90b968b
to
d158dd9
Compare
Moves the `load_commit_diff` portion out of `save_report_results`. This way, the whole commit diff loading can be moved outside of the Report merge lock. Additionally, the function was decorated with a cache, as the diff for a commit will never change.
d158dd9
to
80a8138
Compare
Moves the
load_commit_diff
portion out ofsave_report_results
.This way, the whole commit diff loading can be moved outside of the Report merge lock. Additionally, the function was decorated with a cache, as the diff for a commit will never change.