BeanBot: checks that fail on main blamed on the pull request, approvals of unread code, and @fix pushes nobody built #31

Open
opened 2026-11-23 08:14:07 +00:00 by madebyjordan · 2 comments
Member

BeanBot reviewed MagicBeanDev/Longshot#1999 ten times and pushed to it three times in just over two days. Its first review was good: it read every file and its unroller points (L1 to L10) were real bugs. After that it went wrong in four ways, each of which cost a round trip. All links are to that PR. Filed here because I could not find a repository for BeanBot itself: please move it if it belongs elsewhere.

1. It blames the PR for a check that fails on main

Six reviews carry the same line, L22: "The check Guide screenshots / Guide images and local UI source review fails on this head and passes on the base branch: Failing after 48s."

  • The check failed on main at every base commit its reviews name: f1f2dc5b, fd7dc40d, 7c23d2be, 9dd41326, a2dc5385, 753fb5af and 0e32bc10 (the push runs' statuses on those commits).
  • "Failing after 48s" is the same text in all six, across five different heads. It is the run on c8371016; the runs on the later heads failed after 11 to 13 s. The line is carried forward, not read again.
  • The last review (MagicBeanDev/Longshot#1999 (comment)) came 81 seconds after a comment listing the failing main commits (MagicBeanDev/Longshot#1999 (comment)) and blocks on L22 again.

Fix: before a failing check counts against a PR, read that check's status on the base commit (and on main's head). Failing there too: say so and don't hold it against the PR.

2. The verdict follows that check, not the code

Review (its id) Head Verdict L22
2103, 2110, 2113, 2119 c8371016 to 3a7aca49 Request changes counted against the PR (2110 to 2119 say the verdict stands on it)
2122, 2233 cfd2544f, 10b8e9f2 Approve listed, not held
2367 b97a4c79 Approve "not held against it"
2381, 2427 2d4d1550, 64318392 Request changes blocking, the only blocking point

The check's state was the same throughout (failing, on the PR and on its base).

Fix: a blocking verdict needs a finding in the change. A check's state alone is a note, with the base's state beside it.

3. Re-reviews say they did not read the changed code, and still approve

Every review after the first says so in its own "Reviewed" line, for example "The large unroller, remaining changed code and tests were not read in full" (2367). They re-check the list of open points instead.

  • 2367 recommends approval of b97a4c79 with "The code is ready: only testing is left". That head added a new refusal path to unroll_one with a bug in it: a refused loop left its constants' ids in the constant table, and the next loop was handed an id nothing defines (fixed in 64318392, test R10). It was in the part the review says it did not read.
  • For fairness: the first, full read (2050) also missed things. A swapped opcode number (kISub = 129) and a stale dead-store index were found by the author's own review of the same head the same day (MagicBeanDev/Longshot#1999 (comment)), and a cold read on 2026-11-23 found three more gaps of the same kind. No reviewer finds everything; the point is that the nine later reviews read the unroller in part at most, by their own account, while it kept changing.

Fix: a re-review reads the diff between the head it last reviewed and the new one, in full, before it says anything about the code. If it did not, the recommendation says "not re-read" in place of "the code is ready".

4. @fix pushes code nobody built, and builds its own suggestions

  • 0ccb8e22 and 10b8e9f2 were pushed with "Nothing was built or run". The author had to build and test the second by hand before anyone could rely on it (MagicBeanDev/Longshot#1999 (comment)).
  • Both implemented BeanBot's own L20 ("keep the measured combinations on the new path") as a gate on one card, one driver build and one FSR 4 version string. The human review that followed requested changes on exactly that gate (MagicBeanDev/Longshot#1999 (comment)), and the work was redone.
  • 10b8e9f2 also added a second topic (scripts/devtools/ab.py), which the same human review asked to be taken out.
  • It edited the description and unticked checklist boxes, which check_pr_description.py does not allow on a PR that is ready for review.

Fix: @fix builds what it touches and runs the checks that read those files before it pushes, or opens its change as a suggestion and does not push. It keeps to the PR's topic. A design decision (a gate, a default) is left to the author with the options named.

Smaller

  • L19 asks, in every review, for time to the first playable frame and peak VRAM. Neither can be measured without new instrumentation, which is a PR of its own. A point that cannot be met inside the PR should be asked once, as a follow-up.
  • It told the author to ask the Test Farm for the RADV, RDNA 4 and Steam Deck runs. The farm does not build FSR 4 and refused (2026-11-23). BeanBot could know what the farm can run.
  • The first review was by gpt-6.2-sol, the nine later ones by gpt-6.1-terra. The drop in what was read lines up with that.
BeanBot reviewed https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999 ten times and pushed to it three times in just over two days. Its first review was good: it read every file and its unroller points (L1 to L10) were real bugs. After that it went wrong in four ways, each of which cost a round trip. All links are to that PR. Filed here because I could not find a repository for BeanBot itself: please move it if it belongs elsewhere. ### 1. It blames the PR for a check that fails on `main` Six reviews carry the same line, L22: "The check `Guide screenshots / Guide images and local UI source review` fails on this head and passes on the base branch: Failing after 48s." - The check failed on `main` at every base commit its reviews name: `f1f2dc5b`, `fd7dc40d`, `7c23d2be`, `9dd41326`, `a2dc5385`, `753fb5af` and `0e32bc10` (the push runs' statuses on those commits). - "Failing after 48s" is the same text in all six, across five different heads. It is the run on `c8371016`; the runs on the later heads failed after 11 to 13 s. The line is carried forward, not read again. - The last review (https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999#issuecomment-75956) came 81 seconds after a comment listing the failing `main` commits (https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999#issuecomment-75946) and blocks on L22 again. **Fix:** before a failing check counts against a PR, read that check's status on the base commit (and on `main`'s head). Failing there too: say so and don't hold it against the PR. ### 2. The verdict follows that check, not the code | Review (its id) | Head | Verdict | L22 | |---|---|---|---| | 2103, 2110, 2113, 2119 | `c8371016` to `3a7aca49` | Request changes | counted against the PR (2110 to 2119 say the verdict stands on it) | | 2122, 2233 | `cfd2544f`, `10b8e9f2` | Approve | listed, not held | | 2367 | `b97a4c79` | Approve | "not held against it" | | 2381, 2427 | `2d4d1550`, `64318392` | Request changes | blocking, the only blocking point | The check's state was the same throughout (failing, on the PR and on its base). **Fix:** a blocking verdict needs a finding in the change. A check's state alone is a note, with the base's state beside it. ### 3. Re-reviews say they did not read the changed code, and still approve Every review after the first says so in its own "Reviewed" line, for example "The large unroller, remaining changed code and tests were not read in full" (2367). They re-check the list of open points instead. - 2367 recommends approval of `b97a4c79` with "The code is ready: only testing is left". That head added a new refusal path to `unroll_one` with a bug in it: a refused loop left its constants' ids in the constant table, and the next loop was handed an id nothing defines (fixed in `64318392`, test `R10`). It was in the part the review says it did not read. - For fairness: the first, full read (2050) also missed things. A swapped opcode number (`kISub = 129`) and a stale dead-store index were found by the author's own review of the same head the same day (https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999#issuecomment-64240), and a cold read on 2026-11-23 found three more gaps of the same kind. No reviewer finds everything; the point is that the nine later reviews read the unroller in part at most, by their own account, while it kept changing. **Fix:** a re-review reads the diff between the head it last reviewed and the new one, in full, before it says anything about the code. If it did not, the recommendation says "not re-read" in place of "the code is ready". ### 4. `@fix` pushes code nobody built, and builds its own suggestions - `0ccb8e22` and `10b8e9f2` were pushed with "Nothing was built or run". The author had to build and test the second by hand before anyone could rely on it (https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999#issuecomment-67525). - Both implemented BeanBot's own L20 ("keep the measured combinations on the new path") as a gate on one card, one driver build and one FSR 4 version string. The human review that followed requested changes on exactly that gate (https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999#issuecomment-67936), and the work was redone. - `10b8e9f2` also added a second topic (`scripts/devtools/ab.py`), which the same human review asked to be taken out. - It edited the description and unticked checklist boxes, which `check_pr_description.py` does not allow on a PR that is ready for review. **Fix:** `@fix` builds what it touches and runs the checks that read those files before it pushes, or opens its change as a suggestion and does not push. It keeps to the PR's topic. A design decision (a gate, a default) is left to the author with the options named. ### Smaller - L19 asks, in every review, for time to the first playable frame and peak VRAM. Neither can be measured without new instrumentation, which is a PR of its own. A point that cannot be met inside the PR should be asked once, as a follow-up. - It told the author to ask the Test Farm for the RADV, RDNA 4 and Steam Deck runs. The farm does not build FSR 4 and refused (2026-11-23). BeanBot could know what the farm can run. - The first review was by `gpt-6.2-sol`, the nine later ones by `gpt-6.1-terra`. The drop in what was read lines up with that.
Member

Possibly related, for context:

  • PR #19 feat(skills): review gives a judged verdict with its reason first, says what it read and fixed, and takes no regression — Merged review-skill changes address verdict rationale and full code reading, but not all reported check-status and fix-push failures.
  • PR #9 feat(skills): batch-review, a ranked review pass over a repository's open pull requests, one subagent each, code only — Merged batch-review skill permits reviewer fixes to be pushed; related to unbuilt, off-topic pushes.
  • PR #21 feat(skills): review leads with a recommendation, asks before approving, and judges measurements, other systems and switches — Merged review guidance on recommendations and judging measurements; overlaps parts of the report.
Possibly related, for context: - PR #19 feat(skills): review gives a judged verdict with its reason first, says what it read and fixed, and takes no regression — Merged review-skill changes address verdict rationale and full code reading, but not all reported check-status and fix-push failures. - PR #9 feat(skills): batch-review, a ranked review pass over a repository's open pull requests, one subagent each, code only — Merged batch-review skill permits reviewer fixes to be pushed; related to unbuilt, off-topic pushes. - PR #21 feat(skills): review leads with a recommendation, asks before approving, and judges measurements, other systems and switches — Merged review guidance on recommendations and judging measurements; overlaps parts of the report.
Author
Member

The write-up above is from one pull request. This is the same thing counted across the project, so it doesn't read as one PR's bad luck.

What was counted: every Longshot pull request updated from 2026-11-20 to 2026-11-23 (1,053 of them), through the forge's API. BeanBot reviewed 173 of them, by 43 authors, in 293 reviews, and pushed 63 @fix commits to 27. Every "fails on this head and passes on the base branch" line was checked against the push run's status on the base commit the review names, and on the commit that was main's head when the review was posted.

1. A check that fails on main is blamed on the pull request: 15 pull requests, 8 authors

45 such lines name a check that also runs on main (Guide screenshots 31, Website build 14):

The base commit main's head at the time Lines What it means
fails fails 38 the claim is false: nothing the author does clears it
fails passes 6 the PR was behind a main that had been fixed: a rebase clears it
passes fails 1 the PR's own

The 38 are in 27 reviews on 15 pull requests, and 12 of those reviews (on 7 pull requests) say the verdict "stands on" that check. The first of each:

In 17 of the 54 lines of this kind, the "Failing after ..." text is the one an earlier review gave for a different head, and is not the run on the head being reviewed.

Half of this is not BeanBot's: the Guide screenshots check failed on 163 of main's 168 commits in these four days, which is its own problem. But a reviewer that reports a red main as the author's failure makes that problem every contributor's.

2. Approvals of code the review says it did not read: 27 of 58

  • All 58 approvals are from gpt-6.1-terra. 27 of them say in their own "Reviewed" line that something was not read in full, and in about 22 it is the changed code itself ("The full diff and all changed files were not read in full", "the changed code files and tests were not read in full").
  • 50 of the 120 re-reviews say so (42 %), against 32 of the 173 first reviews (18 %).
  • gpt-6.2-sol wrote 125 reviews, 8 of them with that line, and no approval.

3. @fix: 63 pushes, none built

Every one of the 63 says nothing was built or no tests were run. Two more cases, beside PR 1999's gate, where the push removed what the pull request was for:

  • MagicBeanDev/Longshot#2258 (comment): "BeanBot's commit had undone the fix ... The PR would have merged as a no-op with the bug still there." A maintainer replaced it by hand.
  • MagicBeanDev/Longshot#1911 (comment): the @fix commit deleted the author's feature (1,580 lines), leaving "its only file ... a test checking that the feature in the title is not there".

For fairness: on none of the 63 did a check that had passed on the head BeanBot reviewed before it go red. The checks don't build the game, so that says little either way.

What did not hold across the project

  • The verdict turning round (point 2 above): only 2 pull requests changed direction twice or more, PR 1999 and MagicBeanDev/Longshot#2337. It is a long-PR problem, not a general one.
  • Complaints from other authors: I looked for them and found almost none. Most replies to BeanBot answer its points one by one, and several thank it. Its first reviews are worth having.

The one fix that would do most

Point 1 is mechanical: before a failing check is written up, read that check's status on the base commit and on main's head. That alone would have removed 38 of these lines and 12 blocking verdicts in four days.

The scripts and the fetched data are on my PC if anyone wants the per-review list.

The write-up above is from one pull request. This is the same thing counted across the project, so it doesn't read as one PR's bad luck. **What was counted:** every Longshot pull request updated from 2026-11-20 to 2026-11-23 (1,053 of them), through the forge's API. BeanBot reviewed 173 of them, by 43 authors, in 293 reviews, and pushed 63 `@fix` commits to 27. Every "fails on this head and passes on the base branch" line was checked against the push run's status on the base commit the review names, and on the commit that was `main`'s head when the review was posted. ### 1. A check that fails on `main` is blamed on the pull request: 15 pull requests, 8 authors 45 such lines name a check that also runs on `main` (Guide screenshots 31, Website build 14): | The base commit | `main`'s head at the time | Lines | What it means | |---|---|---|---| | fails | fails | 38 | the claim is false: nothing the author does clears it | | fails | passes | 6 | the PR was behind a `main` that had been fixed: a rebase clears it | | passes | fails | 1 | the PR's own | The 38 are in 27 reviews on 15 pull requests, and 12 of those reviews (on 7 pull requests) say the verdict "stands on" that check. The first of each: - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1977#issuecomment-62674 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2007#issuecomment-63514 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2009#issuecomment-63753 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1859#issuecomment-63827 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2017#issuecomment-63960 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1999#issuecomment-64590 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2008#issuecomment-64611 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1927#issuecomment-65559 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2062#issuecomment-67410 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2102#issuecomment-68500 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2168#issuecomment-70553 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2204#issuecomment-71654 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2214#issuecomment-71828 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2227#issuecomment-72744 - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2337#issuecomment-75762 In 17 of the 54 lines of this kind, the "Failing after ..." text is the one an earlier review gave for a different head, and is not the run on the head being reviewed. Half of this is not BeanBot's: the Guide screenshots check failed on 163 of `main`'s 168 commits in these four days, which is its own problem. But a reviewer that reports a red `main` as the author's failure makes that problem every contributor's. ### 2. Approvals of code the review says it did not read: 27 of 58 - All 58 approvals are from `gpt-6.1-terra`. 27 of them say in their own "Reviewed" line that something was not read in full, and in about 22 it is the changed code itself ("The full diff and all changed files were not read in full", "the changed code files and tests were not read in full"). - 50 of the 120 re-reviews say so (42 %), against 32 of the 173 first reviews (18 %). - `gpt-6.2-sol` wrote 125 reviews, 8 of them with that line, and no approval. ### 3. `@fix`: 63 pushes, none built Every one of the 63 says nothing was built or no tests were run. Two more cases, beside PR 1999's gate, where the push removed what the pull request was for: - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2258#issuecomment-73740: "BeanBot's commit had undone the fix ... The PR would have merged as a no-op with the bug still there." A maintainer replaced it by hand. - https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/1911#issuecomment-65046: the `@fix` commit deleted the author's feature (1,580 lines), leaving "its only file ... a test checking that the feature in the title is *not* there". For fairness: on none of the 63 did a check that had passed on the head BeanBot reviewed before it go red. The checks don't build the game, so that says little either way. ### What did not hold across the project - **The verdict turning round** (point 2 above): only 2 pull requests changed direction twice or more, PR 1999 and https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2337. It is a long-PR problem, not a general one. - **Complaints from other authors:** I looked for them and found almost none. Most replies to BeanBot answer its points one by one, and several thank it. Its first reviews are worth having. ### The one fix that would do most Point 1 is mechanical: before a failing check is written up, read that check's status on the base commit and on `main`'s head. That alone would have removed 38 of these lines and 12 blocking verdicts in four days. The scripts and the fetched data are on my PC if anyone wants the per-review list.
madebyjordan changed title from BeanBot: four things that went wrong on Longshot PR 1999, and what would fix them to BeanBot: checks that fail on main blamed on the pull request, approvals of unread code, and @fix pushes nobody built 2026-11-23 09:03:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Tooling#31
No description provided.