๐ : pending jobs shows last in job list
juwit opened this issue ยท 1 comments
juwit commented
Describe the bug
When starting a new job, when the runner is down, the job stays in PENDING
state.
On the job list, it appears with the id '1', as the last element of the list.
To Reproduce
Steps to reproduce the behavior:
- Go to a stack page
- Shut down the runner
- Click on Run
- Go back to stack page
- See wrong order
Expected behavior
Job should appear as the first element of the list.
Desktop (please complete the following information):
- OS: Ubuntu Linux 20.10
- Browser : Firefox 84
- Version: Gaia 2.2.0-SNAPSHOT
Additional context
Add any other context about the problem here.
juwit commented
Jobs are ordered by start_date.
As "Pending" jobs do not have such a date, they appear last.