anthropics / anthropics/claude-code-action

@claude review doesn't pick up new commits in the PR

Đang mở
#445 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
bug p2
Ngôn ngữ chính
TypeScript
Star
8.9k
Fork
2.1k
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
10

Mô tả

**Describe the bug**
We use the [experimental review mode](https://github.com/anthropics/claude-code-action/blob/main/examples/claude-experimental-review-mode.yml), the only change we made is removed the `synchronize` trigger to control the costs.
When we open the PR, we get the review immediately. We then fix the issues and make another commit in the same pull request, and we comment "@claude review" in the PR. The review runs again, but it leaves the same comments as first time, not noticing that we fixed the issues.

**To Reproduce**
Steps to reproduce the behavior:

1. Copy the [experimental review mode](https://github.com/anthropics/claude-code-action/blob/main/examples/claude-experimental-review-mode.yml) action, and remove `synchronize` trigger.
2. Open a pull request with some obvious errors
3. Wait for the initial review to complete
4. Fix the errors spotted by Claude review
5. Comment "@claude review"
6. Observe how the same errors are reported even though you fixed them.

**Expected behavior**
"@claude review" should review the diff between PR branch and the base branch, not individual commits which get outdated.

**API Provider**

[x] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.