Turn Sentry bugs into GitHub issues for Copilot
Harrison sent noisy Sentry bugs to GitHub issues and let Copilot fix them, with mixed results on failing Vitest tests.
- What they did
- Harrison used Sentry’s issue-creation button on about 15 of the most annoying bugs, then assigned each GitHub issue to Copilot. He did this entirely in GitHub, without opening an IDE. When Copilot needed direction, he gave it a nudge; otherwise he let it work on its own. He also suggested adding the Sentry MCP server to the repo for more context.
- How it went
- Copilot handled about 60% of the fixes without help. A few changes were poor enough that Harrison closed them, and the rest took one or two follow-up prompts. It was especially unreliable on failing Vitest tests in CI, where it made a change that passed in its own run but left the overall setup worse. Rate limits and rebase conflicts also caused problems.
- Tips
- This works best when the bug report has enough context for the agent to reason from. Double-check test behavior in the same environment as CI, especially if Node versions differ.
Try it yourself with GitHub Copilot
Review these Sentry errors for [project/repo] and turn each likely-fixable one into a separate GitHub issue with the stack trace, how often it happens, and the most likely cause. Then assign each issue to GitHub Copilot to draft a fix, but stop and ask me before merging, closing, deleting, or shipping any change. If tests are failing, flag that clearly and do not guess at the cause without asking for more context. Use the Sentry MCP server if it is available for extra context.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Copilot to draft tests and check CI automatically
They let GitHub Copilot create tests and added automated checks in GitHub Actions, which reduced CI failures and sped up merges.
Have an agent bump a package and open a PR
A contributor used GitHub Copilot to refresh @github/copilot in an SDK repo and get a pull request opened with the dependency and lockfile changes.
Assign a GitHub issue to Copilot and review the PR
A developer used GitHub Copilot to tackle a backlog issue, then checked its branch choice, tests, and pull request before deciding what to merge.
Use Copilot to add tests in a .NET repo
The .NET team had Copilot write tests in dotnet/runtime, where it was strongest on test work but sometimes missed older frameworks and CI cases.
Use Copilot agent mode to finish a web app
Jonas used GitHub Copilot with Claude Sonnet to turn a game-score idea into a working app.
Split development work into phases before using Copilot
A developer plans features in stages first, then feeds the approved steps to GitHub Copilot instead of asking it to make all architecture decisions at once.