Skip to content

chore(qodo): disable persistent comments and inline code suggestions in master - #11988

Merged
gioboa merged 2 commits into
masterfrom
chore/qodo/disable-persistent-comment
Feb 19, 2026
Merged

gioboa merged 2 commits into
masterfrom
chore/qodo/disable-persistent-comment

Conversation

@naorpeled

@naorpeled naorpeled commented Feb 13, 2026 •

Copy link
Copy Markdown
Member

Description

Removed persistent review update comments and removed inline code comments

image

@naorpeled
naorpeled requested review from G0maa, alumni and gioboa February 13, 2026 21:58
@naorpeled naorpeled changed the title chore(qodo): disable persistent comment chore(qodo): disable persistent comments + inline code suggestions in master Feb 13, 2026
@naorpeled
naorpeled marked this pull request as ready for review February 13, 2026 22:11
Copilot AI review requested due to automatic review settings February 13, 2026 22:11
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

User description

Description

Removed persistent review update comments and removed inline code comments

image

PR Type

Enhancement


Description

  • Disable persistent review comments in PR agent configuration

  • Set comments location policy to summary-only mode

  • Prevent inline code suggestions from appearing as persistent updates


Diagram Walkthrough

flowchart LR
  A["PR Agent Config"] -- "Add comments_location_policy" --> B["Summary Mode"]
  A -- "Set persistent_comment false" --> C["Disable Persistent Updates"]
  B --> D["Review Comments in Summary"]
  C --> D
Loading

File Walkthrough

Relevant files
Configuration changes
.pr_agent.toml
Configure review agent comment behavior                                   

.pr_agent.toml

  • Added comments_location_policy = "summary" to review_agent section
  • Added persistent_comment = false to review_agent section
  • Disables persistent review update comments and inline code suggestions
+2/-0     

@naorpeled naorpeled changed the title chore(qodo): disable persistent comments + inline code suggestions in master chore(qodo): disable persistent comments and inline code suggestions in master Feb 13, 2026
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

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

This PR modifies the Qodo (PR Agent) configuration to change how code review comments are presented. It disables persistent review update comments and consolidates inline code suggestions into a summary view instead of scattering them throughout the PR.

Changes:

  • Added comments_location_policy = "summary" to consolidate review comments into a summary section
  • Added persistent_comment = false to disable persistent review update comments

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

qodo-free-for-open-source-projects Bot commented Feb 13, 2026 •

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

Grey Divider

Previous review results

Review updated until commit dade693

Results up to commit ce67cdd


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

Grey Divider
Remediation recommended
1. Describe still posts comment 🐞 Bug ⛯ Reliability
Description
The PR disables persistent review comments for [review_agent], but /describe is still configured to
publish the PR description as a comment, which may contradict the intent of disabling persistent
comments/comment noise.
Code

.pr_agent.toml[R18-19]

+comments_location_policy = "summary"
+persistent_comment = false
Evidence
The new change only affects review_agent output behavior, while the repository-level PR commands
still include an explicit flag forcing /describe to publish a comment.

.pr_agent.toml[15-20]
.pr_agent.toml[1-6]

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

### Issue description
`/describe` is configured to always publish the PR description as a comment (`--pr_description.publish_description_as_comment=true`). This can keep generating PR comments even after disabling `persistent_comment` for `[review_agent]`, undermining the goal of reducing persistent/comment noise.

### Issue Context
This PR adds:
- `comments_location_policy = "summary"`
- `persistent_comment = false`
under `[review_agent]`, but the command list still forces `/describe` to comment.

### Fix Focus Areas
- .pr_agent.toml[1-6]
 - Consider removing `--pr_description.publish_description_as_comment=true` or changing it to `false` if comment suppression is desired.
- .pr_agent.toml[15-20]
 - Ensure the intended behavior is consistent across commands (review vs describe).

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



Advisory comments
2. Scope limited to review_agent 🐞 Bug ✓ Correctness
Description
The change only configures comment behavior for [review_agent]; other configured commands (e.g.,
/improve) may still produce inline comments/suggestions depending on their defaults, so the repo may
not be fully aligned with the stated goal.
Code

.pr_agent.toml[R18-19]

+comments_location_policy = "summary"
+persistent_comment = false
Evidence
The repository is configured to run multiple PR-Agent commands, but only the review_agent section
was updated with the new comment policy. Other commands are still enabled and triggered on PR
events/pushes.

.pr_agent.toml[1-10]
.pr_agent.toml[15-20]

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

### Issue description
Only `[review_agent]` is updated to reduce inline/persistent review output. However, `/improve` and `/describe` are still configured as active commands (including on push triggers), so behavior may remain inconsistent with the stated objective.

### Issue Context
The config enables automatic execution on push (`handle_push_trigger = true`) and includes `/improve` and `/agentic_review` in `push_commands`, but only `[review_agent]` has comment policy settings.

### Fix Focus Areas
- .pr_agent.toml[1-10]
 - Decide whether `/improve` should remain in `pr_commands` / `push_commands` if inline suggestions/comments are undesired.
- .pr_agent.toml[15-20]
 - Keep `[review_agent]` settings, but ensure other agents/commands are configured equivalently if required.

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


Grey Divider Grey Divider

Qodo Logo

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 19, 2026 •

Copy link
Copy Markdown

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

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@gioboa
gioboa merged commit 637787b into master Feb 19, 2026
19 checks passed
@gioboa
gioboa deleted the chore/qodo/disable-persistent-comment branch February 19, 2026 08:08
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit dade693

@pkuczynski pkuczynski added this to the 1.0 milestone Mar 8, 2026
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