Skip to content

fix: gh-pr-review tool loses review-state by filtering out bodyless reviews #18

Description

@four-bytes-robby

Bug

Found by cubic-dev-ai on PR #15. In src/tools/gh-pr-review.ts, reviews without body text are filtered out. This causes the tool to miss formal review decisions (APPROVED/CHANGES_REQUESTED/COMMENTED) when the review has no comment body.

Expected

The tool should report all reviews including bodyless ones, preserving the review state (APPROVED, CHANGES_REQUESTED, COMMENTED) even when no comment text is present.

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