You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Count the Findings Under Copilot's "Review Findings Remain Unresolved" Bullet in pr_review.py #3610
pr_review.py counts no finding on a Copilot ccr-overview-v2 round that opens on "Approval recommended" and "No open issues", while the same body names findings in two other places. It prints CLEAN VERDICT HEADLINE ... counts no finding and REVIEWER OUTPUT NOTED (1) for the label review findings remain unresolved:, and wait exits 0.
Seen on ptr727/HomeAutomation-Config#1474 (round on head 2d47de97), which held four findings, one of them [P1]. None opened a thread, so nothing else in the digest surfaced them.
Shape
A constructed body carrying the same structure:
<!-- ccr-overview-v2 -->### 🟢 Approval recommended
The recorded no_active_issues status supports approval, while the remaining review comments concern an edge case and a doc alias.
**No open issues** 🎉
<details>
<summary><strong>What changed in this PR</strong></summary>
**Changes:**- Adds a test case.
- Review findings remain unresolved:
-`src/tool.sh`: moderate ([P1], 1 vote) issue keeping the old path when a flag follows a refused one.
-`README.md`: nit ([P2], 1 vote) to document `-x`.
| File | Summary | Findings ||---|---|---||`src/tool.sh`| Changes the flag handling. | Moderate ([P1], 1 vote): keep the old path after a refusal. ||`README.md`| Documents the flag. | Nit ([P2], 1 vote): document both spellings. |
</details>
Two readings disagree inside one body: the "No open issues" line and the no_active_issues headline say zero, and both the nested "Review findings remain unresolved:" list and the file table's Findings column name findings.
Expected
The reader counts each finding the nested list or the file table names, so the round's count is 2 for the body above, not 0, and wait does not report a clean round. Where the headline and the lists disagree, the lists win, since they name a file and a finding a reply can answer.
Activity
Count Copilot Findings Under the Unresolved Bullet and File Table (#3642