mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 17:11:28 +01:00
Owner rulings close a stopped review whose findings were logged in a findings file (GST-3296) (#4568)
When /ship's final review is logged with `--findings `, or the native reader's row lists no findings, the owner's `gstack-approvals rule` rows now close those rows at Step 11.5. Why: harness-evals#515 had all 12 rulings recorded and green CI, yet /ship stopped at Step 11.5 because the rulings had nothing to match. Nothing to do: rows that already work read the same, and an unruled blocker, a noted CRITICAL or an unfinished pass still refuses. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=specialist-batched
This commit is contained in:
1 parent
a529769efd
commit
acb1f4ece9
5 files changed
+182
-14
No files matched your search
+12
-1
@@ -1814,6 +1814,15 @@ closed. So a final review or native reader that stopped on findings the owner th
|
||||
ruled reads `CURRENT` at the one tree its `incomplete` binding names, while a ruling
|
||||
on another branch, at another head, for another finding or by gstack itself
|
||||
closes nothing (harness-evals#498).
|
||||
A stopped Step 9 row logged with `--findings <file>` carries its findings in that
|
||||
file, not on the row, so `gstack-review-read` shows the file's findings on the row
|
||||
(`findings_from` names the file) while the file still derives the counts the row
|
||||
recorded. A Step 11 native row that lists no findings shows the findings of the
|
||||
Step 9 row of the same pass, commit and bound tree, because Step 9 carries Step
|
||||
11's queued findings; rulings must then cover every blocker of that pass. A file
|
||||
that is missing or changed attaches nothing, and any row that claims issues but
|
||||
lists no findings reads `it lists no findings (fcount 0) but claims …` with the
|
||||
cause (harness-evals#515, GST-3296).
|
||||
|
||||
<a id="security-findings-stay-private"></a>
|
||||
**Security findings stay private (GST-3076).** A PR body keeps every earlier
|
||||
@@ -1887,7 +1896,9 @@ finding as `kept` with `reason: owner disposition <id>: <reason>` and
|
||||
row as if the findings were kept, so /ship's gate rules (`--blocking-open`,
|
||||
`--gate-open`, the draft state, the `Gate edits:` counts) read them as kept once it
|
||||
reads the row again. As with rulings, a row derived from a findings file
|
||||
(`status_source: derived`) is not cleared. Nothing is hidden: finish prints each as
|
||||
(`status_source: derived`) is cleared only through the file's findings
|
||||
`gstack-review-read` shows on it, so a missing or changed file clears nothing
|
||||
(GST-3296). Nothing is hidden: finish prints each as
|
||||
`GATE_DISPOSITION: <fingerprint> [gate <gate_id>] at <head12> by <who> at <time>:
|
||||
<reason> — "<words>" (approval <id>)`, ending `(… not applied)` when no review row's
|
||||
range holds it; `gstack-approvals dispositions` prints one `Gate disposition: …`
|
||||
|
||||
Reference in new issue
Block a user