How it works
- A pull request is opened or updated and your CI/CD pipelines run.
- CodeRabbit waits for pipeline results to become available.
- CodeRabbit reads the failure logs and identifies the root cause.
- Inline comments with suggested fixes are posted on the relevant lines of code.
Supported platforms
| Platform | How CodeRabbit reads pipeline output |
|---|---|
| GitHub Actions | Via GitHub Checks |
| GitLab CI/CD | Via GitLab pipeline API, including GitLab Advanced Security SAST/DAST findings |
| CircleCI | Via CircleCI pipeline API (requires integration) |
| Azure DevOps Pipelines | Via Azure DevOps Checks API |
github-checks tool configuration.
What failures are analyzed
CI/CD pipeline analysis covers a broad range of failure types:- Build failures β Docker, Node.js, Java, Python, Go module errors
- Test failures β unit, integration, and end-to-end test output
- Security scan findings β SAST and DAST output from tools like GitLab Advanced Security or custom pipeline steps
- Infrastructure-as-code validation β Terraform, Kubernetes, Ansible, and CloudFormation errors
- Linter and code quality output β any linter running as a pipeline step
Configuration
For GitHub Actions, use thegithub-checks tool configuration to control whether GitHub Checks data is included in reviews.
For all other platforms (GitLab, CircleCI, Azure DevOps), CodeRabbit reads pipeline output automatically with no additional configuration required.
Whatβs next
GitHub Checks configuration
Configure whether GitHub Actions check results are included in pipeline analysis.
CircleCI integration
Connect your CircleCI account so CodeRabbit can read pipeline failure logs and post inline fix suggestions.
Pre-Merge Checks
Define custom quality gates that block merges until your standards are met.