Autofix (Beta) updates for March 2025
As we progress towards general availability for Autofix, we have been adding new features and made improvements on stability and result accuracy.
Autofix helps developers troubleshoot and resolve issues faster with AI-powered suggestions. It is currently available in Beta for Sentry users on a paid plan or trial.
Notable updates released over the last weeks include:
- Automatic Autofix runs (limited preview): We’re beginning to roll out tooling to automatically trigger Autofix runs on issues. This capability is currently in limited preview: please send us a note at autofix@sentry.io to get access.
- Use Autofix without GitHub integration or code mappings (experimental): We’ve enabled support for Autofix for organizations that do not have the GitHub integration or code mappings configured. This provides a way to get started with Autofix more quickly, at the cost of reduced result accuracy and quality.
- Updated models: At this time, Autofix uses Anthropic’s Claude 3.7 Sonnet for reasoning, and Google’s Gemini Flash 2.0 as research agent.
- Improved unit test generation flow: We are experimenting with a revamped flow where unit test generation is performed as an optional step after writing a code fix. This replaces the drop-down menu previously used to select what kind of task Autofix needed to execute.
- More context: Autofix now has more context, including visibility into Git commit history. Autofix will also ask fewer questions, avoiding prompting for information that may be already available in the error stack trace or in the codebase.
- Summary in the sidebar: The sidebar (Solutions Hub) will now dynamically fill with summaries of Autofix's root cause and solution.
- Better Pull Requests: When opening a PR automatically, titles and branch names are now more concise and accurate.
In addition to the features above, we have deployed various improvements to make Autofix’s suggestions and code changes more accurate and relevant.
Finally, we’ve squashed a number of bugs. Most notably:
- Autofix will not suggest deleting files when applying code changes
- Autofix should stop generating unit tests unless asked
- Fixed timeout issue when creating PRs/branches
Thanks to all the users that have provided feedback on Discord!
Follow our team to get updates and connect with us to share your experience on the Sentry Discord server, in the Autofix feature-feedback channel.