You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Bitbucket webhook queues a review for every pullrequest:* event, including the agent's own comments #93
That includes pullrequest:comment_created, comment_updated, approved, unapproved, fulfilled (merged) and rejected (declined).
When CODE_REVIEW_AUTO_POST=true, the agent posts its review as PR comments (_bitbucket_post, summary plus one comment per finding). Each of those comments triggers pullrequest:comment_created, which queues another review, which posts more comments. If the repository's webhook subscribes to comment events, this is an infinite loop that also costs LLM tokens on every pass. Merged and declined PRs also get reviewed.
Expected
Only pullrequest:created and pullrequest:updated (with new commits) queue a review, and other events return ignored.
Activity
Merge pull request #104 from Nitjsefnie-OSC/fix/review-trigger-events