Skip to content

pr_review.py Has No Reader for Copilot's ccr-overview-v2 Review Format #1688

Closed

Description

@ptr727

scripts/pr_review.py exited 43 on #1687 with status=UNRECOGNIZED_REVIEWER_OUTPUT, naming three shapes it has no reader for. Filing as that exit code instructs, before the review loop is closed on that digest.

The shapes

All three come from one Copilot review body on PR #1687, round d0e722f9. The body opens with the marker <!-- ccr-overview-v2 -->, which looks like a versioned format identifier and is probably the cleanest thing to key a reader on.

heading: ## Copilot review overview  (round d0e722f9)
summary: <strong>Open (N)</strong>  (round d0e722f9)
summary: <strong>What changed in this PR</strong>  (round d0e722f9)

The body they came from

Quoting the relevant structure rather than the whole body:

<!-- ccr-overview-v2 -->

## Copilot review overview

### 🟡 Changes recommended

Two newly edited canonical skill statements are inaccurate and could mislead readers ...

*Get a fresh assessment by requesting another Copilot review.*

**Review effort:** Lite
**Findings:** 2 <picture>...</picture>

<details open>
<summary><strong>Open (2)</strong></summary>

- <picture>...</picture> [Hard-coded develop checkout breaks main-only workflows](#discussion_r4051028423) · New
- <picture>...</picture> [Docs overstate actionlint's recursive workflow coverage](#discussion_r4051028440) · New
</details>

<details>
<summary><strong>What changed in this PR</strong></summary>

This PR promotes the fixes recorded in #1155 by ...

**Changes:**
- Add composite-action schema validation via `check-jsonschema` (CI + local verification) ...

| File | Description |
| ---- | ----------- |
| OPERATIONS.md | Adds local verification command to schema-check tracked composite actions. |
...
</details>

What is new about it

This is a different overview format from the one the script reads. Three properties look worth handling deliberately rather than by widening a pattern:

  • A findings count and a severity live in the overview, **Findings:** 2 and a ### 🟡 Changes recommended heading. The script currently derives its counts from threads, so an overview count is a second, independent source that could be cross-checked against them, and a disagreement between the two would be worth reporting rather than silently preferring one.
  • Open (N) enumerates the findings with anchor links to each #discussion_rNNN. That is a direct mapping from an overview entry to its thread, which is stronger than matching on body text, the mechanism reply --match currently depends on.
  • What changed in this PR is the reviewer's own summary of the diff, including a per-file table. It carries no findings, so a reader probably wants to skip it rather than scan it, but it will otherwise look like unparsed content on every future review.

Why it matters beyond this pull request

The exit-43 contract worked exactly as intended here: it refused to let a clean-looking digest close the loop, and it said so loudly rather than reporting unresolved=0 over output it could not read. But it now fires on every Copilot review in this format, which is every review going forward if the format has rolled out generally, so the practical effect is that no Copilot-reviewed pull request can close its loop through this script until a reader exists.

Both findings in this particular review were separately visible as ordinary review threads and were read and answered from those, so nothing was missed here. That will not generally be true, since the overview is exactly where a suppressed finding appears with no thread of its own.

Activity

  1. added a commit that references this issue on Sep 19, 2026
    1561c1d
  2. added a commit that references this issue on Sep 19, 2026
    9129f41
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