Skip to content

Empty PR review triggers "Error: Create prompt failed with error: Error: COMMENT_BODY is required for pull_request_review event" #41

@jack-michaud

Description

@jack-michaud

An empty approval with no "comment body" triggers the following error and a "Claude encountered an error " comment.

Successfully checked out PR branch for PR #2333
Error: Create prompt failed with error: Error: COMMENT_BODY is required for pull_request_review event
Error: Process completed with exit code 1.

It's okay to throw an error, but when the program adds the comment, that is noisy and not helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp1Showstopper bug preventing substantial subset of users from using the product, or incorrect docs

    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