-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Investigate and fix projects with no platform #82176
Comments
Thanks for reporting this, @lobsterkatie ! This is an intriguing issue, and it got me curious. After investigating, I found that projects created or updated via the Sentry user interface always include a platform, with 'other' as the default. The issue very likely occurs when users create projects by sending a it was possible to replicate the issue and noticed that, in most cases, users rely on infrastructure management tools like Terraform to create projects, which confirms my assumption. I agree that users won't get the most out of Sentry if the platform for a project is |
On the other hand, these users are likely experienced with Sentry and know what they're doing. While |
Regarding the fill-in platforms for broken projects, it’s probably fine to leave them as they are. As I mentioned, who created those projects are probably experienced with Sentry and created them outside of our UI. |
Ahhh... I hadn't thought about API-based project creation. That makes a lot of sense. In a perfect world, yes, I'd say that field should be required, though since we don't version our API I'm not sure how we'd go about making that change without breaking people's terraform scripts. And I agree that just defaulting to I disagree about leaving existing projects as they are, though, for a few reasons:
Fixing existing projects wouldn't solve the problem of new broken projects getting created, but maybe we could turn it into a cron job, or maybe once we've fixed existing ones, we could add it to the "sent first event" code, so that going forward, projects without platforms would just always take their platform from the first event. Platform auto-detection could even be a feature we advertise. TL;DR - Good job figuring out how this is happening, but I'm of the strong opinion that we should in fact fix the data. This ticket came out of a conversation with Matt in our grouping sync, so lemme bring it up again on Monday and see what he wants to do. |
Somehow, projects are either getting created with no platform (null or empty string) or their platform is getting overwritten with null or the empty string. As of this issue, this applies to ~27K projects.
To do:
other
.)Here is a query showing the last time a project was created with each platform (the platforms are normalized quite a bit). The projects we're interested in are the
unknown
ones. Currently, it's the 7th most popular platform... not great.The text was updated successfully, but these errors were encountered: