Troubleshoot Code Review
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -1,4 +1,4 @@
-When [Code Review](</docs/en/code-review>) doesn’t do what you expect on a pull request, start with the **Claude Code Review** check run. Its title says how far the review got.
+To troubleshoot [Code Review](</docs/en/code-review>) on a pull request, start with the **Claude Code Review** check run. Its title says how far the review got.
## Check how far the review got
@@ -6,11 +6,11 @@
Check run title| What it means| What to do
---|---|---
-**Code review queued…** or **Code review in progress…**| The review hasn’t finished| Wait for the title to change
-**Code review found no issues**| The review finished and posted no findings| If this isn’t the pull request’s first review, look in the review body for a count of [findings the review left out](</docs/en/code-review-pull-requests#what-a-later-review-covers>). Otherwise, nothing
+**Code review queued…** or **Code review in progress…**| The review is waiting to start or running| Wait for the title to change
+**Code review found no issues**| The review finished and posted no findings| If the pull request had an earlier review, look in the review body for a count of [findings the review omitted](</docs/en/code-review-pull-requests#what-a-later-review-covers>)
A title that says issues were found| The review finished with findings| If you don’t see them on the diff, see Find issues that aren’t showing as inline comments
-**Code review skipped — no new changes**| An automatic review didn’t run on your latest push| To get a review anyway, comment `@claude review`
-**Code review not repeated — earlier findings still open**| An automatic review didn’t run on your latest push, and Important findings from the earlier review are still open| Push a fix, or to get a review anyway, comment `@claude review`. See [When a push keeps the earlier result](</docs/en/code-review-pull-requests#when-a-push-keeps-the-earlier-result>)
+**Code review skipped — no new changes**| Code Review kept the result of an earlier review after your latest push| To get a review anyway, comment `@claude review`
+**Code review not repeated — earlier findings still open**| Code Review kept the result of an earlier review after your latest push, and Important findings from that review are still open| Push a fix, or to get a review anyway, comment `@claude review`. See [When a push keeps the earlier result](</docs/en/code-review-pull-requests#when-a-push-keeps-the-earlier-result>)
**Code review failed** or **Code review timed out**| The review didn’t finish| To run it again, see Retrigger a failed or timed-out review
**Code review not run: no policy rule uses it**| An automatic review didn’t run, because of the repository’s Claude Approvals policy| See Code review not run: no policy rule uses it
**Code review declined**| The review didn’t run| Read the check run’s summary. If it names a budget or a spend limit, see Review didn’t run and the PR shows a budget message
@@ -18,14 +18,14 @@
## A review didn’t start
-Check these cases when no **Claude Code Review** check run appears, or when Claude posts a comment saying the review was skipped. One case covers a check run whose title says that no review ran.
+Use these cases when no **Claude Code Review** check run appears, or when Claude posts a comment saying the review was skipped. One case covers a check run whose title says that no review ran.
### A comment command didn’t start a review
-After you comment `@claude review`, look for a **Claude Code Review** check run titled **Code review queued…** or **Code review in progress…** on the pull request. An 👀 reaction on your comment doesn’t confirm a review is coming. If no check run appears, check for each of these causes:
+After you comment `@claude review`, look for a **Claude Code Review** check run titled **Code review queued…** or **Code review in progress…** on the pull request. An 👀 reaction on your comment doesn’t confirm a review is coming. If no check run appears, look for each of these causes:
- * **Code Review isn’t on for this repository** : Claude posts no comment and no check run in response to the command. Ask an Owner to [add the repository](</docs/en/code-review-setup#add-more-repositories>). Where a [Claude Approvals](</docs/en/approvals>) policy reads Claude’s review, a new comment with only `@claude review` can still start one.
- * **The comment doesn’t meet a condition** : it was an inline comment or a review body rather than a new top-level comment, or the command wasn’t at the start of the comment. Editing an earlier comment instead of posting a new one doesn’t count either, and the pull request has to be open. See the [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>) and post a new comment that meets them.
+ * **Code Review isn’t on for this repository** : ask an Owner to [add the repository](</docs/en/code-review-setup#add-more-repositories>). If a [Claude Approvals](</docs/en/approvals>) policy reads Claude’s review, a new comment with only `@claude review` can still start one.
+ * **The comment doesn’t meet a condition** : if you put the command in an inline comment, a review body, or an edit, post it again at the start of a new top-level comment. For the other requirements, see the [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>).
* **You don’t have write access** : you need write, maintain, or admin permission on the repository. On a pull request from a fork, the permission that counts is on the base repository. Unless the pull request is yours, Claude can reply with a [tip](</docs/en/code-review-setup#turn-tip-comments-on-or-off>): “No review was started: manual reviews can only be requested by someone with write access to this repository.” Ask someone with write access to comment instead.
* **The budget ran out** : Claude posts a comment that begins with “⚠️ Code review skipped”. See Review didn’t run and the PR shows a budget message.
@@ -45,18 +45,18 @@
## Retrigger a failed or timed-out review
-If the check run’s summary says “The review session was interrupted before it could finish. A new review of this commit has been queued automatically.”, you don’t need to do anything. That review is retried once automatically. Otherwise, when the check run’s title is **Code review failed** or **Code review timed out** , run the review again with a comment or a re-run:
+If the check run’s summary says “The review session was interrupted before it could finish. A new review of this commit has been queued automatically.”, wait for the new review. Otherwise, when the check run’s title is **Code review failed** or **Code review timed out** , run the review again with a comment or a re-run:
- * **Comment`@claude review`**: post it as a top-level comment on the pull request. This starts a fresh review without subscribing the pull request to future pushes.
- * **Click Re-run** : if the pull request isn’t [from a fork](</docs/en/code-review-pull-requests#review-drafts-and-pull-requests-from-forks>), click **Re-run** on the **Claude Code Review** check in GitHub’s **Checks** tab. The re-run covers the pull request’s current head commit and doesn’t subscribe the pull request either.
+ * **Comment`@claude review`**: post it as a top-level comment on the pull request.
+ * **Click Re-run** : if the pull request isn’t [from a fork](</docs/en/code-review-pull-requests#review-drafts-and-pull-requests-from-forks>), click **Re-run** on the **Claude Code Review** check in GitHub’s **Checks** tab.
## Find issues that aren’t showing as inline comments
If the check run title says issues were found but you don’t see inline review comments on the diff, look in these other locations where findings are surfaced:
- * **Check run Details** : click **Details** next to the **Claude Code Review** check in the **Checks** tab. The severity table lists findings with their file, line, and summary regardless of whether the inline comment was accepted.
+ * **Check run table** : open the **Checks** tab and select **Claude Code Review**. The severity table lists findings with their file, line, and summary, including findings whose inline comment GitHub rejected.
* **Files changed annotations** : open the **Files changed** tab on the PR. A finding that has a line but wasn’t posted as an inline comment appears there as an annotation on the lines concerned.
- * **Whole-file comments** : open the **Conversation** tab on the PR and look for a comment from Claude on a whole file instead of on a line
+ * **Whole-file comments** : open the **Conversation** tab on the PR and look for a comment from Claude on a whole file
* **Review body** : in the **Conversation** tab, look for an **Additional findings** heading in Claude’s review
## The check run mentions REVIEW.md
@@ -64,7 +64,7 @@
These are four of the messages a check run can carry about `REVIEW.md`:
* **“This review applied the repository’s review instructions (REVIEW.md) from its default branch, which is not protected against direct pushes.”** : the review read the root file only. See [Which branch REVIEW.md is read from](</docs/en/code-review-customize#which-branch-review-md-is-read-from>) for what protecting the branch changes.
- * **“were not applied to this review: branch protection could not be confirmed”** : the review read no `REVIEW.md`.
+ * **“were not applied to this review: branch protection could not be confirmed”** : the review skipped every `REVIEW.md`.
* **“they link to a file this pull request modifies, or carry more links than the review checks”** : the review skipped the root `REVIEW.md`, or the number of subdirectory `REVIEW.md` files the message gives. Check the skipped file for each cause. For the root `REVIEW.md`, check the [files it includes](</docs/en/code-review-customize#include-other-files-in-review-md>) too:
* **Too many links** : it carries more than 64 Markdown links. Cut links to [64 or fewer](</docs/en/code-review-customize#include-other-files-in-review-md>).
* **A link the review can’t parse** : it has a malformed Markdown link. Fix or remove the link.
@@ -77,11 +77,11 @@
### A repository isn’t listed in Add a repository
-Search for the repository by name first, because the dialog doesn’t load a long list in full. The dialog lists a repository only if the Claude GitHub App can access it. Click **Install GitHub App** and give the app access to the repository. When no repositories are listed, **Install GitHub App** is a button in the dialog. Otherwise, it’s at the bottom of the dialog’s GitHub organization filter menu.
+Search for the repository by name first, because the dialog loads only part of a long list. The dialog lists a repository only if the Claude GitHub App can access it. Click **Install GitHub App** and give the app access to the repository. When no repositories are listed, **Install GitHub App** is a button in the dialog. Otherwise, it’s at the bottom of the dialog’s GitHub organization filter menu.
### No check run appears on the test pull request
-In [**Organization settings > Claude Ship**](<https://claude.ai/admin-settings/claude-code#code-review>), confirm that the switch under **Review** is on and that the repository is listed under **Repositories**. Also confirm that the Claude GitHub App has access to it. Automatic reviews skip draft pull requests, and a repository set to **Manual (@claude review)** needs an `@claude review` comment to start the first review.
+In [**Organization settings > Claude Ship**](<https://claude.ai/admin-settings/claude-code#code-review>), confirm that the switch under **Review** is on and that the repository is listed under **Repositories**. Also confirm that the Claude GitHub App has access to it. In a repository with automatic reviews, mark a draft pull request ready for review. In a repository set to **Manual (@claude review)** , comment `@claude review` to start the first review.
## Related resources
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -12,21 +12,26 @@
**Code review skipped — no new changes**| An automatic review didn’t run on your latest push| To get a review anyway, comment `@claude review`
**Code review not repeated — earlier findings still open**| An automatic review didn’t run on your latest push, and Important findings from the earlier review are still open| Push a fix, or to get a review anyway, comment `@claude review`. See [When a push keeps the earlier result](</docs/en/code-review-pull-requests#when-a-push-keeps-the-earlier-result>)
**Code review failed** or **Code review timed out**| The review didn’t finish| To run it again, see Retrigger a failed or timed-out review
+**Code review not run: no policy rule uses it**| An automatic review didn’t run, because of the repository’s Claude Approvals policy| See Code review not run: no policy rule uses it
**Code review declined**| The review didn’t run| Read the check run’s summary. If it names a budget or a spend limit, see Review didn’t run and the PR shows a budget message
No check run| No review started| Comment `@claude review`. If no check run appears after that, see A comment command didn’t start a review
## A review didn’t start
-Check these cases when no **Claude Code Review** check run appears, or when Claude posts a comment saying the review was skipped.
+Check these cases when no **Claude Code Review** check run appears, or when Claude posts a comment saying the review was skipped. One case covers a check run whose title says that no review ran.
### A comment command didn’t start a review
After you comment `@claude review`, look for a **Claude Code Review** check run titled **Code review queued…** or **Code review in progress…** on the pull request. An 👀 reaction on your comment doesn’t confirm a review is coming. If no check run appears, check for each of these causes:
- * **Code Review isn’t on for this repository** : Claude posts no comment and no check run in response to the command. Ask an Owner to [add the repository](</docs/en/code-review-setup#add-more-repositories>).
+ * **Code Review isn’t on for this repository** : Claude posts no comment and no check run in response to the command. Ask an Owner to [add the repository](</docs/en/code-review-setup#add-more-repositories>). Where a [Claude Approvals](</docs/en/approvals>) policy reads Claude’s review, a new comment with only `@claude review` can still start one.
* **The comment doesn’t meet a condition** : it was an inline comment or a review body rather than a new top-level comment, or the command wasn’t at the start of the comment. Editing an earlier comment instead of posting a new one doesn’t count either, and the pull request has to be open. See the [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>) and post a new comment that meets them.
* **You don’t have write access** : you need write, maintain, or admin permission on the repository. On a pull request from a fork, the permission that counts is on the base repository. Unless the pull request is yours, Claude can reply with a [tip](</docs/en/code-review-setup#turn-tip-comments-on-or-off>): “No review was started: manual reviews can only be requested by someone with write access to this repository.” Ask someone with write access to comment instead.
* **The budget ran out** : Claude posts a comment that begins with “⚠️ Code review skipped”. See Review didn’t run and the PR shows a budget message.
+
+### Code review not run: no policy rule uses it
+
+This title on the **Claude Code Review** check means that the repository has a [Claude Approvals](</docs/en/approvals>) policy file, and the policy asks for no review on this pull request. To get a review anyway, comment `@claude review` on the pull request. To bring automatic reviews back, [name Code Review in a rule that has a `verdict` and matches the changed files](</docs/en/approvals-policy#advisory>).
### Review didn’t run and the PR shows a budget message
@@ -76,7 +81,7 @@
### No check run appears on the test pull request
-Confirm that **Allow code review** is on, that the repository is listed under **Repositories** in the **Code review** section, and that the Claude GitHub App has access to it. Automatic reviews skip draft pull requests, and a repository set to **Manual (@claude review)** needs an `@claude review` comment to start the first review.
+In [**Organization settings > Claude Ship**](<https://claude.ai/admin-settings/claude-code#code-review>), confirm that the switch under **Review** is on and that the repository is listed under **Repositories**. Also confirm that the Claude GitHub App has access to it. Automatic reviews skip draft pull requests, and a repository set to **Manual (@claude review)** needs an `@claude review` comment to start the first review.
## Related resources
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -51,7 +51,8 @@
* **Check run Details** : click **Details** next to the **Claude Code Review** check in the **Checks** tab. The severity table lists findings with their file, line, and summary regardless of whether the inline comment was accepted.
* **Files changed annotations** : open the **Files changed** tab on the PR. A finding that has a line but wasn’t posted as an inline comment appears there as an annotation on the lines concerned.
- * **Review body** : findings that have no inline location, or that fall outside the current diff, appear under an **Additional findings** heading in the review body.
+ * **Whole-file comments** : open the **Conversation** tab on the PR and look for a comment from Claude on a whole file instead of on a line
+ * **Review body** : in the **Conversation** tab, look for an **Additional findings** heading in Claude’s review
## The check run mentions REVIEW.md
Show diff (127 lines)
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -1,10 +1,6 @@
When [Code Review](</docs/en/code-review>) doesn’t do what you expect on a pull request, start with the **Claude Code Review** check run. Its title says how far the review got.
-##
-
-
-
-Check how far the review got
+## Check how far the review got
Find the **Claude Code Review** check run on your pull request, then match its title to one of these common ones:
@@ -19,19 +15,11 @@
**Code review declined**| The review didn’t run| Read the check run’s summary. If it names a budget or a spend limit, see Review didn’t run and the PR shows a budget message
No check run| No review started| Comment `@claude review`. If no check run appears after that, see A comment command didn’t start a review
-##
-
-
-
-A review didn’t start
+## A review didn’t start
Check these cases when no **Claude Code Review** check run appears, or when Claude posts a comment saying the review was skipped.
-###
-
-
-
-A comment command didn’t start a review
+### A comment command didn’t start a review
After you comment `@claude review`, look for a **Claude Code Review** check run titled **Code review queued…** or **Code review in progress…** on the pull request. An 👀 reaction on your comment doesn’t confirm a review is coming. If no check run appears, check for each of these causes:
@@ -40,11 +28,7 @@
* **You don’t have write access** : you need write, maintain, or admin permission on the repository. On a pull request from a fork, the permission that counts is on the base repository. Unless the pull request is yours, Claude can reply with a [tip](</docs/en/code-review-setup#turn-tip-comments-on-or-off>): “No review was started: manual reviews can only be requested by someone with write access to this repository.” Ask someone with write access to comment instead.
* **The budget ran out** : Claude posts a comment that begins with “⚠️ Code review skipped”. See Review didn’t run and the PR shows a budget message.
-###
-
-
-
-Review didn’t run and the PR shows a budget message
+### Review didn’t run and the PR shows a budget message
When your organization’s budget can’t cover a review, Code Review skips the review and Claude posts a comment on the pull request that begins with “⚠️ Code review skipped”. In some of these cases a check run titled **Code review declined** also appears. The comment links [claude.ai/admin-settings/usage](<https://claude.ai/admin-settings/usage>), where an admin restores the budget. Its wording tells you which limit was reached:
@@ -54,22 +38,14 @@
After the budget is restored, comment `@claude review` on the pull request to get the review that was skipped. The [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>) apply, so the commenter needs write access.
-##
-
-
-
-Retrigger a failed or timed-out review
+## Retrigger a failed or timed-out review
If the check run’s summary says “The review session was interrupted before it could finish. A new review of this commit has been queued automatically.”, you don’t need to do anything. That review is retried once automatically. Otherwise, when the check run’s title is **Code review failed** or **Code review timed out** , run the review again with a comment or a re-run:
* **Comment`@claude review`**: post it as a top-level comment on the pull request. This starts a fresh review without subscribing the pull request to future pushes.
* **Click Re-run** : if the pull request isn’t [from a fork](</docs/en/code-review-pull-requests#review-drafts-and-pull-requests-from-forks>), click **Re-run** on the **Claude Code Review** check in GitHub’s **Checks** tab. The re-run covers the pull request’s current head commit and doesn’t subscribe the pull request either.
-##
-
-
-
-Find issues that aren’t showing as inline comments
+## Find issues that aren’t showing as inline comments
If the check run title says issues were found but you don’t see inline review comments on the diff, look in these other locations where findings are surfaced:
@@ -77,11 +53,7 @@
* **Files changed annotations** : open the **Files changed** tab on the PR. A finding that has a line but wasn’t posted as an inline comment appears there as an annotation on the lines concerned.
* **Review body** : findings that have no inline location, or that fall outside the current diff, appear under an **Additional findings** heading in the review body.
-##
-
-
-
-The check run mentions REVIEW.md
+## The check run mentions REVIEW.md
These are four of the messages a check run can carry about `REVIEW.md`:
@@ -93,35 +65,19 @@
* **A link to a changed file** : it links to a file or folder this pull request changes, and the review couldn’t leave out only the lines with that link. Write the rule in `REVIEW.md` itself.
* **“include line(s) in the root REVIEW.md were skipped on this review”** : your root `REVIEW.md` applied, but the files those lines name didn’t. Check the lists under [Include other files in REVIEW.md](</docs/en/code-review-customize#include-other-files-in-review-md>) and, for a skill, under [Include a skill file](</docs/en/code-review-customize#include-a-skill-file>).
-##
-
-
-
-Setup problems
+## Setup problems
These cases come up for an Owner while [setting up Code Review](</docs/en/code-review-setup>).
-###
-
-
-
-A repository isn’t listed in Add a repository
+### A repository isn’t listed in Add a repository
Search for the repository by name first, because the dialog doesn’t load a long list in full. The dialog lists a repository only if the Claude GitHub App can access it. Click **Install GitHub App** and give the app access to the repository. When no repositories are listed, **Install GitHub App** is a button in the dialog. Otherwise, it’s at the bottom of the dialog’s GitHub organization filter menu.
-###
-
-
-
-No check run appears on the test pull request
+### No check run appears on the test pull request
Confirm that **Allow code review** is on, that the repository is listed under **Repositories** in the **Code review** section, and that the Claude GitHub App has access to it. Automatic reviews skip draft pull requests, and a repository set to **Manual (@claude review)** needs an `@claude review` comment to start the first review.
-##
-
-
-
-Related resources
+## Related resources
* [Read and request reviews on a pull request](</docs/en/code-review-pull-requests>): what the findings and the check run mean, and the comment commands
* [Set up Code Review](</docs/en/code-review-setup>): for Owners, turn on Code Review and manage repositories
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -11,7 +11,7 @@
Check run title| What it means| What to do
---|---|---
**Code review queued…** or **Code review in progress…**| The review hasn’t finished| Wait for the title to change
-**Code review found no issues**| The review finished and found nothing to flag| Nothing
+**Code review found no issues**| The review finished and posted no findings| If this isn’t the pull request’s first review, look in the review body for a count of [findings the review left out](</docs/en/code-review-pull-requests#what-a-later-review-covers>). Otherwise, nothing
A title that says issues were found| The review finished with findings| If you don’t see them on the diff, see Find issues that aren’t showing as inline comments
**Code review skipped — no new changes**| An automatic review didn’t run on your latest push| To get a review anyway, comment `@claude review`
**Code review not repeated — earlier findings still open**| An automatic review didn’t run on your latest push, and Important findings from the earlier review are still open| Push a fix, or to get a review anyway, comment `@claude review`. See [When a push keeps the earlier result](</docs/en/code-review-pull-requests#when-a-push-keeps-the-earlier-result>)
@@ -83,7 +83,7 @@
The check run mentions REVIEW.md
-These are three of the messages a check run can carry about `REVIEW.md`:
+These are four of the messages a check run can carry about `REVIEW.md`:
* **“This review applied the repository’s review instructions (REVIEW.md) from its default branch, which is not protected against direct pushes.”** : the review read the root file only. See [Which branch REVIEW.md is read from](</docs/en/code-review-customize#which-branch-review-md-is-read-from>) for what protecting the branch changes.
* **“were not applied to this review: branch protection could not be confirmed”** : the review read no `REVIEW.md`.
@@ -91,6 +91,7 @@
* **Too many links** : it carries more than 64 Markdown links. Cut links to [64 or fewer](</docs/en/code-review-customize#include-other-files-in-review-md>).
* **A link the review can’t parse** : it has a malformed Markdown link. Fix or remove the link.
* **A link to a changed file** : it links to a file or folder this pull request changes, and the review couldn’t leave out only the lines with that link. Write the rule in `REVIEW.md` itself.
+ * **“include line(s) in the root REVIEW.md were skipped on this review”** : your root `REVIEW.md` applied, but the files those lines name didn’t. Check the lists under [Include other files in REVIEW.md](</docs/en/code-review-customize#include-other-files-in-review-md>) and, for a skill, under [Include a skill file](</docs/en/code-review-customize#include-a-skill-file>).
##
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -14,6 +14,7 @@
**Code review found no issues**| The review finished and found nothing to flag| Nothing
A title that says issues were found| The review finished with findings| If you don’t see them on the diff, see Find issues that aren’t showing as inline comments
**Code review skipped — no new changes**| An automatic review didn’t run on your latest push| To get a review anyway, comment `@claude review`
+**Code review not repeated — earlier findings still open**| An automatic review didn’t run on your latest push, and Important findings from the earlier review are still open| Push a fix, or to get a review anyway, comment `@claude review`. See [When a push keeps the earlier result](</docs/en/code-review-pull-requests#when-a-push-keeps-the-earlier-result>)
**Code review failed** or **Code review timed out**| The review didn’t finish| To run it again, see Retrigger a failed or timed-out review
**Code review declined**| The review didn’t run| Read the check run’s summary. If it names a budget or a spend limit, see Review didn’t run and the PR shows a budget message
No check run| No review started| Comment `@claude review`. If no check run appears after that, see A comment command didn’t start a review
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -82,10 +82,14 @@
The check run mentions REVIEW.md
-Two of the messages a check run can carry about `REVIEW.md` concern branch protection:
+These are three of the messages a check run can carry about `REVIEW.md`:
* **“This review applied the repository’s review instructions (REVIEW.md) from its default branch, which is not protected against direct pushes.”** : the review read the root file only. See [Which branch REVIEW.md is read from](</docs/en/code-review-customize#which-branch-review-md-is-read-from>) for what protecting the branch changes.
* **“were not applied to this review: branch protection could not be confirmed”** : the review read no `REVIEW.md`.
+ * **“they link to a file this pull request modifies, or carry more links than the review checks”** : the review skipped the root `REVIEW.md`, or the number of subdirectory `REVIEW.md` files the message gives. Check the skipped file for each cause. For the root `REVIEW.md`, check the [files it includes](</docs/en/code-review-customize#include-other-files-in-review-md>) too:
+ * **Too many links** : it carries more than 64 Markdown links. Cut links to [64 or fewer](</docs/en/code-review-customize#include-other-files-in-review-md>).
+ * **A link the review can’t parse** : it has a malformed Markdown link. Fix or remove the link.
+ * **A link to a changed file** : it links to a file or folder this pull request changes, and the review couldn’t leave out only the lines with that link. Write the rule in `REVIEW.md` itself.
##
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -36,7 +36,7 @@
* **Code Review isn’t on for this repository** : Claude posts no comment and no check run in response to the command. Ask an Owner to [add the repository](</docs/en/code-review-setup#add-more-repositories>).
* **The comment doesn’t meet a condition** : it was an inline comment or a review body rather than a new top-level comment, or the command wasn’t at the start of the comment. Editing an earlier comment instead of posting a new one doesn’t count either, and the pull request has to be open. See the [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>) and post a new comment that meets them.
- * **You don’t have write access** : you need write, maintain, or admin permission on the repository, and on a pull request from a fork the permission that counts is on the base repository. If your organization has tips turned on, Claude replies “No review was started: manual reviews can only be requested by someone with write access to this repository.” Ask someone with write access to comment instead.
+ * **You don’t have write access** : you need write, maintain, or admin permission on the repository. On a pull request from a fork, the permission that counts is on the base repository. Unless the pull request is yours, Claude can reply with a [tip](</docs/en/code-review-setup#turn-tip-comments-on-or-off>): “No review was started: manual reviews can only be requested by someone with write access to this repository.” Ask someone with write access to comment instead.
* **The budget ran out** : Claude posts a comment that begins with “⚠️ Code review skipped”. See Review didn’t run and the PR shows a budget message.
###
Show diff (126 lines)
--- a/code-review-troubleshooting.md
+++ b/code-review-troubleshooting.md
@@ -0,0 +1,123 @@
+When [Code Review](</docs/en/code-review>) doesn’t do what you expect on a pull request, start with the **Claude Code Review** check run. Its title says how far the review got.
+
+##
+
+
+
+Check how far the review got
+
+Find the **Claude Code Review** check run on your pull request, then match its title to one of these common ones:
+
+Check run title| What it means| What to do
+---|---|---
+**Code review queued…** or **Code review in progress…**| The review hasn’t finished| Wait for the title to change
+**Code review found no issues**| The review finished and found nothing to flag| Nothing
+A title that says issues were found| The review finished with findings| If you don’t see them on the diff, see Find issues that aren’t showing as inline comments
+**Code review skipped — no new changes**| An automatic review didn’t run on your latest push| To get a review anyway, comment `@claude review`
+**Code review failed** or **Code review timed out**| The review didn’t finish| To run it again, see Retrigger a failed or timed-out review
+**Code review declined**| The review didn’t run| Read the check run’s summary. If it names a budget or a spend limit, see Review didn’t run and the PR shows a budget message
+No check run| No review started| Comment `@claude review`. If no check run appears after that, see A comment command didn’t start a review
+
+##
+
+
+
+A review didn’t start
+
+Check these cases when no **Claude Code Review** check run appears, or when Claude posts a comment saying the review was skipped.
+
+###
+
+
+
+A comment command didn’t start a review
+
+After you comment `@claude review`, look for a **Claude Code Review** check run titled **Code review queued…** or **Code review in progress…** on the pull request. An 👀 reaction on your comment doesn’t confirm a review is coming. If no check run appears, check for each of these causes:
+
+ * **Code Review isn’t on for this repository** : Claude posts no comment and no check run in response to the command. Ask an Owner to [add the repository](</docs/en/code-review-setup#add-more-repositories>).
+ * **The comment doesn’t meet a condition** : it was an inline comment or a review body rather than a new top-level comment, or the command wasn’t at the start of the comment. Editing an earlier comment instead of posting a new one doesn’t count either, and the pull request has to be open. See the [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>) and post a new comment that meets them.
+ * **You don’t have write access** : you need write, maintain, or admin permission on the repository, and on a pull request from a fork the permission that counts is on the base repository. If your organization has tips turned on, Claude replies “No review was started: manual reviews can only be requested by someone with write access to this repository.” Ask someone with write access to comment instead.
+ * **The budget ran out** : Claude posts a comment that begins with “⚠️ Code review skipped”. See Review didn’t run and the PR shows a budget message.
+
+###
+
+
+
+Review didn’t run and the PR shows a budget message
+
+When your organization’s budget can’t cover a review, Code Review skips the review and Claude posts a comment on the pull request that begins with “⚠️ Code review skipped”. In some of these cases a check run titled **Code review declined** also appears. The comment links [claude.ai/admin-settings/usage](<https://claude.ai/admin-settings/usage>), where an admin restores the budget. Its wording tells you which limit was reached:
+
+ * **“has reached its monthly code review spending cap”** : the [monthly spend limit for Code Review](</docs/en/code-review-costs#limit-your-spend>) was reached. Reviews resume at the start of the next billing period. To get them sooner, ask an admin to raise the limit.
+ * **“has no extra usage available to pay for this review”** : your organization’s [usage credits](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>) balance is empty, or its overall monthly spend limit was reached. Ask an admin to add usage credits or raise that limit.
+ * **“is too low to start another review”** : what’s left of the budget or balance is less than the expected cost of one review. Ask an admin to raise the limit or add usage credits.
+
+After the budget is restored, comment `@claude review` on the pull request to get the review that was skipped. The [conditions for comment commands](</docs/en/code-review-pull-requests#comment-commands>) apply, so the commenter needs write access.
+
+##
+
+
+
+Retrigger a failed or timed-out review
+
+If the check run’s summary says “The review session was interrupted before it could finish. A new review of this commit has been queued automatically.”, you don’t need to do anything. That review is retried once automatically. Otherwise, when the check run’s title is **Code review failed** or **Code review timed out** , run the review again with a comment or a re-run:
+
+ * **Comment`@claude review`**: post it as a top-level comment on the pull request. This starts a fresh review without subscribing the pull request to future pushes.
+ * **Click Re-run** : if the pull request isn’t [from a fork](</docs/en/code-review-pull-requests#review-drafts-and-pull-requests-from-forks>), click **Re-run** on the **Claude Code Review** check in GitHub’s **Checks** tab. The re-run covers the pull request’s current head commit and doesn’t subscribe the pull request either.
+
+##
+
+
+
+Find issues that aren’t showing as inline comments
+
+If the check run title says issues were found but you don’t see inline review comments on the diff, look in these other locations where findings are surfaced:
+
+ * **Check run Details** : click **Details** next to the **Claude Code Review** check in the **Checks** tab. The severity table lists findings with their file, line, and summary regardless of whether the inline comment was accepted.
+ * **Files changed annotations** : open the **Files changed** tab on the PR. A finding that has a line but wasn’t posted as an inline comment appears there as an annotation on the lines concerned.
+ * **Review body** : findings that have no inline location, or that fall outside the current diff, appear under an **Additional findings** heading in the review body.
+
+##
+
+
+
+The check run mentions REVIEW.md
+
+Two of the messages a check run can carry about `REVIEW.md` concern branch protection:
+
+ * **“This review applied the repository’s review instructions (REVIEW.md) from its default branch, which is not protected against direct pushes.”** : the review read the root file only. See [Which branch REVIEW.md is read from](</docs/en/code-review-customize#which-branch-review-md-is-read-from>) for what protecting the branch changes.
+ * **“were not applied to this review: branch protection could not be confirmed”** : the review read no `REVIEW.md`.
+
+##
+
+
+
+Setup problems
+
+These cases come up for an Owner while [setting up Code Review](</docs/en/code-review-setup>).
+
+###
+
+
+
+A repository isn’t listed in Add a repository
+
+Search for the repository by name first, because the dialog doesn’t load a long list in full. The dialog lists a repository only if the Claude GitHub App can access it. Click **Install GitHub App** and give the app access to the repository. When no repositories are listed, **Install GitHub App** is a button in the dialog. Otherwise, it’s at the bottom of the dialog’s GitHub organization filter menu.
+
+###
+
+
+
+No check run appears on the test pull request
+
+Confirm that **Allow code review** is on, that the repository is listed under **Repositories** in the **Code review** section, and that the Claude GitHub App has access to it. Automatic reviews skip draft pull requests, and a repository set to **Manual (@claude review)** needs an `@claude review` comment to start the first review.
+
+##
+
+
+
+Related resources
+
+ * [Read and request reviews on a pull request](</docs/en/code-review-pull-requests>): what the findings and the check run mean, and the comment commands
+ * [Set up Code Review](</docs/en/code-review-setup>): for Owners, turn on Code Review and manage repositories
+ * [Code Review costs and usage](</docs/en/code-review-costs>): the spend limits behind a budget message
+ * [Customize Code Review](</docs/en/code-review-customize>): which copy of `REVIEW.md` a review reads