Skip to content
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

ref(integrations): Remove indirect imports from messaging integrations #77094

Merged
merged 13 commits into from
Sep 19, 2024

Conversation

RyanSkonnord
Copy link
Member

Delete star-imports with "noqa: F401,F403" and update related import statements. Move declarations from __init__.py to other files.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 6, 2024
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

Attention: Patch coverage is 92.00000% with 4 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/integrations/slack/views/base.py 83.33% 3 Missing ⚠️
src/sentry/integrations/msteams/spec.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #77094       +/-   ##
===========================================
+ Coverage   57.34%   78.21%   +20.87%     
===========================================
  Files        6976     6924       -52     
  Lines      309315   308015     -1300     
  Branches    50624    50424      -200     
===========================================
+ Hits       177368   240913    +63545     
+ Misses     127085    60680    -66405     
- Partials     4862     6422     +1560     

Copy link
Member

@iamrajjoshi iamrajjoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌🏽

@@ -18,7 +18,9 @@
IssueAlertNotificationMessageRepository,
)
from sentry.integrations.slack.message_builder.base.block import BlockSlackMessageBuilder
from sentry.integrations.slack.message_builder.notifications import get_message_builder
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should audit if we even need this service

@RyanSkonnord RyanSkonnord merged commit 28cdab1 into master Sep 19, 2024
50 checks passed
@RyanSkonnord RyanSkonnord deleted the cleanup-messaging-integration-indirect-imports branch September 19, 2024 17:34
harshithadurai pushed a commit that referenced this pull request Sep 19, 2024
#77094)

Delete star-imports with "noqa: F401,F403" and update related import
statements. Move declarations from `__init__.py` to other files.
@RyanSkonnord RyanSkonnord added the Trigger: Revert add to a merged PR to revert it (skips CI) label Sep 19, 2024
@getsentry-bot
Copy link
Contributor

PR reverted: b797f51

getsentry-bot added a commit that referenced this pull request Sep 19, 2024
…egrations (#77094)"

This reverts commit 28cdab1.

Co-authored-by: RyanSkonnord <26411900+RyanSkonnord@users.noreply.github.com>
roaga pushed a commit that referenced this pull request Sep 20, 2024
…egrations (#77094)"

This reverts commit 28cdab1.

Co-authored-by: RyanSkonnord <26411900+RyanSkonnord@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components Trigger: Revert add to a merged PR to revert it (skips CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants