review-bot: over-cap reply to a requested review repeats every poll

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
shell
Domain
tooling

Research direction

Start in scripts/review-bot.sh and trace the over-MAX_DIFF reply through retrigger_after and bot_may_ask. Check how the bot records request responses or cap replies, then verify that repeated polls produce one reply for a single over-cap review request while later requests still behave normally.

Written by the indexing model from the issue text.

Description

When someone asks for a review on a PR over the `MAX_DIFF` cap, `scripts/review-bot.sh` posts the "Not reviewing this one: N changed lines is over the 3000 line cap" reply.
It does not record that the request was answered, so `retrigger_after` / `bot_may_ask` see the same request on the next poll and reply again.

epiforecasts/BVDOutbreakSize#891 collected 207 of these replies on 29 Sep 2026 from a single request comment.
Adding the `no-review` label stopped it.

Suggested fix: after the cap reply, write a ledger entry (or compare against the time of the bot's last cap reply) so one request gets one reply.

This was opened by a bot. Please ping @seabbs for any questions.

Dominant language
Shell
Stars
0
Forks
0
Avg merge
4d 4h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from seabbs/dotfiles

All issues in seabbs/dotfiles

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.