Nudge stale pull requests

Pull requests waiting too long get a polite reminder to the right reviewer.

Engineering · Software · On a schedule · Updated

Works with

  • Slack
  • Email

How do you remind reviewers about stale pull requests?

To remind reviewers about stale pull requests, set a Loop in Maito for each weekday morning. It finds pull requests waiting longer than your limit, checks who should review them, and posts a short reminder in the engineering channel. When a pull request is stuck on failing checks, it tells the author instead.

How it's done today

PRs sit for days and go stale.

What Maito does

  1. Find PRs waiting over a day
  2. Find who should review
  3. Send a reminder

Example

Loop run: Weekday 9:30 AM · Stale pull request nudge

eng
Maito APP 9:30 AM

Nudged reviewers on 4 pull requests this morning. • #892 Retry failed webhooks, waiting 2 days. Priya • #889 Move billing jobs to the queue, waiting 3 days. Tom • #887 Rename payment fields, waiting 2 days. Priya • #881 Coupon codes, waiting 1 day. Sam Not nudged: #885 (Marcus) has waited 4 days, but lint is failing, so I told Marcus instead. Catch: #887 asked Dev to review, but Dev hasn't touched payments code since August and isn't in CODEOWNERS for it. I reminded Priya, the current owner. From the open pull requests and CODEOWNERS.

Tom 9:44 AM

@Maito #889 is still a draft, leave it alone.

Maito APP 9:44 AM

Understood. I'll skip drafts from tomorrow, and I've withdrawn today's reminder to you.

Example complete

How to set it up

On a schedule Nudge stale pull requests
Ask your agent

“Every weekday at 9:30, find pull requests that have waited more than a day for review and remind the reviewer in #eng. If a check is failing, tell the author instead.”

What it won't do

It sees review activity on the pull request, not conversations that happened elsewhere. A reviewer who already agreed to look in a call can still get a reminder.

Questions

More engineering workflows

See all workflows

Put your AI teammate to work.

Set it up in minutes. Start with this one, and let it earn the next one.