Commit status should be displayed in merge requests
Steps to reproduce
- Create a merge request that can be merged in
- Change the
state
of the last commit in the merge requested branch to befailed
- Open the merge request page
Current behaviour
Currently the commit status is changed correctly and displays in the Commits tab, however there is no highly visible indication on the merge request that the tests have failed. For example:
Desired behaviour
I expect to see a message in the merge request warning the reviewer that the last commit (and hence the whole branch) is currently failing. This should display in a similar way to the current CI integration. For example:
You should also be able to see the status for the other states (pending
, running
, success
and canceled
) in a similar way.
This is the behaviour that Github has with their pull requests.
(possibly related to !1530 (merged))