GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — ref(boto3): Split integration into internal modules by pabloDeputter · Pull Request #7537 · getsentry/sentry-python Conversation
Contributor
DescriptionMove
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Results 📊✅ 132233 passed | ⏭️ 7214 skipped | Total: 139447 | Pass Rate: 94.83% | Execution Time: 440m 53s 📊 Comparison with Base Branch
➖ Removed Tests (60)View removed tests
All tests are passing successfully. ✅ Patch coverage is 90.24%. Project has 2551 uncovered lines. Files with missing lines (2)
Coverage diff@@ Coverage Diff @@ ## master #PR +/-## ========================================== - Coverage 90.30% 90.29% -0.01% ========================================== Files 195 198 +3 Lines 26261 26279 +18 Branches 9798 9798 — ========================================== + Hits 23714 23728 +14 - Misses 2547 2551 +4 - Partials 1485 1485 — Generated by Codecov Action |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Stale Bugbot comment from a previous run.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the earlier changes. There's one more change that we can try and make to avoid the need for dynamic imports altogether, have left a comment within one of the methods explaining.
Otherwise, this LGTM, approving in order to not block once that's been addressed
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| def _sentry_before_sign( | ||
| request: "AWSRequest", signature_version: "Any", **kwargs: "Any" | ||
| ) -> None: | ||
| from sentry_sdk.integrations.boto3 import Boto3Integration |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A fun thing that you can do to try and get around the need for this dynamic import - you can provide the string rather than the class to client.get_integration.
So I think lines 117 and 118 below would look like this:
if client.get_integration("Boto3Integration") is None:
return
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Okay good to know, I didn't knew this was possible. Then we'll probably use client.get_integration("boto3") instead, right? Since we use boto3 as identifier for the integration.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'll do this probably in a later PR, cause I don't want to do merge hell once again 😭
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, totally understandable 👍🏻
Sorry, something went wrong.
There was an error while loading. Please reload this page.
5bbe368 to
591151d
Compare
591151d to
81fd35f
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 81fd35f. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
8bf4d1c to
a45c039
Compare
c9e19dc to
d4858fe
Compare
d4858fe to
b21b888
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.