Deployments should track picked merge requests
What does this MR do?
In order to connect deployment to merge requests when the merge commit is cherry-picked this MR implements a new system note.
When a cherry pick is performed with the API or the web UI, a system note will be added to the merge request.
That system note also has a reference to the cherry-pick commit stored in commit_id
When the LinkMergeRequestsServices
is executed, it link also cherry-picked merge requests thanks to the new system note.
This new feature is behind the :track_mr_picking
feature flag
Related to #36130 (closed)
Screenshots
The new system note will be shown like this (3rd from the top)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entryThe change uses a feature flag -
Documentation (if required)The change uses a feature flag -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content