Skip to content

PR comment inspection misses review comments #331

@sentry-junior

Description

@sentry-junior

When asked to look at comments on a PR, the agent only queries the issue-comment stream (gh pr view --json comments / issues/{id}/comments), which returns regular PR conversation comments. It does not query PR review comments (pulls/{id}/reviews and pulls/{id}/comments), which is where inline code review feedback and bot review comments live (e.g. Cursor Bugbot, CodeRabbit, Sentry's own bots).

Observed behavior:

  • User asked to look at the "sentry bot comment" on a PR
  • Agent found only the Vercel deployment bot (a regular comment) and reported on that
  • The actual review comment from Cursor Bugbot — flagging a real broken-link bug — was in the review comments API surface and went unseen
  • User had to paste the exact review comment URL before the agent checked the right endpoint

Impact: Misses actionable review feedback, wastes a round-trip, and looks like the agent isn't reading the PR.

Likely fix areas:

  • The github-code skill's PR inspection path should query both comment streams when asked to look at PR comments
  • When the user references a specific bot and the found comments don't match, the agent should widen the search to review comments before concluding

Action taken on behalf of Michi Hoffmann.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working
    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