How it works
Review cycles measures the average number of completed human review cycles from the PR author’s perspective. A cycle completes when an eligible human non-approval review is followed by a verified PR content change before merge. Several reviews before the same change share one cycle. Further changes add no cycles until another eligible review occurs. Approval alone, feedback without a subsequent verified change, and changes without pending feedback contribute zero. Events at or after merge are excluded; a review and update with identical timestamps do not establish that the update followed the review. For example:What it indicates
- 1 completed cycle means feedback was followed by one verified revision
- Higher values may indicate PRs that need more rework, unclear requirements, or opportunities to improve code quality before review
Common causes of high review cycles
- Large or complex PRs that require multiple rounds of feedback
- Unclear requirements leading to revisions
- Code quality issues that need to be addressed
The following are excluded from this metric:
- Self-reviews (where the PR author reviews their own PR)
- Reviews that occur after the PR is merged
- Reviews from bots and AI tools (e.g., Copilot, CodeRabbit)
