Skip to content

chore(alerts): Clean up usage of AlertRuleSerializerResponse#116218

Merged
ceorourke merged 4 commits into
masterfrom
ceorourke/rm-alertruleserializerresponse
May 26, 2026
Merged

chore(alerts): Clean up usage of AlertRuleSerializerResponse#116218
ceorourke merged 4 commits into
masterfrom
ceorourke/rm-alertruleserializerresponse

Conversation

@ceorourke
Copy link
Copy Markdown
Member

Follow up to #116052 to remove most uses of AlertRuleSerializerResponse and DetailedIncidentSerializerResponse - the only remaining place they're used is in the forwards compatible serializers to make sure the payload shape matches the old one.

@ceorourke ceorourke requested review from a team as code owners May 26, 2026 18:31
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 26, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for 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.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9723343. Configure here.

Comment thread src/sentry/incidents/charts.py
@ceorourke ceorourke requested a review from a team May 26, 2026 20:35
def generate_incident_trigger_email_context(
project: Project,
organization: Organization,
alert_rule_serialized_response: AlertRuleSerializerResponse,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

by now these were not passed or passed as none

@ceorourke ceorourke merged commit 6caf163 into master May 26, 2026
62 checks passed
@ceorourke ceorourke deleted the ceorourke/rm-alertruleserializerresponse branch May 26, 2026 23:41
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.

2 participants