Mermaid diagrams, linked issues, and improved error handling
Features
- We are now using the latest version of Sonnet 3.5 for many of our queries - giving more accurate and helpful results.
- Add config to allow you to switch on and off all aspects of the AI and rules-based reviews
- Refined and improved our documentation review
- We now automatically find issues in GitHub that might be related to your PR. Check these out to get more context when reviewing.
- Our review guide now includes Mermaid diagrams! These are a great way to visualise your code changes.
- You can now route all requests in both the IDE and the bot to Anthropic - this will let you take advantage of our zero-retention agreement with Anthropic. Just let us know if you’d like to make the switch here.
- You can now insert a PR summary into your review by mentioning
@sourcery-ai summary
in your review. You can also add this in to your summary template and we’ll insert it in-place. - You can now request that Sourcery generate a title for your PR. Just mention
@sourcery-ai
in your title. - If you’re working in GitHub we now look for linked issues in the PR body and check whether they’re implemented in the PR. This is a great way to ensure that nothing’s been missed.
- We’ve reworked and improved our review instructions - we are now much better at strictly following the instructions, heavily reducing the false positive rate.
- We can now help you fix CI failures! If there’s a CI failure on your PR we will post a comment with an explanation, the logs and suggested fixes.
Bug Fixes
- Various fixes to our file filtering logic
- Refined our security review to reduce false positives
- Improved error handling in the bot
- Lots of work under the hood to reduce the number of noisy comments
- Address errors in the bot replying to users
- Fix validation review error in IDE reviews