Skip to content

Feature Request: Persistent Inline Comments to Prevent Duplicates #2037

@arun131

Description

@arun131

Feature request

I propose adding support for persistent inline comments, similar to how persistent comments work today.

Currently, when the agent runs multiple times on the same PR/MR, it posts duplicate inline comments for identical issues or suggestions. This creates unnecessary clutter in reviews — I’ve observed this behavior on GitLab in particular.

The solution would be to track existing inline comments (e.g., using GitHub’s comment IDs or content hashes) and avoid creating duplicates if a similar comment is already present.

Benefits:

Reduces noise in PR discussions, keeping reviews cleaner and more actionable.

Improves efficiency for iterative PRs where the agent runs multiple times (e.g., after fixes).

Aligns with enterprise needs in Qodo Merge for better suggestion tracking.

Motivation

I’m using the agent within a sophisticated workflow where a helper agent verifies adherence to internal code quality and guidelines. Based on file changes, multiple jobs are triggered to post reviews. In this setup, comments sometimes get posted repeatedly across runs, leading to unnecessary noise.

Thanks for considering this—excited about PR-Agent's potential!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions