1. 19 Aug, 2020 1 commit
    • Mehmet Emin INAC's avatar
      Fix race condition issue on approval rules sync job · fe3d48c8
      Mehmet Emin INAC authored
      `Security::SyncReportsToApprovalRulesService` service class depends on
      the attribute of `head_pipeline` of merge requests to be set to sync
      security report results to approval rules.
      
      But the `head_pipeline` attribute of merge requests are set by Sidekiq
      job on background which can be finished before or after the logic of
      `Security::SyncReportsToApprovalRulesService`.
      
      For that reason, we have to move the scheduling of sync approval rule
      job after we set the `head_pipeline` of merge request.
      fe3d48c8
  2. 18 Aug, 2020 39 commits