1. 24 Aug, 2018 2 commits
    • Sean McGivern's avatar
      Fix N+1 for CI artifacts in MR widget · 079c55f3
      Sean McGivern authored
      This is a little more subtle: the more matching artifacts there are, the more
      queries we'd run.
      079c55f3
    • Sean McGivern's avatar
      Reduce queries needed for CI artifacts in MR widget · 0c8e707b
      Sean McGivern authored
      While the individual queries here are reasonable, these methods are only called
      together: so we always call `sast_artifact`, `dependency_scanning_artifact`,
      etc. in the same request, and always for the merge request widget.
      
      That means that we can save a few queries by just getting the artifacts once,
      and filtering in Ruby.
      0c8e707b
  2. 23 Aug, 2018 2 commits
  3. 22 Aug, 2018 36 commits