Skip to content

Handle merge conflicts when unrolling up PR - #1426

Merged
rylev merged 2 commits into
rust-lang:masterfrom
rylev:handle-merge-conflicts
Aug 26, 2022
Merged

Handle merge conflicts when unrolling up PR#1426
rylev merged 2 commits into
rust-lang:masterfrom
rylev:handle-merge-conflicts

Conversation

@rylev

@rylev rylev commented Aug 25, 2022

Copy link
Copy Markdown
Member

Fixes #1424

We don't need to completely bail when one rollup PR fails to merge with the previous master. This handles that more gracefully.

The message posted to PRs will now look this this:

📌 Perf builds for each rolled up PR:

PR# Perf Build Sha
#100842 29363de9
#100839 ❌ conflicts merging '29363de9' into previous master ❌
#100822 18a1cfd45
#100821 82059be8

previous master: 29363de9

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rylev
rylev requested a review from Mark-Simulacrum August 25, 2022 14:53
@Mark-Simulacrum

Copy link
Copy Markdown
Member

I think build $sha expects the full SHA, which might be confusing when we're only giving short SHAs in the UI. It's not too bad -- easy to click through and get the full SHA, so maybe the smaller space is worth it.

@Mark-Simulacrum Mark-Simulacrum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will let you decide whether to merge as-is or go back to full length SHAs.

@rylev
rylev enabled auto-merge August 26, 2022 09:36
@rylev
rylev merged commit 79ba00d into rust-lang:master Aug 26, 2022
@rylev
rylev deleted the handle-merge-conflicts branch August 26, 2022 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GH perf bot missing perf builds message completely for rollup

2 participants