Skip to content

Conversation

@roggenkemper
Copy link
Member

some platforms aren't accepted as event platform so we were seeing other for python-flask projects for example. now, we will pass along the best match rather than other
fixes https://linear.app/getsentry/issue/ID-1130/some-issues-still-have-other-as-platform

@linear
Copy link

linear bot commented Dec 5, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 5, 2025
@roggenkemper roggenkemper marked this pull request as ready for review December 5, 2025 21:24
@roggenkemper roggenkemper merged commit 4833749 into master Dec 5, 2025
71 of 73 checks passed
@roggenkemper roggenkemper deleted the roggenkemper/betterplatformparse branch December 5, 2025 21:57
if platform in VALID_PLATFORMS:
return platform

base_platform = platform.split("-")[0]
Copy link
Member

Choose a reason for hiding this comment

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

the one in post_process also splits on -, but I leave it up to you whether to tack that on here

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.

4 participants