Jobs not in order after restart

Summary

Build jobs got executed in random order after I restarted a whole pipeline.

Steps to reproduce

  • Have a few (3 in my case) stages. Each stage 5+ jobs. I also had some of them allow_failure: true
  • Wait until about a half of them is completed
  • Cancel the pipeline (big red cross), not an individual job
  • [Maybe optional] restart CI runner server
  • Hit Restart all on pipeline (not individual job)

Actual behavior

Jobs get executed in random order. At the end all of them completed.

Expected behavior

Jobs execute in the order specifies in YML. Like if I just pushed another commit.

Relevant logs and/or screenshots

Screen_Shot_2017-02-12_at_18.47.46

Environment description

  • Specific runner
  • DO 512MB Ubuntu 16
  • Docker and Shell runner

Used GitLab Runner version

Version:      1.10.4
Git revision: b32125f
Git branch:   1-10-stable
GO version:   go1.7.5
Built:        Tue, 31 Jan 2017 14:39:18 +0000
OS/Arch:      linux/amd64