Skip to content

fix(alerts): Allow changing slack channel info with only channel name #91564

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snigdhas
Copy link
Member

@snigdhas snigdhas commented May 13, 2025

Clear out mismatching channel names/id fields when updating an alert to allow the slack channel to be updated with one or the other field instead of requiring both.

Fixes #45209

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 13, 2025
@snigdhas snigdhas marked this pull request as ready for review May 13, 2025 18:45
@snigdhas snigdhas requested a review from a team as a code owner May 13, 2025 18:45
Copy link

codecov bot commented May 13, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 3 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/api/endpoints/project_rule_details.py 70.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #91564    +/-   ##
========================================
  Coverage   87.65%   87.65%            
========================================
  Files       10320    10331    +11     
  Lines      585626   586534   +908     
  Branches    22617    22617            
========================================
+ Hits       513313   514132   +819     
- Misses      71885    71974    +89     
  Partials      428      428            

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Alerting] - Clear out slack Channel ID in Alert action when changed
1 participant