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(tasks): Safeguard post_process_group with try/except [WOR-1319] #28986

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

ahmedetefy
Copy link
Contributor

Adds a bunch of try/excepts in post_process_group to safeguard against alert being dropped in one of the functions logical components
ref: https://getsentry.atlassian.net/secure/RapidBoard.jspa?rapidView=91&projectKey=WOR&modal=detail&selectedIssue=WOR-1319

@ahmedetefy ahmedetefy changed the title ref(tasks): Safeguard post_process_group with try/except ref(tasks): Safeguard post_process_group with try/except [WOR-1319] Sep 30, 2021
@ahmedetefy ahmedetefy merged commit 2cd05e2 into master Sep 30, 2021
@ahmedetefy ahmedetefy deleted the ahmed-safeguard-post-process branch September 30, 2021 10:06
wedamija added a commit that referenced this pull request Sep 30, 2021
This was introduced in #28986. If an exception occurs when
calling `process_snoozes` we never end up defining `has_reappeared`, which causes an error later on.

I tried to find instances of `Failed to add group to inbox for non-reprocessed groups` errors in
Sentry and couldn't. I'm not sure why they're not present, but I can't see any other way that
`has_reappeared` could be undefined.

Fixes SENTRY-SAR
wedamija added a commit that referenced this pull request Sep 30, 2021
…ed (#29004)

This was introduced in #28986. If an exception occurs when
calling `process_snoozes` we never end up defining `has_reappeared`, which causes an error later on.

I tried to find instances of `Failed to add group to inbox for non-reprocessed groups` errors in
Sentry and couldn't. I'm not sure why they're not present, but I can't see any other way that
`has_reappeared` could be undefined.

Fixes SENTRY-SAR
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants