Skip to content

🐛 fix(aci): fix sentry app action handling for test notifications and action handling #91306

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

iamrajjoshi
Copy link
Member

this fixes 2 bugs

  1. We can't query for rule_id in test notifications b/c its -1
  2. loosened the isinstance check when invoking the noa since we can have integer values in sentry apps.

@iamrajjoshi iamrajjoshi self-assigned this May 8, 2025
@iamrajjoshi iamrajjoshi requested review from a team as code owners May 8, 2025 21:41
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 8, 2025
id = get_key_from_rule_data(f.rule, "workflow_id")
# Ignore test notifications
if int(id) != -1:
if features.has("organizations:workflow-engine-ui-links", event.group.organization):
Copy link
Member Author

Choose a reason for hiding this comment

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

flipped the order so it actually does what its suppose to

Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/sentry_apps/tasks/sentry_apps.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #91306       +/-   ##
===========================================
+ Coverage   68.69%   87.65%   +18.95%     
===========================================
  Files       10316    10320        +4     
  Lines      585531   585631      +100     
  Branches    22613    22613               
===========================================
+ Hits       402259   513318   +111059     
+ Misses     182844    71885   -110959     
  Partials      428      428               

@iamrajjoshi iamrajjoshi merged commit ef4eca6 into master May 9, 2025
61 checks passed
@iamrajjoshi iamrajjoshi deleted the raj/fix-sentry-app-action-handling branch May 9, 2025 14:04
Copy link

sentry-io bot commented May 19, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ ConnectionError: Error while reading from socket: (104, 'Connection reset by peer') sentry.tasks.post_process.post_process_group View Issue

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

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