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

Add a check for existing issues for plugin errors #977

Open
karaggeorge opened this issue Feb 13, 2021 · 0 comments
Open

Add a check for existing issues for plugin errors #977

karaggeorge opened this issue Feb 13, 2021 · 0 comments

Comments

@karaggeorge
Copy link
Member

Currently we check for if an issue exists by Sentry issue ID and the label Sentry issue to avoid making duplicate issues when it comes to Kap errors. But when the issue is connected to a plugin we just link to the new issue page with the title/body filled in. So it's really easy for users to just click submit without checking for existing issues.

We should do something similar for plugins, but instead of Sentry errors or labels, we can just check the title/body with a simple GitHub api search, hosted on a lambda similar to the Kap one. The title/body should match for same errors unless the user changes it, since we clean any user specific paths with clean-stack, so I think it'll generally work. If we find a matching issue, we can just link them to that existing issue same as we do for Kap.

Trying to avoid this:

Screen Shot 2021-02-13 at 11 11 34 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants