Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .agents/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
alone reports a clean pass while they stand. The same holds for CodeRabbit's own
"outside diff range" comments (`cr_outside_diff` in `pr_review.py`'s digest) and for Qodo's
comment-only findings (`qodo_open`): neither opens a `reviewThreads` entry either, so
give each one the same triage the low-confidence findings above already get. Qodo's own
give each one the same triage the low-confidence findings above already get. Copilot's own
section for findings against code the pull request did not change, `Previously missed` in the
review body and `previously_missed` in the digest, is a fourth such class and takes that same
triage. It raises no thread for the same reason the others do not, and a finding it holds is
raised outright rather than withheld, so "the branch did not touch that code" is a reason to
decline one with evidence rather than a reason to leave it unanswered. Qodo's own
`Resolved`/`Dismissed` self-tracked badge is a fast pre-triage signal, not a substitute for
reading the finding, spot-verify against `gh pr diff` rather than trusting it outright.
Copilot's second review-body format states its own finding total, which the digest reads as
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
69eadaf779a1ca01
69c45b60e15f8124
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
alone reports a clean pass while they stand. The same holds for CodeRabbit's own
"outside diff range" comments (`cr_outside_diff` in `pr_review.py`'s digest) and for Qodo's
comment-only findings (`qodo_open`): neither opens a `reviewThreads` entry either, so
give each one the same triage the low-confidence findings above already get. Qodo's own
give each one the same triage the low-confidence findings above already get. Copilot's own
section for findings against code the pull request did not change, `Previously missed` in the
review body and `previously_missed` in the digest, is a fourth such class and takes that same
triage. It raises no thread for the same reason the others do not, and a finding it holds is
raised outright rather than withheld, so "the branch did not touch that code" is a reason to
decline one with evidence rather than a reason to leave it unanswered. Qodo's own
`Resolved`/`Dismissed` self-tracked badge is a fast pre-triage signal, not a substitute for
reading the finding, spot-verify against `gh pr diff` rather than trusting it outright.
Copilot's second review-body format states its own finding total, which the digest reads as
Expand Down
7 changes: 6 additions & 1 deletion .github/skills/pr-review-conduct/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ visible comments, routinely still carries a finding nobody has answered. Treatin
alone reports a clean pass while they stand. The same holds for CodeRabbit's own
"outside diff range" comments (`cr_outside_diff` in `pr_review.py`'s digest) and for Qodo's
comment-only findings (`qodo_open`): neither opens a `reviewThreads` entry either, so
give each one the same triage the low-confidence findings above already get. Qodo's own
give each one the same triage the low-confidence findings above already get. Copilot's own
section for findings against code the pull request did not change, `Previously missed` in the
review body and `previously_missed` in the digest, is a fourth such class and takes that same
triage. It raises no thread for the same reason the others do not, and a finding it holds is
raised outright rather than withheld, so "the branch did not touch that code" is a reason to
decline one with evidence rather than a reason to leave it unanswered. Qodo's own
`Resolved`/`Dismissed` self-tracked badge is a fast pre-triage signal, not a substitute for
reading the finding, spot-verify against `gh pr diff` rather than trusting it outright.
Copilot's second review-body format states its own finding total, which the digest reads as
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ jobs:
# Report-only: fail_ci_if_error is false so a Codecov hiccup or an absent token never fails the gate.
- name: Upload coverage to Codecov step
if: hashFiles('**/*Tests*.csproj') != ''
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
directory: ./coverage
fail_ci_if_error: false
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
hashFiles('pyproject.toml') != '' && hashFiles('tests/**') != ''
&& (hashFiles('uv.lock') != '' || hashFiles('requirements*.txt') != '')
continue-on-error: true
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
Expand Down
2 changes: 2 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ The timeout path prints the full digest for the same reason, as a bare `PENDING`

The digest also reports the **suppressed findings** a review body collapses into a `<details>` block. Those reach no review thread, so a loop that polls threads alone reports a clean pass while they stand, and the [merge gate][governance] counts them as outstanding findings either way. `suppressed=N` counts findings rather than blocks, reading the `(N)` the heading carries, since one body holds one block per round and counting blocks reports two findings as one. It covers **every** round rather than the current head, because a suppressed finding has no resolved state for a push to retire: head-scoping read "superseded by a push" as "answered", and a finding nobody replied to left the digest the moment the branch moved, so the run reported zero. That is how four rounds went unanswered across three pull requests in one day, each found by the maintainer rather than by this script. The summary line splits the count as `suppressed=N (on_head=N earlier=N)` and each block is marked with the round that raised it, since a finding on an older round may since be moot and deciding that is the reader's call rather than one the count should make for them. Each block prints whole where a thread body truncates, because a thread can be re-read at its id and a suppressed finding cannot, and it prints under a marker naming what closing it takes: no thread exists to reply on or resolve, so the answer goes in the PR conversation.

The digest reports the **previously missed findings** the second body format collapses under a counted heading of its own, findings the round raises against code the pull request did not change. They are the suppressed section's structural twin, a counted heading wrapping entries that open no inline thread, so `previously_missed=N (on_head=N earlier=N)` is read, counted, split and printed exactly as `suppressed=` is and for the same reasons, and the [merge gate][governance] counts them as outstanding findings the same way. They are counted apart rather than folded into that field because the two take different answers: a suppressed finding is one the reviewer chose to withhold, and this one it raised outright, so the fact that the branch never touched the code is a reason to decline one with evidence rather than a reason to leave it unanswered. No exit code rides on the field, as none rides on `suppressed=`, and it is printed where a round raised one or the `reviews` window was cut, so a repository whose reviewer never raises one sees no permanent zero while a window that could be hiding a round still says so, as `cr_outside_diff=` does and with the same trailing `+`. Each entry's severity arrives as a theme-switched `picture` element whose only textual carrier is its `img` `alt`, the rest being icon URLs that carry a version the set has already bumped once, so the badge is reduced to that text before the block prints and nothing here keys on the markup around it.

Copilot's reviews arrive in two body formats. None of the ten bodies read here in the second carried a `Suppressed comments` heading, so the reading above found nothing in it, and that format states its own finding total instead, as a count per severity that is summed across the badges the line pairs them with, since reading its first number alone reported two findings for a round stating two of one severity and three of another. The markup is masked to one sentinel before any count is read, a badge carrying digits of its own in its attributes, and a run of more than four digits is an identifier rather than a count, which is the second guard under a mask that can terminate early on a bracket a URL carries itself. Every count the mask left is then summed, rather than each being paired with markup beside it, since which side of a count that markup sits on and whether the severity carries any is presentation rather than structure: a bold split, a bare prose split, and a reference-style link each read as one severity under a paired reading. Summing overstates and never understates, which is the direction chosen deliberately, and its named cost is that a line stating a total and then its context, `12 findings across 4 files`, sums to sixteen. A shortfall overstated prints a block a reader checks against the body and blocks no merge, where one suppressed closes the gate on findings nobody answered. `overview=T/M` reports that total beside the number of review threads the round actually opened, `?` for `T` where no total is found in the overview preamble, since a total absent and a total of zero are different readings. A `?` covers a round stating no total, a round stating one only after its first collapsed section, and a round stating one as a bullet, that last blocking at exit 43 as an unvetted metadata label. None of them says the round withheld nothing. `M` comes from the API rather than the review's prose: that format enumerates the findings it opened threads for, and the anchor each entry links is the database id of that thread's own comment, so the threads are the same set already structured. Reading the enumeration instead took six attempts and four of them cancelled a shortfall by counting something that was not an entry, which needs a Markdown parser to tell apart rather than a line scan. A total larger than the thread count is findings raised where polling threads cannot see them, and a `FINDINGS WITH NO THREAD` block follows naming the shortfall. A thread past the hundred `reviewThreads` reads would count in `M` too, so a cut page overstates the shortfall and `threads=` carries the trailing `+` that says so. The comparison holds while the round's enumeration lists what that round raised, and a format listing findings still open from earlier rounds states a total `M` undercounts, which is a shortfall to confirm against the body rather than to act on from the number. The field is present only where the round covering the head is written in that format, and it is head-scoped where `suppressed=` is not, because a total is one round's statement about one diff and the push that changes that diff raises a round stating its own, where a suppressed block carries the finding text an answer is still owed to.

`comment` posts one answer in the pull request conversation. A suppressed finding has no thread, so this is the path that records its disposition. The command reads the pull request node ID in the same run and exposes no ID argument. It confirms the returned comment URL and exact body before it reports success. A missing target exits `65`, and an unconfirmed response exits `66`. An unconfirmed response may still have landed, so its output tells the reader to inspect the conversation before retrying.
Expand Down
Loading
Loading