Pipelines in reverse order after import
Summary
If you export then import a project with CI setup and some pipelines history, the import will reverse the order.
Steps to reproduce
You need a project in Gitlab with CI. You need to have ran pipelines a few time.
Say the pipelines in the initial project are:
- run A (ran at 16:00)
- run B (ran at 15:00)
- run C (ran at 14:00)
As expected, the latest run shows up at the top of the list while the oldest is far down and you need to scroll the pages to see it. This is all good.
What is the current bug behavior?
Say the pipelines in the initial project are:
- run A (ran at 16:00)
- run B (ran at 15:00)
- run C (ran at 14:00)
They will be imported as:
- C
- B
- A
instead of
- A
- B
- C
So the way it is imported is that the oldest issues shows up first, this is not what we want.
I cannot tell whether the issue happens during export or import.
What is the expected correct behavior?
Import in the right order.
Output of checks
This bug happens on GitLab.com