Skip to content

PR status: with several reviews of the same head, an open blocker or the lowest score decides, not the review posted last #3591

Closed

Description

@integry

Problem

When one /review command requests two models, the status line and the title slot take the score of whichever review is posted last.

Observed on #3420 (/review astra fable at 13:21 UTC on 2026-11-16): GPT-6 Astra posted 6/10 with blocker F1 at 13:23:14, Claude Fable posted 8/10 at 13:24:35. The line became ✅ Ready · review 8/10 and the title ✅⑧ at 13:25:13 while blocker F1 was open.

Expected

The status describes the PR, not the latest comment. When the latest review round on the current head has several reviews, the PR is not ready while any of them is below the goal or has an open blocker, and the shown score is the lowest of that round.

Acceptance criteria

  • Two reviews of the same round with scores 6 (one blocker) and 8: state needs_attention, shown score 6, whatever the posting order.
  • Two reviews 8 and 9 with no blockers: ready, shown score 8.
  • A later single review of a newer head replaces the round as today.
  • The title slot digit and the body line agree.
  • Regression tests cover both posting orders.

Implementation

Find where the latest review score is read for the status facts (pullRequestStatusFacts.ts, review_scores). Group the reviews that belong to the same review request/round on the same head instead of taking the newest row. Ultrafix's own goal check should stay consistent with what the status shows.

Notes

ProPR runs on SQLite only: do not add code or tests for other databases.

Activity

  1. propr-dev commented on Nov 17, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3591/claude-opus-5-5-pr-status-with-several-re-20261117-0653-lnh
    • Base Branch: 3589-epic-0-9-y3w
    • Worktree: issue-3591-20261117-0653-claude-opus-5-5-lnh

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions