Course navigation

Review a teammate’s PR

07 / Core workflow

Review a teammate’s PR

Set the top switch to PR code review and choose the repository.

CodeCrab in PR code review mode with a repository selected, showing the PR Review Result tab with findings on the diff

7.1 Find the PR

  • • Assigned to Me: PRs where you are an assignee or requested reviewer. Start here.
  • • Team PRs: every other open PR in the repo.
  • • My PRs: PRs you opened.

Use search, status filters and Authors to narrow the list.

7.2 Run the review

  1. Open a PR and click Start Review.
  2. Watch progress in Live Console.
  3. When it finishes, open PR Review Result.

7.3 Read the result

The verdict is Ready to Approve or Request Changes. Findings appear directly on relevant diff lines; general findings appear above the diff.

SeverityMeaning
CRITICALBlocks merge: security, data loss or broken behavior.
REQUIREDMust fix before merge.
OPTIONALWorth considering.
NITMinor or style.

Every finding includes the Problem, Why it matters, Suggested Fix and a paste-ready Suggested PR Comment.

7.4 Act on a finding

  • • Copy PR Comment copies the ready-to-paste comment.
  • • Open on GitHub opens the exact line in the Files tab.
  • • Investigate Finding opens a read-only deep dive with call traces, affected files and fix steps.
  • • Use Re-run Review when new commits arrive.

Investigate findings and GitLab merge requests

The same review workflow works for GitLab.com merge requests. CodeCrab never posts, approves or merges; copy comments into the hosting service yourself.

PR Context and posting on GitHub

When a review finishes, PR Context opens first with a short brief of the change; then click Continue to PR Review Result. Already reviewed PRs open the result directly.

Hover any diff line and click the blue + to write your own review note. It is saved as a local draft until you post or discard it.

Read PR Context →

Post findings and your own comments →

Investigate Finding now opens a guided walkthrough from the finding’s line across its call path. Use Next or arrow keys, ask follow-up questions, or hand the fix to your editor with Open in Cursor.

Critical and Required deep dives prepare in the background, two at a time; disable this in Settings → Models if desired. Optional and Nit findings are analyzed on demand.

Team PR reviews and deep dives read an isolated copy of that PR’s code under ~/.codecrab/worktrees, rather than changing your checked-out branch. The copy is cleaned up when the PR closes.

Walkthroughs, isolated copies and SSH fallbacks →

Review a GitLab merge request →

Submit review and new commits

When the CodeCrab review is done on GitHub, use Submit review to publish a GitHub review: Request changes is always available on someone else’s PR, and Approve only when the verdict is Ready to Approve. You can’t submit a review on your own PR, and it never merges.

Your own diff comments are posted directly through gh, with no AI agent involved. Once posted, the + no longer appears on that line; open the card to re-read it or open it on GitHub.

New commits on the PR? Click Re-run Review to review the latest version.