Skip to content

bug: quality-gate never evaluates PRs — requires APPROVED but Copilot sends COMMENTED #81

@microsasa

Description

@microsasa

Bug

The Quality Gate workflow instructions require the triggering Copilot review to have state APPROVED. However, Copilot auto-reviews almost always submit as COMMENTED (when there are inline comments, or on workflow-only PRs). Only zero-concern code-changing PRs get APPROVED.

This means:

Root Cause

Quality Gate instructions (step 2):

This workflow should only proceed when:
- The review is an APPROVAL
- The reviewer is copilot-pull-request-reviewer

But Copilot auto-review behavior:

  • COMMENTED: When Copilot has inline comments, or on workflow-only PRs (most common)
  • APPROVED: Only when Copilot has zero concerns on a code-changing PR (rare)

Impact

The entire autonomous merge pipeline is broken. Agent PRs created by the Issue Implementer have auto-merge: true, but auto-merge requires the Quality Gate's approval to satisfy branch protection. Since Quality Gate never approves, PRs pile up waiting for manual merge.

Observed On

PR #79 — first PR where the full pipeline ran (activation fixed by PR #76). Quality Gate ran to completion but did nothing (noop).

Fix

Accept both COMMENTED and APPROVED reviews from Copilot. The quality evaluation should be based on the PR's code quality and impact, not the review state.

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions