Skip to content

ci: remove summary comments location policy - #12117

Merged
naorpeled merged 5 commits into
v0.3from
chore/qodo/remove-summary-comments-v0.3
Mar 6, 2026
Merged

naorpeled merged 5 commits into
v0.3from
chore/qodo/remove-summary-comments-v0.3

Conversation

@naorpeled

Copy link
Copy Markdown
Member

No description provided.

The `comments_location_policy = "summary"` setting causes noisy summary
comments on PRs. Removing it to reduce review noise.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings March 6, 2026 18:15
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Review Summary by Qodo

Remove summary comments location policy from review agent

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Remove noisy summary comments policy from PR review agent
• Reduces review noise by disabling summary comment location
Diagram
flowchart LR
  A["PR Agent Config"] -- "Remove comments_location_policy" --> B["Cleaner PR Reviews"]
Loading

Grey Divider

File Changes

1. .pr_agent.toml ⚙️ Configuration changes +0/-1

Remove summary comments location policy setting

• Removed comments_location_policy = "summary" setting from review_agent section
• Reduces noisy summary comments on pull requests

.pr_agent.toml


Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Mar 6, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (40) 📘 Rule violations (1) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. PR agent behavior undocumented 📘 Rule violation ✓ Correctness
Description
This PR changes PR agent comment behavior by enabling persistent_comment and disabling
final_update_message, which affects what contributors see on PRs. No documentation or contributor
guidance was updated to reflect this user-facing workflow change.
Code

.pr_agent.toml[R22-29]

+persistent_comment = true
[config]
publish_output_progress = false
[checks]
enable_auto_checks_feedback = false
+final_update_message = false
Evidence
The compliance checklist requires documentation updates for user-facing behavior changes. The diff
changes PR comment-related settings (persistent_comment and final_update_message) but does not
include any accompanying documentation updates.

Rule 2: Docs updated for user-facing changes
.pr_agent.toml[21-29]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
This PR changes `.pr_agent.toml` in a way that affects PR comment behavior (`persistent_comment` and `final_update_message`), but there is no documentation update explaining the new behavior to contributors.
## Issue Context
Per compliance, user-facing workflow/behavior changes should be reflected in docs or contributor guidance so developers understand what to expect and how to configure it.
## Fix Focus Areas
- .pr_agent.toml[21-29]
- DEVELOPER.md[1-30]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


View more (37)
4. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


5. Title/config mismatch 🐞 Bug ✓ Correctness
Description
The PR title says it removes the “summary comments location policy”, but .pr_agent.toml still sets
comments_location_policy = "summary"; the only actual change is enabling persistent_comment.
This is likely to cause confusion and may leave the intended behavior unchanged.
Code

.pr_agent.toml[R21-22]

comments_location_policy = "summary"
-persistent_comment = false
+persistent_comment = true
Evidence
The PR title explicitly states the intent to remove the summary comments location policy, but the
repository config still contains comments_location_policy = "summary" and the only modification is
toggling persistent_comment from false to true.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR title claims removal of the summary comment location policy, but the code change does not remove or alter `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`; it only enables `persistent_comment`.
## Issue Context
This is a PR intent/implementation mismatch that can confuse maintainers and may not achieve the desired behavioral change.
## Fix Focus Areas
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


6. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


7. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


8. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


9. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


10. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


11. Title/config mismatch 🐞 Bug ✓ Correctness
Description
The PR title says it removes the “summary comments location policy”, but .pr_agent.toml still sets
comments_location_policy = "summary"; the only actual change is enabling persistent_comment.
This is likely to cause confusion and may leave the intended behavior unchanged.
Code

.pr_agent.toml[R21-22]

comments_location_policy = "summary"
-persistent_comment = false
+persistent_comment = true
Evidence
The PR title explicitly states the intent to remove the summary comments location policy, but the
repository config still contains comments_location_policy = "summary" and the only modification is
toggling persistent_comment from false to true.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR title claims removal of the summary comment location policy, but the code change does not remove or alter `comments_location_policy = &amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;quot;`; it only enables `persistent_comment`.
## Issue Context
This is a PR intent/implementation mismatch that can confuse maintainers and may not achieve the desired behavioral change.
## Fix Focus Areas
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


12. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


13. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


14. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


15. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


16. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


17. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


18. Title/config mismatch 🐞 Bug ✓ Correctness
Description
The PR title says it removes the “summary comments location policy”, but .pr_agent.toml still sets
comments_location_policy = "summary"; the only actual change is enabling persistent_comment.
This is likely to cause confusion and may leave the intended behavior unchanged.
Code

.pr_agent.toml[R21-22]

comments_location_policy = "summary"
-persistent_comment = false
+persistent_comment = true
Evidence
The PR title explicitly states the intent to remove the summary comments location policy, but the
repository config still contains comments_location_policy = "summary" and the only modification is
toggling persistent_comment from false to true.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR title claims removal of the summary comment location policy, but the code change does not remove or alter `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`; it only enables `persistent_comment`.
## Issue Context
This is a PR intent/implementation mismatch that can confuse maintainers and may not achieve the desired behavioral change.
## Fix Focus Areas
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


19. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


20. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


21. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


22. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


23. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


24. Title/config mismatch 🐞 Bug ✓ Correctness
Description
The PR title says it removes the “summary comments location policy”, but .pr_agent.toml still sets
comments_location_policy = "summary"; the only actual change is enabling persistent_comment.
This is likely to cause confusion and may leave the intended behavior unchanged.
Code

.pr_agent.toml[R21-22]

comments_location_policy = "summary"
-persistent_comment = false
+persistent_comment = true
Evidence
The PR title explicitly states the intent to remove the summary comments location policy, but the
repository config still contains comments_location_policy = "summary" and the only modification is
toggling persistent_comment from false to true.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR title claims removal of the summary comment location policy, but the code change does not remove or alter `comments_location_policy = &amp;amp;amp;quot;summary&amp;amp;amp;quot;`; it only enables `persistent_comment`.
## Issue Context
This is a PR intent/implementation mismatch that can confuse maintainers and may not achieve the desired behavioral change.
## Fix Focus Areas
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


25. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


26. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


27. Unpinned comment location ☑ 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;amp;amp;quot;summary&amp;amp;amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


28. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing his...

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the PR agent configuration that forces review comments to be published in the PR summary, allowing the agent to fall back to its default comment placement behavior.

Changes:

  • Removed comments_location_policy = "summary" from the review_agent configuration in .pr_agent.toml.

Set `persistent_comment = true` so Qodo updates a single comment instead
of posting new ones, reducing PR noise.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Review history overwritten 🐞 Bug ✧ Quality ⭐ New
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.

### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.

### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;quot;summary&amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;quot;summary&amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

Prevents Qodo from posting a comment when there are no code suggestions,
reducing unnecessary noise on PRs.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (4) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Title/config mismatch 🐞 Bug ✓ Correctness ⭐ New
Description
The PR title says it removes the “summary comments location policy”, but .pr_agent.toml still sets
comments_location_policy = "summary"; the only actual change is enabling persistent_comment.
This is likely to cause confusion and may leave the intended behavior unchanged.
Code

.pr_agent.toml[R21-22]

comments_location_policy = "summary"
-persistent_comment = false
+persistent_comment = true
Evidence
The PR title explicitly states the intent to remove the summary comments location policy, but the
repository config still contains comments_location_policy = "summary" and the only modification is
toggling persistent_comment from false to true.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR title claims removal of the summary comment location policy, but the code change does not remove or alter `comments_location_policy = &quot;summary&quot;`; it only enables `persistent_comment`.

## Issue Context
This is a PR intent/implementation mismatch that can confuse maintainers and may not achieve the desired behavioral change.

## Fix Focus Areas
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;quot;summary&amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;quot;summary&amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


View more (1)
4. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;quot;summary&amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;quot;summary&amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (8) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;quot;summary&amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;quot;summary&amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;quot;summary&amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;quot;summary&amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


View more (4)
4. Title/config mismatch 🐞 Bug ✓ Correctness
Description
The PR title says it removes the “summary comments location policy”, but .pr_agent.toml still sets
comments_location_policy = "summary"; the only actual change is enabling persistent_comment.
This is likely to cause confusion and may leave the intended behavior unchanged.
Code

.pr_agent.toml[R21-22]

comments_location_policy = "summary"
-persistent_comment = false
+persistent_comment = true
Evidence
The PR title explicitly states the intent to remove the summary comments location policy, but the
repository config still contains comments_location_policy = "summary" and the only modification is
toggling persistent_comment from false to true.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR title claims removal of the summary comment location policy, but the code change does not remove or alter `comments_location_policy = &amp;quot;summary&amp;quot;`; it only enables `persistent_comment`.
## Issue Context
This is a PR intent/implementation mismatch that can confuse maintainers and may not achieve the desired behavioral change.
## Fix Focus Areas
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


5. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;quot;summary&amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;quot;summary&amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


6. Review history overwritten 🐞 Bug ✓ Correctness
Description
With persistent_comment=true, repeated runs of the review agent will update/overwrite a single
comment rather than leaving a per-run trail, which can reduce auditability/debugging context when
comparing review outputs over time. This is especially relevant here because the agent is configured
to run on push triggers, so overwrites can happen frequently during iteration.
Code

.pr_agent.toml[22]

+persistent_comment = true
Evidence
The repo config enables push-triggered runs of the agent and enables publishing output; flipping
persistent_comment changes how those repeated outputs are retained in the PR discussion thread
(persistent single comment vs multiple snapshots).

.pr_agent.toml[8-12]
.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`review_agent.persistent_comment` was set to `true`. Because the PR agent is also configured to run on push triggers, this can overwrite a single review comment repeatedly, reducing historical visibility of how feedback changed across pushes.
### Issue Context
This is a workflow/observability tradeoff: persistent comments keep PRs tidy, but remove per-run history.
### Fix Focus Areas
- .pr_agent.toml[8-12]
- .pr_agent.toml[18-22]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


7. Unpinned comment location 🐞 Bug ✓ Correctness
Description
Removing the explicit comments_location_policy makes the PR agent’s comment placement depend on
its default behavior, which can change across agent versions/config defaults and lead to reviews
being posted in an unexpected location (e.g., not in a single summary comment). This can reduce
review visibility/consistency for contributors.
Code

.pr_agent.toml[21]

-comments_location_policy = "summary"
Evidence
The repository’s PR agent config enables publishing output, but no longer pins where comments should
be posted; therefore behavior is now implicit rather than explicitly configured in-repo.

.pr_agent.toml[18-22]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The PR removes an explicit PR-agent setting (`comments_location_policy = &amp;amp;amp;quot;summary&amp;amp;amp;quot;`). This makes comment placement depend on the tool’s defaults, which can shift over time and cause reviews to appear in unexpected places.
### Issue Context
This repo configuration enables `publish_output = true` for the review agent, so comment placement is user-facing and affects how reviewers consume results.
### Fix Focus Areas
- .pr_agent.toml[18-22]
### Suggested change
- Re-introduce `comments_location_policy = &amp;amp;amp;quot;summary&amp;amp;amp;quot;` under `[review_agent]` if summary-only output is still desired, or set an explicit alternative policy (rather than relying on defaults).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments

8. Bot output behavior change 🐞 Bug ✧ Quality ⭐ New
Description
Enabling persistent_comment = true and setting publish_output_no_suggestions = false changes
PR-agent commenting behavior; verify this is intended because it can increase comment/update
activity even when there are no code suggestions.
Code

.pr_agent.toml[R22-25]

+persistent_comment = true
+
+[pr_code_suggestions]
+publish_output_no_suggestions = false
Evidence
The config now enables persistent comments and configures code-suggestion output publication
behavior explicitly; this is a user-visible behavior change that should be intentional.

.pr_agent.toml[20-26]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
Configuration changes alter how/when PR-agent comments are posted/updated; ensure the new behavior is intentional to avoid unexpected PR noise.

### Issue Context
`persistent_comment` and `publish_output_no_suggestions` directly affect comment/update behavior.

### Fix Focus Areas
- .pr_agent.toml[20-26]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

Set `final_update_message = false` under `[checks]` to suppress the
final status comment posted by Qodo after checks complete.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

2 similar comments
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@coveralls

coveralls commented Mar 6, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 80.776%. first build
when pulling a7b3ac4 on chore/qodo/remove-summary-comments-v0.3
into 55db549 on v0.3.

@naorpeled
naorpeled requested a review from pkuczynski March 6, 2026 19:04
@naorpeled
naorpeled enabled auto-merge (squash) March 6, 2026 19:06
@naorpeled
naorpeled disabled auto-merge March 6, 2026 19:06
@naorpeled
naorpeled enabled auto-merge (squash) March 6, 2026 19:06
Remove the `publish_output_no_suggestions` override to restore default
behavior for code suggestion comments.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Mar 6, 2026

Copy link
Copy Markdown

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit a7b3ac4

@naorpeled naorpeled changed the title chore(qodo): remove summary comments location policy ci: remove summary comments location policy Mar 6, 2026
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit a7b3ac4

@naorpeled
naorpeled merged commit 09a0755 into v0.3 Mar 6, 2026
45 checks passed
@naorpeled
naorpeled deleted the chore/qodo/remove-summary-comments-v0.3 branch March 6, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants