Do not require manual rebase for semi-linear and fast-forward merge trains
Release notes
Problem to solve
Currently, semi-linear and fast-forward merge trains require a manual rebase prior to adding to the train when the target branch is ahead of the source branch. While this is technically on-par with those merge methods when merge trains are disabled, it is an arbitrary limitation because merge trains can already auto-rebase.
Proposal
Merge trains support automatic rebases internally. In the first iteration, we can remove this limitation from the mergeability check.
A downside of this is that the mergeability check would not perform a rebase internally, so rebase conflicts would not be caught until asynchronously after the train ref fails to be created (see #421025 for more information about how the mergeability check could be updated to support rebases).
Intended users
Feature Usage Metrics
Does this feature require an audit event?
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.