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(normalization): Skip normalize processor in renormalization #2744

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

iker-barriocanal
Copy link
Contributor

This PR skips running NormalizeProcessor, formerly light_normalize_event, when is_renormalize flag is enabled.

In previous normalization PRs, I wrongly assumed normalization always runs sequentially: light normalization and store normalization in relays during ingestion, and renormalization in Sentry. This is not the case for tests in sentry, where renormalization is called with incomplete event payloads, meaning renormalization doesn't only have to consider idempotent actions but the sentry tests. For example, this test fails on lib-relay bump in CI here.

@iker-barriocanal iker-barriocanal self-assigned this Nov 20, 2023
@iker-barriocanal iker-barriocanal requested review from a team and jan-auer November 20, 2023 12:37
@iker-barriocanal iker-barriocanal merged commit 9b4f3cf into master Nov 20, 2023
20 checks passed
@iker-barriocanal iker-barriocanal deleted the iker/fix/re-norm branch November 20, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants