Skip to content

bug: review-responder cannot see review threads — noop on every run #148

@microsasa

Description

@microsasa

Bug

The review-responder agent noop's on every run, reporting "no reviews or unresolved review comment threads found" even when unresolved threads exist on the PR.

Root Cause

The original responder (commit f2a4b14, March 15) worked — it successfully addressed review threads on run 23117978475. It used simple instructions: "Read the unresolved review comment threads" and "Reply to the comment thread" without specifying any particular tool or API.

Multiple rounds of CLI-driven "improvements" broke it:

  1. Added GraphQL thread ID lookup instructions (for thread resolution) — over-specified how to discover threads
  2. Removed thread resolution but also changed step ordering and thread discovery logic
  3. Added checks for triggering review comments before checking existing threads — caused noop on quality gate approvals
  4. Tried to fix the noop by adding explicit GraphQL-via-bash instructions — further confused the agent

Each change was made without verifying the responder still worked. The CLI (me) repeatedly stated "the responder worked on PR #113" which was false — it never did. All thread replies in the repo's history were done manually.

The fix is simple: revert to the original working instructions, minus the resolve-thread safe-output (now handled by the pipeline orchestrator).

Evidence

Fix

PR #147 reverts to the known-working version with only two changes:

  1. Removed resolve-pull-request-review-thread safe-output (orchestrator handles this)
  2. Kept if: label gate (saves compute on non-aw PRs)

Lesson

Don't over-specify agent instructions. The agent figured out how to read threads on its own. Telling it exactly which API to use broke its ability to discover them. Also: verify changes work before claiming they do.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions