Merge request does not detect folded commits
Summary
This merge request does not detect that changesets have been folded and still propose to rebase.
Steps to reproduce
- Create a merge request with a single changeset.
- Apply suggestion in a commit from the UI.
- Click on merge on pipeline succeed with squash commit.
- The pipeline fails
- Fold the commits on local repository then push.
Example Project
See https://foss.heptapod.net/tryton/website/-/merge_requests/7
What is the current bug behavior?
The merge request still presents the two commits. The rebase button does nothing.
What is the expected correct behavior?
The merge request should be updated with a single commit and launch a new pipeline.