From 136f39d3816e7fd45dc047c14af62a712b93b2cf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 18 Nov 2025 19:40:08 +0000 Subject: [PATCH 1/2] Initial plan From 580bc179a9ca3aaa33b2c2043e360590defd1334 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 18 Nov 2025 19:50:21 +0000 Subject: [PATCH 2/2] Fix mergebot staleness comments to respect tooManyOwners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When there are too many owners (>50), use a placeholder "@«maintainers»" instead of listing all owners in staleness comments to avoid spam. Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com> --- packages/mergebot/src/compute-pr-actions.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/mergebot/src/compute-pr-actions.ts b/packages/mergebot/src/compute-pr-actions.ts index 72c88135b2..855636a30c 100644 --- a/packages/mergebot/src/compute-pr-actions.ts +++ b/packages/mergebot/src/compute-pr-actions.ts @@ -176,7 +176,9 @@ function extendPrInfo(info: PrInfo): ExtendedPrInfo { const ownersToPing = otherOwners.length === 0 ? ["«anyone?»"] - : otherOwners.filter((o) => !approvedReviews.some((r) => o === r.reviewer)); + : tooManyOwners + ? ["«maintainers»"] + : otherOwners.filter((o) => !approvedReviews.some((r) => o === r.reviewer)); const mkStaleness = makeStaleness(info.now, info.author, ownersToPing); if (canBeSelfMerged) return (