GitHub Copilot Code Review is Now Available

GitHub Copilot Code Review became generally available on April 4. You can access it through Visual Studio Code and GitHub. In Visual Studio Code Navigate to the Source Control section in the sidebar and find the Copilot Code Review button. Copilot will review the change list and provide comments. On GitHub Copilot Code Review is also available on GitHub. Similar to requesting a code review from others, you just need to request a code review from Copilot, and it will provide comments on your code. My Thoughts The Copilot Code Review experience is different from code completion. In most cases, I apply the code to my codebase without much thought and run the program, encountering bugs during execution. However, I have to read through the comments carefully since sometimes it reviews deletions in the code patch and identifies false positives. The generated code reviews are not always stable. It might identify two bugs in your code, but after fixing those and requesting another review, it might find another bug that should have been reported in the initial review. Last year, I started an AI Code Review project. It is very similar to Copilot Code Review, except you can use your own API key or self-deployed model. You can use it with GitHub Actions or host it as a GitHub App. It provides many options to customize your code review experience. I believe the AI code reviewer excels at performing initial code reviews. It can review your code from different perspectives, such as cybersecurity and integrity, which are often overlooked during AI code completion. However, do not rely on it entirely; a human review is still essential. Refs: Copilot code review now generally available Let AI do code review for you!

Apr 7, 2025 - 09:45
 0
GitHub Copilot Code Review is Now Available

GitHub Copilot Code Review became generally available on April 4. You can access it through Visual Studio Code and GitHub.

In Visual Studio Code

Navigate to the Source Control section in the sidebar and find the Copilot Code Review button.

Copilot code review

Copilot will review the change list and provide comments.

Code review comment

On GitHub

Copilot Code Review is also available on GitHub. Similar to requesting a code review from others, you just need to request a code review from Copilot, and it will provide comments on your code.

Code review on GitHub

My Thoughts

The Copilot Code Review experience is different from code completion. In most cases, I apply the code to my codebase without much thought and run the program, encountering bugs during execution. However, I have to read through the comments carefully since sometimes it reviews deletions in the code patch and identifies false positives.

The generated code reviews are not always stable. It might identify two bugs in your code, but after fixing those and requesting another review, it might find another bug that should have been reported in the initial review.

Last year, I started an AI Code Review project. It is very similar to Copilot Code Review, except you can use your own API key or self-deployed model. You can use it with GitHub Actions or host it as a GitHub App. It provides many options to customize your code review experience.

I believe the AI code reviewer excels at performing initial code reviews. It can review your code from different perspectives, such as cybersecurity and integrity, which are often overlooked during AI code completion. However, do not rely on it entirely; a human review is still essential.

Refs: