Skip to content

Conversation

iamrajjoshi
Copy link
Contributor

No description provided.

Copy link

sentry-io bot commented Apr 15, 2025

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: src/sentry/integrations/notifications.py

Function Unhandled Issue
_get_channel_and_integration_by_team ExternalActor.MultipleObjectsReturned: get() returned more than one ExternalActor -- it returned 2! ...
Event Count: 65

Did you find this useful? React with a 👍 or 👎

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 15, 2025
logger = logging.getLogger("sentry.notifications")


class SlackNotifyBasicMixin(NotifyBasicMixin):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this doesn't need to live separately, so moved it under SlackIntegration

Copy link

codecov bot commented Apr 15, 2025

Codecov Report

Attention: Patch coverage is 84.61538% with 2 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/integration.py 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #89578      +/-   ##
==========================================
- Coverage   87.73%   87.73%   -0.01%     
==========================================
  Files       10172    10172              
  Lines      574129   574126       -3     
  Branches    22612    22612              
==========================================
- Hits       503728   503721       -7     
- Misses      69985    69989       +4     
  Partials      416      416              

@iamrajjoshi iamrajjoshi marked this pull request as ready for review April 15, 2025 13:49
@iamrajjoshi iamrajjoshi requested review from a team as code owners April 15, 2025 13:49
Copy link
Contributor

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

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

@iamrajjoshi iamrajjoshi merged commit 0f7fad1 into master Apr 15, 2025
61 checks passed
@iamrajjoshi iamrajjoshi deleted the raj/fix-slack-notifications-typing branch April 15, 2025 15:00
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants