BeanBot: checks that fail on main blamed on the pull request, approvals of unread code, and @fix pushes nobody built #31
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Tooling#31
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
mainSix reviews carry the same line, L22: "The check
Guide screenshots / Guide images and local UI source reviewfails on this head and passes on the base branch: Failing after 48s."mainat every base commit its reviews name:f1f2dc5b,fd7dc40d,7c23d2be,9dd41326,a2dc5385,753fb5afand0e32bc10(the push runs' statuses on those commits).c8371016; the runs on the later heads failed after 11 to 13 s. The line is carried forward, not read again.maincommits (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
c8371016to3a7aca49cfd2544f,10b8e9f2b97a4c792d4d1550,64318392The 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.
b97a4c79with "The code is ready: only testing is left". That head added a new refusal path tounroll_onewith 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 in64318392, testR10). It was in the part the review says it did not read.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.
@fixpushes code nobody built, and builds its own suggestions0ccb8e22and10b8e9f2were 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)).10b8e9f2also added a second topic (scripts/devtools/ab.py), which the same human review asked to be taken out.check_pr_description.pydoes not allow on a PR that is ready for review.Fix:
@fixbuilds 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
gpt-6.2-sol, the nine later ones bygpt-6.1-terra. The drop in what was read lines up with that.Possibly related, for context:
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
@fixcommits 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 wasmain's head when the review was posted.1. A check that fails on
mainis blamed on the pull request: 15 pull requests, 8 authors45 such lines name a check that also runs on
main(Guide screenshots 31, Website build 14):main's head at the timemainthat had been fixed: a rebase clears itThe 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 redmainas the author's failure makes that problem every contributor's.2. Approvals of code the review says it did not read: 27 of 58
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").gpt-6.2-solwrote 125 reviews, 8 of them with that line, and no approval.3.
@fix: 63 pushes, none builtEvery 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:
@fixcommit 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 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.
BeanBot: four things that went wrong on Longshot PR 1999, and what would fix themto BeanBot: checks that fail on main blamed on the pull request, approvals of unread code, and @fix pushes nobody built