Repository navigation
Lower the line cap of the Bazel group to its count - #2260
Mikola Lysenko (mikolalysenko) wants to merge 1 commit into
Conversation
The changes to the Bazel support that landed over the last two days each set the cap of the `bazel` group to one shared value, 5300, so that they did not meet on that line. They are all in: the group counts 5202 lines, and the cap is that count again (`scripts/loc-budget.py --lower`). The two other groups are over their caps on main and are left as they are: this change is about the Bazel group alone. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PR SummaryLow Risk Overview No other groups are touched; Reviewed by Cursor Bugbot for commit 87034fc. Configure here. |
|
[agent] PR shepherd: review brief What it does Risk Look here Verified
Changes I made Open questions Generated by Claude Code |
The line cap of the
bazelgroup inscripts/loc-budget.jsonis the group's count again, 5202.Why
The changes to the Bazel support that landed over the last two days each raised that cap. With each one setting its own count, every two of them conflicted on that one line, so the later ones all set one shared value, 5300, above what they reach together. They have all landed. The group counts 5202 implementation lines, and
scripts/loc-budget.pyasks that a cap is the count a reviewer saw.What changes
One number:
"max": 5300becomes"max": 5202for thebazelgroup, written bypython3 -B scripts/loc-budget.py --lower.Not changed
lock-readers(39,869 against a cap of 30,462) andlock-writers(106,016 against 88,362) are over their caps on main.--lowernever raises a cap, and those groups grew in changes that are not about Bazel, so they are left for whoever owns them to raise where a reviewer sees it. CI only warns on this file.How it was checked
python3 -B scripts/loc-budget.pyprintsbazel 5202 / 5202 okon this branch.Code review
One note, and no change for it: a cap that equals the count has no headroom, so the next two changes to the Bazel group that are open at the same time meet on this line again. That is how the script is meant to work (a change that grows a group raises the number where a reviewer sees it), and the series that needed the shared value has landed.
🤖 Generated with Claude Code