Skip to main content

Step 4: Get Intelligent Reviews

Open a pull request and watch the magic happen. Receive focused, actionable feedback within minutes.

What Happens

  1. Open a pull request on a connected repository
  2. diffray starts analyzing your changes (5-10 minutes)
  3. Status check appears: "diffray Code Review"
  4. Review comment is posted with findings
  5. Labels update to show completion

Review Output

GitHub Check

A status check shows review progress:

  • 🟡 Pending — review starting
  • 🟡 In Progress — analysis running
  • Success — review complete
  • Failure — error occurred

PR Comment

The review comment includes:

  • Summary — overview of findings
  • Issues by severity — critical, major, minor
  • Code suggestions — inline recommendations
  • Links to specific lines — click to jump to the code

Labels

diffray adds labels to track status:

  • diffray-review-started — review in progress
  • diffray-review-completed — review finished
  • diffray-review-failed — error occurred

Example Review

## 🔍 diffray Code Review

Found **3 issues** in this PR:

### 🔴 Critical (1)
- **SQL Injection vulnerability** in `src/api/users.ts:45`
Unparameterized query could allow injection attacks.

### 🟡 Major (2)
- **Missing error handling** in `src/services/auth.ts:89`
- **Performance issue** in `src/utils/parse.ts:23`
N+1 query pattern detected.

You're all set! Start reviewing your PRs with AI-powered insights.

Create Your First PR Review