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

fix(post_process_group): Fix bug where has_reappared can be undefined #29004

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

wedamija
Copy link
Member

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

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 wedamija requested review from untitaker, ahmedetefy and a team September 30, 2021 19:04
@untitaker
Copy link
Member

For my understanding, the specific instances where this task crashes would have crashed earlier anyway, right? so it's not that we dropped more data because of this

@wedamija
Copy link
Member Author

For my understanding, the specific instances where this task crashes would have crashed earlier anyway, right? so it's not that we dropped more data because of this

Yeah, that sounds right to me. This has affected 18 events total, so it's not a huge problem.

@wedamija wedamija merged commit ce7c86b into master Sep 30, 2021
@wedamija wedamija deleted the danf/ppg_undefined_has_reappeared branch September 30, 2021 19:29
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 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.

3 participants