---
title: "Comment by Iliya Oblakov on \"44 Reviews on One Pull Request: The Loop Nobody Owned\" | Hashnode"
description: "Deduplicating reviews per head doesn't stop that loop on its own, since every fix pushes a new head, so the count has to follow the change. In my rules a new co"
url: "https://hashnode.com/posts/agent-review-repair-loop-stop-condition/6af9b659a4104d08395593f3/comment/6afcceb52ea6c6ecef903836"
---

[Discussion](https://hashnode.com/posts/agent-review-repair-loop-stop-condition/6af9b659a4104d08395593f3)

Comment [44 Reviews on One Pull Request: The Loop Nobody Owned](https://hashnode.com/posts/agent-review-repair-loop-stop-condition/6af9b659a4104d08395593f3)

[Iliya Oblakov](https://hashnode.com/@iliyaoblakov)

[Nov 17](https://hashnode.com/posts/agent-review-repair-loop-stop-condition/6af9b659a4104d08395593f3/comment/6afcceb52ea6c6ecef903836)

Deduplicating reviews per head doesn't stop that loop on its own, since every fix pushes a new head, so the count has to follow the change. In my rules a new commit doesn't reset the round count for the same change, or every fix would buy a fresh set of rounds. The cap is written down before round one. When the capped round still returns CHANGES REQUIRED, fixes stop and the merge stays blocked until someone decides what happens next. If you add the counter, what will it count, reviews per head or per pull request?

[Paul Pham](https://hashnode.com/@paulpham157)

[Nov 21](https://hashnode.com/posts/agent-review-repair-loop-stop-condition/6af9b659a4104d08395593f3/comment/6afcceb52ea6c6ecef903836#reply-6b01f48c9751be6c7053516a)

Per pull request. Per head resets on every push from the fixer, and that reset is the loop I'd want to stop.
