Our Experience with CodeRabbit: A Game-Changer in Automated Code Review
Tags: codereview, programmingtools, softwaredevelopment, techreview
Published: 2024-06-16 03:37:39

---
title: Our Experience with CodeRabbit: A Game-Changer in Automated Code Review
published: true
date: 2024-06-15 06:35:32 UTC
tags: #CodeReview #ProgrammingTools #SoftwareDevelopment #TechReview
canonical_url: https://remejuan.substack.com/p/our-experience-with-coderabbit-a
cover_image: https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5370b5c5-ae2e-4e92-8dfa-f39a94ca0597_1622x810.jpeg
thumb_image: https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5370b5c5-ae2e-4e92-8dfa-f39a94ca0597_1622x810.jpeg
---

Over the past week, the team at Loop has been exploring the capabilities of CodeRabbit, an automated code review tool, I’ve long sought to enhance our code review process and catch those elusive errors that human reviewers might miss.

Initially, I was hesitant about the $15/user/month price tag, even though it’s one of the more affordable options available. However, after demonstrating its potential benefits to our business team, I was pleasantly surprised. They found the cost to be quite reasonable and encouraged us to proceed with the subscription.

![Preview of the coderabbit summary image](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5370b5c5-ae2e-4e92-8dfa-f39a94ca0597_1622x810.jpeg)

## Key Features and Benefits

### **Detailed Summaries** :

One of the standout features of CodeRabbit is its comprehensive summaries of code changes. It categorizes updates into sections like “New Features,” “Bug Fixes,” “Tests,” and “Chores.” This organization likely leverages commit prefixes, especially since we use commitlint.

### Walkthrough Comments:

CodeRabbit’s walkthrough comments offer brief summaries of changes on a per-file basis. When necessary, it includes precise flow diagrams, which are accurate enough to be saved and used in documentation.

![preview of the coderabbit walkthrough comment](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F441fab19-860a-42fe-a69f-ef7551e4eab6_1821x862.jpeg)

## Impressive Code Reviews

During our testing, CodeRabbit proved its worth by identifying a mistake in a DTO for one of our endpoints. A developer had mistakenly set “max_weight” as a Boolean instead of a number.

![preview of the comment left to show the suggestion for max weight](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdde4314e-2949-471b-a4d4-0a2790b06149_1599x723.jpeg)

Additionally, it recommended using the “@IsLatitude” and “@IsLongitude” decorators from “class-validator” instead of “@IsNumber,” which was a validation improvement I hadn’t considered.

![preview of coderabbit showing the suggestion for isLatitude](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4485b64-a90d-46df-bd85-7bb9514a0e82_1596x692.jpeg)

The tool also provided valuable suggestions to enhance readability, improve error messages for clarity, and optimise performance and billing for some of our Firebase calls.

![preview of the coderabbit comment for better error handling](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11099a70-8e47-497a-9c05-5d4042e85100_1595x598.jpeg)

## Balancing Cost and Value

I found myself weighing the tool’s cost against its utility. In a business context, what may seem expensive on a personal level can be justified by the efficiency and quality improvements it brings to the team.

![preivew of the coderabbit flow diagram](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F074f706e-b098-48a6-b404-7c6530d298a1_1677x697.jpeg)

## Final Thoughts

Overall, CodeRabbit is definitely worth a try for your team. It offers a full range of features for a 7-day trial period, which should be ample time to gauge its value within your workflows, assuming your team pushes code regularly.

In conclusion, our experience with CodeRabbit has been overwhelmingly positive, and it’s a tool we’re excited to continue using to improve our code review process.

Check them out at [https://coderabbit.ai](https://coderabbit.ai/)