Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(renovate): set rebaseWhen to conflicted to improve merge-queue compatibility #4730

Conversation

pichlermarc
Copy link
Member

Renovate force-pushes due to the rebaseWhen config, which is set to auto. That means it'll try to rebase once it's behind the base-branch, and that breaks the queue as there was a force-push to the branch while the PR was in the queue.

With conflicted it only does that when there'd be a conflict when merging to main (in that case it'd be fine as the queue would break anyway if I understand the merge-queue concept correctly).

@pichlermarc pichlermarc requested a review from a team May 23, 2024 15:10
@pichlermarc pichlermarc changed the title chore(renovate): set releaseWhen to conflicted to improve merge-queue behavior chore(renovate): set releaseWhen to conflicted to improve merge-queue compatibility May 23, 2024
@dyladan
Copy link
Member

dyladan commented May 24, 2024

Will this work? I think our policy requires pull requests to be up to date before merging. Will the merge queues automatically handle that in the no-conflict case?

@pichlermarc pichlermarc changed the title chore(renovate): set releaseWhen to conflicted to improve merge-queue compatibility chore(renovate): set rebaseWhen to conflicted to improve merge-queue compatibility May 27, 2024
@pichlermarc
Copy link
Member Author

Will this work? I think our policy requires pull requests to be up to date before merging. Will the merge queues automatically handle that in the no-conflict case?

I think this should work fine. I've tried using the merge queue with PRs that were not up-to-date and I was able to merge them. My guess is that the merge-queue somehow overrides this setting.

@pichlermarc pichlermarc added this pull request to the merge queue May 27, 2024
Merged via the queue into open-telemetry:main with commit 969a16f May 27, 2024
19 of 20 checks passed
@pichlermarc pichlermarc deleted the chore/renovate-rebase-when branch May 27, 2024 08:34
Zirak pushed a commit to Zirak/opentelemetry-js that referenced this pull request Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants