Order project activity after import

Summary

Activity of project is randomly ordered after import from GitLab archive.

Steps to reproduce

  1. Have a project with activity.
  2. Export it.
  3. Import it.
  4. Look at activity of imported project.

Example Project

https://gitlab.com/AlexWayfer/test-project/activity

https://gitlab.com/AlexWayfer/imported-test-project/activity

(there is also a strange "AlexWayfer left" event)

What is the current bug behavior?

Activity of imported project is randomly sorted.

What is the expected correct behavior?

Activity of imported project is the same as of original.

Relevant logs and/or screenshots

image

image

Output of checks

This bug happens on GitLab.com

Possible fixes

.order(:created_at)

Assignee Loading
Time tracking Loading