-
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
clean up unnecessary extra db queries in MetricContext #443
Conversation
Codecov ReportAttention: Patch coverage is
Changes have been made to critical files, which contain lines commonly executed in production. Learn more ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #443 +/- ##
=======================================
Coverage 97.36% 97.37%
=======================================
Files 430 430
Lines 34319 34293 -26
=======================================
- Hits 33415 33392 -23
+ Misses 904 901 -3
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 #443 +/- ##
=======================================
Coverage 97.33% 97.34%
=======================================
Files 399 399
Lines 33629 33603 -26
=======================================
- Hits 32734 32711 -23
+ Misses 895 892 -3
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. Additional details and impacted files@@ Coverage Diff @@
## main #443 +/- ##
=======================================
Coverage 97.33% 97.34%
=======================================
Files 399 399
Lines 33629 33603 -26
=======================================
- Hits 32734 32711 -23
+ Misses 895 892 -3
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 #443 +/- ##
=======================================
Coverage 97.33% 97.34%
=======================================
Files 399 399
Lines 33629 33603 -26
=======================================
- Hits 32734 32711 -23
+ Misses 895 892 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
||
if self.commit_sha: | ||
if self.commit_sha and not self.commit_id: |
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.
Could you have a sha but not an id?
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 so, don't remember where i saw this. i think it was maybe like, a webhook or GH API response or something that didn't include our DB id but did include the sha
clean up unnecessary extra db queries in MetricContext
Stack created with Sapling. Best reviewed with ReviewStack.