From 771e04ae978775387e38be59322ba1cb9e07b173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Sun, 12 Jul 2026 19:59:45 +0200 Subject: [PATCH] Add `rustc-perf` PR note when marking PRs as rollup=never --- site/src/github/comparison_summary.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/src/github/comparison_summary.rs b/site/src/github/comparison_summary.rs index 5b42aea69..fa920db77 100644 --- a/site/src/github/comparison_summary.rs +++ b/site/src/github/comparison_summary.rs @@ -352,7 +352,9 @@ fn try_run_body(is_regression: bool, deserves_attention: bool) -> String { // We don't remove `rollup=never` if perf does not deserve attention, as sometimes there are multiple perf. runs on the same PR, // and it's not always the case that the latest version that gets approved is the one for which we ran perf. let rollup_never = if deserves_attention { - "@bors rollup=never" + // We set the PR note to "rustc-perf", which will be interpreted by bors to mark the PR + // as having significant performance results. + "@bors rollup=never rustc-perf" } else { "" };