-
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
feat: collect extra shas for gitlab notif #698
Conversation
This PR includes changes to |
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #698 +/- ##
==========================================
- Coverage 98.09% 98.09% -0.01%
==========================================
Files 434 434
Lines 36607 36643 +36
==========================================
+ Hits 35911 35945 +34
- Misses 696 698 +2
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 #698 +/- ##
==========================================
- Coverage 98.09% 98.09% -0.01%
==========================================
Files 434 434
Lines 36607 36643 +36
==========================================
+ Hits 35911 35945 +34
- Misses 696 698 +2
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 #698 +/- ##
==========================================
- Coverage 98.09% 98.09% -0.01%
==========================================
Files 434 434
Lines 36607 36643 +36
==========================================
+ Hits 35911 35945 +34
- Misses 696 698 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 #698 +/- ##
==========================================
- Coverage 98.14% 98.14% -0.01%
==========================================
Files 475 475
Lines 37962 38278 +316
==========================================
+ Hits 37257 37567 +310
- Misses 705 711 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes This change has been scanned for critical changes. Learn more |
@@ -529,6 +539,9 @@ def save_patch_totals(self, comparison: ComparisonProxy) -> None: | |||
return | |||
head_commit = comparison.head.commit | |||
db_session = head_commit.get_db_session() | |||
if db_session is None: |
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.
under which circumstances does this ever happen?
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'm not sure. I don't think it should happen, but my type hinter tells me this the result of Commit.get_db_session()
is Any | None
.
Also we have issues WORKER-N5V and WORKER-NH1 - not in this task exactly - that show dbsession
being None
depends on codecov/shared#354 These changes collect extra SHAs that we need to (potentially) notify for GitLab users that use "merge request result" pipelines and the "merge train" feature. These changes only _collect_ the extra SHAs. The actual notification will happen later.
3acced6
to
025c027
Compare
This PR includes changes to |
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
depends on codecov/shared#354
These changes collect extra SHAs that we need to (potentially) notify for GitLab users
that use "merge request result" pipelines and the "merge train" feature.
These changes only collect the extra SHAs. The actual notification will happen later.