1. 12 Jul, 2020 1 commit
    • Stan Hu's avatar
      Fail jobs that fail to render registration response · f034fcf8
      Stan Hu authored
      When a runner registers for a build, the JSON payload may require
      loading a few Gitaly RPCs, which may fail. If these any of these fail,
      the build will be appear as though it has been assigned to the runner,
      but the runner will have received a 500 error and not proceed.
      
      To recover from situations like this, we try to render the payload in
      `RegisterJobService`. If that fails, we mark the job as failed with a
      `scheduler_failure` so that it may be retried again.
      
      This came out of https://gitlab.com/gitlab-org/gitlab/-/issues/227215.
      f034fcf8
  2. 11 Jul, 2020 10 commits
  3. 10 Jul, 2020 29 commits