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(server): Disallow static mode for processing #4087

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Sep 30, 2024

We only support processing in managed mode, so we should make it a hard requirement for starting Relay.

Static and proxy mode only exists to put a proxy close to the SDKs in order to reduce latency and/or provide PII-scrubbing on premise before sending data to sentry. From Sentry's product docs:

Sentry Relay offers enterprise-grade data security by providing a standalone service that acts as a middle layer between your application and sentry.io.

These modes were never intended to run in combination with processing: true, and doing so resulted in undefined behavior.

See also #3146.

ref: getsentry/sentry#70473

@jjbayer jjbayer marked this pull request as ready for review September 30, 2024 10:53
@jjbayer jjbayer requested a review from a team as a code owner September 30, 2024 10:53
Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

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

Small description in the PR due to how this was never supported and likely not working correctly in case someone follows the link from the changelog would be good 👍

@jjbayer
Copy link
Member Author

jjbayer commented Sep 30, 2024

Small description in the PR due to how this was never supported and likely not working correctly in case someone follows the link from the changelog would be good 👍

@Dav1dde I updated the description, lmk what you think.

@Dav1dde
Copy link
Member

Dav1dde commented Sep 30, 2024

Nice, thanks!

@jjbayer jjbayer merged commit 466cf9b into master Sep 30, 2024
24 checks passed
@jjbayer jjbayer deleted the fix/server-managed-processing branch September 30, 2024 12:58
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.

3 participants