Turn top error-tracker issues into fix pull requests
Each week the agent takes the most frequent production errors, reproduces them, and opens pull requests with a fix and a regression test.
- Agent
- Devin
- Difficulty
- Intermediate
- Setup time
- About 30 min to set up
- Published
How it works
Connect the agent to the error tracker and the repository.
Each Monday it picks the top errors by user impact.
It reproduces each error with a failing test.
It opens a PR with the fix and links the issue.
The prompt
Replace anything in [brackets] with your own details.
Take the 5 Sentry issues with the most affected users in the last 7 days for the web-app project. For each: reproduce it with a failing test, fix the root cause, and open a pull request that links the Sentry issue, explains the cause in two sentences, and includes the test. Skip issues caused by third-party scripts and list them separately.Reported result
Weekly error volume down 40% over a month.
As reported by the source. Results depend on your setup and data.