Skip to content
Snippets Groups Projects
  1. Sep 30, 2019
  2. Sep 24, 2019
  3. Sep 18, 2019
  4. Sep 16, 2019
  5. Sep 13, 2019
  6. Aug 28, 2019
  7. Aug 22, 2019
  8. Aug 21, 2019
    • George Koltsov's avatar
      Add SortingPreference concern · 8bcc47ac
      George Koltsov authored
      Sorting preference functionality has been extracted
      from `IssuableCollections` to a new `SortingPreference`
      concern in order to reuse this functionality in projects
      (and groups in the future).
      8bcc47ac
  9. Aug 12, 2019
  10. Jul 05, 2019
  11. Jul 04, 2019
    • Nick Thomas's avatar
      Allow asynchronous rebase operations to be monitored · 381468d0
      Nick Thomas authored
      This MR introduces tracking of the `rebase_jid` for merge requests. As
      with `merge_ongoing?`, `rebase_in_progress?` will now return true if a
      rebase is proceeding in sidekiq.
      
      After one release, we should remove the Gitaly-based lookup of rebases.
      It is much better to track this kind of thing via the database.
      Verified
      381468d0
  12. Jun 28, 2019
  13. Jun 22, 2019
    • Stan Hu's avatar
      Enable Gitaly ref name caching for discussions.json · 30167193
      Stan Hu authored
      This eliminates many potential duplicate FindCommit RPCs for the same
      ref, which often occurs in the RelativeLinkFilter#current_commit call.
      On the GitLab 12.0 release post, for example, this would save close to
      400 RPC calls.
      30167193
  14. Jun 20, 2019
    • Oswaldo Ferreir's avatar
      Automatically update MR merge-ref along merge status · 3af348b6
      Oswaldo Ferreir authored
      This couples the code that transitions the `MergeRequest#merge_status`
      and refs/merge-requests/:iid/merge ref update.
      
      In general, instead of directly telling `MergeToRefService` to update
      the merge ref, we should rely on `MergeabilityCheckService` to keep
      both the merge status and merge ref synced. Now, if the merge_status is
      `can_be_merged` it means the merge-ref is also updated to the latest.
      
      We've also updated the logic to be more systematic and less user-based.
      3af348b6
  15. Jun 12, 2019
  16. Jun 11, 2019
  17. Jun 03, 2019
    • Shinya Maeda's avatar
      Abstract auto merge processes · d4b46936
      Shinya Maeda authored
      We have one auto merge strategy today - Merge When Pipeline
      Succeeds.
      
      In order to add more strategies for Merge Train feature,
      we abstract the architecture to be more extensible.
      
      Removed arguments
      
      Fix spec
      d4b46936
  18. May 31, 2019
    • Oswaldo Ferreir's avatar
      Automatically update MR merge-ref along merge status · b965009d
      Oswaldo Ferreir authored
      This couples the code that transitions the `MergeRequest#merge_status`
      and refs/merge-requests/:iid/merge ref update.
      
      In general, instead of directly telling `MergeToRefService` to update
      the merge ref, we should rely on `MergeabilityCheckService` to keep
      both the merge status and merge ref synced. Now, if the merge_status is
      `can_be_merged` it means the merge-ref is also updated to the latest.
      
      We've also updated the logic to be more systematic and less user-based.
      b965009d
  19. Apr 16, 2019
  20. Apr 04, 2019
    • Stan Hu's avatar
      Fix and expand Gitaly FindCommit caching · f2fa7c32
      Stan Hu authored
      https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26248 added
      support for deduplicating FindCommit requests using Gitaly ref name
      caching. However, not all endpoints were covered, and in one case the
      Gitaly wrapper wasn't actually surrounding the serialization step. We
      can safely cache ref names between FindCommit calls for #index and #show
      endpoints for merge requests and pipelines. This can significantly
      reduce the number of FindCommit requests.
      f2fa7c32
  21. Mar 27, 2019
    • Stan Hu's avatar
      Allow ref name caching CommitService#find_commit · db759c5d
      Stan Hu authored
      For a given merge request, it's quite common to see duplicate FindCommit
      Gitaly requests because the Gitaly CommitService caches the request by
      the commit SHA, not by the ref name. However, most of the duplicate
      requests use the ref name, so the cache is never actually used in
      practice. This leads to unnecessary requests that slow performance.
      
      This commit allows certain callers to bypass the ref name to
      OID conversion in the cache. We don't do this by default because it's
      possible the tip of the branch changes during the commit, which
      would cause the caller to get stale data.
      
      This commit also forces the Ci::Pipeline to use the full ref name
      so that caching can work for merge requests.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57083
      db759c5d
  22. Mar 26, 2019
  23. Mar 18, 2019
  24. Mar 06, 2019
  25. Feb 08, 2019
  26. Feb 06, 2019
  27. Feb 05, 2019
  28. Jan 28, 2019
  29. Jan 24, 2019
  30. Dec 21, 2018
    • Oswaldo Ferreir's avatar
      Cache diff highlight in discussions · 7cf49477
      Oswaldo Ferreir authored
      This commit handles note diffs caching, which considerably improves
      the performance on merge requests with lots of comments.
      Important to note that the caching approach taken here is different
      from `Gitlab::Diff::HighlightCache`. We do not reset the whole cache
      when a new push is sent or anything else. That's because discussions
      diffs are persisted and do not change.
      7cf49477
  31. Dec 19, 2018
  32. Dec 07, 2018
  33. Dec 06, 2018
  34. Nov 23, 2018
  35. Nov 12, 2018
  36. Oct 31, 2018
  37. Oct 29, 2018
  38. Oct 26, 2018
Loading