Use standard commit message for merge train ref
Release notes
Problem to solve
The merge train ref currently uses a non-standard commit message. In order to be able to safely merge from the train ref for merge methods that generate merge commits, we need the train ref to use the standard merge commit message.
Proposal
Do not set the merge_commit_message
attribute when calling MergeRequests::CreateRefService
. Let the merge service handle the commit message generation.
- This change needs to be feature flagged, independently of the flag
merge_trains_create_ref_service
(if that flag is still present). -
Do not change the merge commit for
MergeRequests::MergeToRefService
, as we might want to rely on the legacy commit message for #421588 (closed).
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.