<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/api/issues.rb, branch fix-foo-test</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Remove N+1 query for author in issues API</title>
<updated>2018-06-04T23:39:33+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-06-03T10:31:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cbc20d2b7f8c73e2892c0c458619df2a9fe0c9ab'/>
<id>cbc20d2b7f8c73e2892c0c458619df2a9fe0c9ab</id>
<content type='text'>
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`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate cached N+1 queries for projects in Issue API</title>
<updated>2018-05-31T07:18:05+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-05-31T07:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ef253a1ee7c03edf9773574a843b5c458e9add36'/>
<id>ef253a1ee7c03edf9773574a843b5c458e9add36</id>
<content type='text'>
In CE, every `Issue` entity is also a `ProjectEntity`, which calls
`entity&amp;.project.try(:id)` to show the project ID. In an API
request with 100 issues, this would hit the Rails statement cache 100 times
for the same project and cause unnecessary overhead as related models would
also be loaded.

In EE, we call `Issue#supports_weight?` for each issue, which then calls
`project&amp;.feature_available?(:issue_weights)`. If the project is not
preloaded, this incurs additional overhead, as each individual Project
object has to be queried. This can lead to a significant performance hit.
In loading the CE project with 100 issues, this contributed to at least 22%
of the load time.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/47031 for why testing this
is a bit tricky.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In CE, every `Issue` entity is also a `ProjectEntity`, which calls
`entity&amp;.project.try(:id)` to show the project ID. In an API
request with 100 issues, this would hit the Rails statement cache 100 times
for the same project and cause unnecessary overhead as related models would
also be loaded.

In EE, we call `Issue#supports_weight?` for each issue, which then calls
`project&amp;.feature_available?(:issue_weights)`. If the project is not
preloaded, this incurs additional overhead, as each individual Project
object has to be queried. This can lead to a significant performance hit.
In loading the CE project with 100 issues, this contributed to at least 22%
of the load time.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/47031 for why testing this
is a bit tricky.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '44799-api-naming-issue-scope' into 'master'</title>
<updated>2018-05-21T08:56:42+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2018-05-21T08:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7381a33f696ca74b86a21f0b66e87be92d2efcc1'/>
<id>7381a33f696ca74b86a21f0b66e87be92d2efcc1</id>
<content type='text'>
Resolve "API naming for issue scope"

Closes #44799

See merge request gitlab-org/gitlab-ce!18935</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve "API naming for issue scope"

Closes #44799

See merge request gitlab-org/gitlab-ce!18935</pre>
</div>
</content>
</entry>
<entry>
<title>Add created_by_me and assigned_to_me scopes</title>
<updated>2018-05-21T01:55:30+00:00</updated>
<author>
<name>Mark Chao</name>
<email>mchao@gitlab.com</email>
</author>
<published>2018-05-14T02:07:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d839b880a256f208ae5a0d877765bc5fcbfcd44d'/>
<id>d839b880a256f208ae5a0d877765bc5fcbfcd44d</id>
<content type='text'>
Deprecate corresponding dash versions created-by-me and assigned-to-me
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate corresponding dash versions created-by-me and assigned-to-me
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove authentication for readonly endpoints in issues API</title>
<updated>2018-05-15T14:41:33+00:00</updated>
<author>
<name>haseeb</name>
<email>haseebeqx@gmail.com</email>
</author>
<published>2018-05-15T14:41:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=789eb36c84b622896357901c3fd62af112b78841'/>
<id>789eb36c84b622896357901c3fd62af112b78841</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve "Make a Rubocop that forbids returning from a block"</title>
<updated>2018-04-18T09:19:40+00:00</updated>
<author>
<name>🙈  jacopo beschi 🙉</name>
<email>intrip@gmail.com</email>
</author>
<published>2018-04-18T09:19:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c6b1043e9d1b7fe9912c330b6e7d4342f2a9694e'/>
<id>c6b1043e9d1b7fe9912c330b6e7d4342f2a9694e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Include subgroup issues when searching for group issues using the API</title>
<updated>2018-04-05T20:19:52+00:00</updated>
<author>
<name>Felipe Artur</name>
<email>felipefac@gmail.com</email>
</author>
<published>2018-03-28T20:39:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b9dfd071ed7260e9a3f470317011bcdcfedd61ed'/>
<id>b9dfd071ed7260e9a3f470317011bcdcfedd61ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds updated_at filter to issues and merge_requests API</title>
<updated>2018-03-05T13:10:32+00:00</updated>
<author>
<name>Jacopo</name>
<email>beschi.jacopo@gmail.com</email>
</author>
<published>2018-02-28T11:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=168ff28506dfe66a13a6c1bc5e3b772445a5bd18'/>
<id>168ff28506dfe66a13a6c1bc5e3b772445a5bd18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Track and act upon the number of executed queries</title>
<updated>2018-02-01T16:00:46+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2018-01-15T15:21:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cca61980d5ad9c4db65b9498fe49d936657bc0e2'/>
<id>cca61980d5ad9c4db65b9498fe49d936657bc0e2</id>
<content type='text'>
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.

In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.

In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds Rubocop rule for line break around conditionals</title>
<updated>2018-01-11T16:34:01+00:00</updated>
<author>
<name>🙈  jacopo beschi 🙉</name>
<email>intrip@gmail.com</email>
</author>
<published>2018-01-11T16:34:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=729f05f0e3c4835c91e20ccd1ddb630eb7ef4379'/>
<id>729f05f0e3c4835c91e20ccd1ddb630eb7ef4379</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
