MR widget should consider merge requests not being closed / merged by an user

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10099 for instance was not closed by an user. It was automatically closed since it was stuck on a locked state for more than 24 hours (gitlab-ce%"9.4" behavior).

On gitlab-ce%"9.5", we're automatically 'Opening' or 'Merging' whenever the Merge Request finds itself hanging on a 'locked' state.

This means that the MR can find itself on the following state:

Captura_de_tela_2017-08-16_19.39.34

Expected behavior:

  • User should see a 'Merged' message without the empty avatar
  • User should see a 'Closed' message without the empty avatar

Technical details

On the MR JSON API:

  • merge_event can be null
  • closed_event can be null
Edited Aug 16, 2017 by Oswaldo Ferreira
Assignee Loading
Time tracking Loading