DEV Community

Cover image for Avoiding bug report chaos: My solution (with some AI help)
PaulPlay
PaulPlay

Posted on

Avoiding bug report chaos: My solution (with some AI help)

Collecting bug reports can be quite painful. Especially if you're getting countless lackluster reports, duplicates and outright spam.

As my game projects have grown over time, I've been getting more and more bug reports – so many, in fact, that it started to become overwhelming.

If there's something you need to know about the audience of most browser games, it's that players are usually quite young and unfamiliar with development workflows. I used to handle bug reporting via Discord, which meant that in order to get all the info I needed to even start debugging, I had to go through a lot of back-and-forth with people to obtain necessary details bit by bit.

I've looked into solutions like Sentry or Highlight.io – and while they seem great (although pricey!) for collecting error logs and spotting API bugs, they don't work all that well for the kinds of bugs that only people can really detect. I'm talking about UI/UX problems, silent failures, behavioral bugs, or security flaws.

I had an idea in mind:
What if there was a customizable bug report form with nice UX that incorporates LLMs to...

  • Go through the GitHub issues to find potential duplicates and show them to users who are currently writing a report (+ merge if they choose to)
  • Ask for crucial missing details
  • Prevent spam and close reports about bugs that are user-error
  • Add issues to GitHub automatically
  • Pick a priority (P1 to P4)
  • Enforce a clear structure

After some tinkering with OpenRouter + SvelteKit, I got a first prototype ready and was pleasantly surprised by how well it worked!

I figured this idea was definitely worth investing more time into. I added ways to customize this form and even add a custom prompt addition so that you can 'inform' the form about your specific application – and the kinds of issue reports that you want it to close.

This is still in its early stage, but if you think this could be something for you, please give it a try! I believe you really won't be disappointed by 'Bugspot'. It's free or super cheap, depending on your site's or app's scale.

The code is public on GitHubyou can self-host if you want to.

Thanks for reading!

I'd love to know how you approach bug reports in your application – do you have a special integration, something off-the-shelf that works for you, or a completely custom system?

Top comments (0)