Step 4: Get Intelligent Reviews
Open a pull request and watch the magic happen. Receive focused, actionable feedback within minutes.
What Happens
- Open a pull request on a connected repository
- diffray starts analyzing your changes (5-10 minutes)
- Status check appears: "diffray Code Review"
- Review comment is posted with findings
- 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 progressdiffray-review-completed— review finisheddiffray-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.