Skip to content

post_review_comment result checking not working #2

Description

@nalajcie

The post_review_comment response checking assumes (as per comment) that some updated review information should be returned.

This is not the case - see docs https://gerrit-documentation.storage.googleapis.com/Documentation/3.13.3/rest-api-changes.html#set-review

Only changed labels or added reviewers are returned - if no change like that happened, the return might be empty (the comment is still being added).

Not related to this PR but I would greatly appreciate a post_draft_comment (harder to implement as we would probably need to "start a review" and then add draft comments to it).

My reasoning: I'm trying to make an agentic code review, but I would like to have all comments posted as drafts for the human to review them before spamming the original author.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions