AI is going to generate a lot of code from here on out, and a lot of bugs along with it. You already know this. We’ve talked about it before. The bigger challenge is making sure you don’t spend all your time fixing the broken code your agents write.

You’re going to need a system that makes it easier to fix those issues for you and fortunately, there are a lot of solutions out there for building automated workflows.

Recently, we’ve been exploring ways to automate our debugging and issue triage process here at Sentry. We also thought it might be helpful to pass along some of our tips and learnings in case you want to try it yourself.

It all starts with knowing what’s broken and why

If you’re going to have AI resolve issues for you, you first need to know when issues come up. No surprise: we use Sentry a lot here at Sentry. We’ve instrumented our application to emit all kinds of signals and metrics, which gives us detailed insight into how things are running.