Commit Graph

10 Commits

Author SHA1 Message Date
GitLab Bot c6f0b221b7 Add latest changes from gitlab-org/gitlab@master 2020-05-12 00:10:11 +00:00
GitLab Bot 43e3dc2f95 Add latest changes from gitlab-org/gitlab@master 2020-02-12 18:09:21 +00:00
GitLab Bot fb73ca3398 Add latest changes from gitlab-org/gitlab@master 2019-12-27 15:08:16 +00:00
David Wilkins 0cdd69ed5f Apply bindings to querys from QueryRecorder
- local tests that assume certain parameters to queries from
  QueryRecorder fail. These same tests don't fail in the runners,
  and I can't tell why. This fixes the local failures
2019-08-28 09:37:05 +00:00
Thong Kuah f0391c2517 Add frozen_string_literal to spec/support
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Kamil Trzciński 3f543cd2c9 Fix N+1 problem in `JobsController#index`
This adds missing preloads, and introduces
additional n+1 matcher to look for
duplicates.
2019-06-19 12:23:05 +02:00
Stan Hu 3a90ecd2c2 Clean QueryRecorder backtrace
This makes it much easier to debug N+1 queries via QueryRecorder by
eliminating unnecessary lines.
2019-06-14 16:13:07 -07:00
Jasper Maes 624a1cdab4 Upgrade Rails to 5.1.6.1
Model.new.attributes now also returns encrypted attributes.
2019-04-23 08:31:23 +08:00
Stan Hu cbc20d2b7f Remove N+1 query for author in issues API
This was being masked by the statement cache because only one author was used
per issue in the test..

Also adds support for an Rspec matcher `exceed_all_query_limit`.
2018-06-04 16:39:33 -07:00
Rémy Coutable 023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00