gitlab-org--gitlab-foss/spec
Dylan Griffith 03b020f2e4 Update ProjectStatistics#build_artifacts_size synchronously without summing (#41059)
Previously we scheduled a worker to just some this but we were running
into performance issues when the build table was getting too large. So
now we've updated the code such that this column is updated immediately
and incremented/decremented by the correct amount whenever artifacts are
created or deleted.

We've also added the performance optimization that we do not update this
statistic if a project is deleted because it could result in many
updates for a project with many builds.
2018-04-19 18:35:40 +10:00
..
bin
config
controllers Handle legacy repository archive requests with no ref given 2018-04-08 05:56:07 -07:00
db/production
factories Revert "Merge branch 'improve-jobs-queuing-time-metric' into 'master'" 2018-04-10 10:41:08 +00:00
features Refactor CSS to eliminate vertical misalignment of login nav 2018-04-11 23:52:47 +09:00
finders Allow assigning and filtering issuables by ancestor group labels 2018-04-04 15:40:29 +00:00
fixtures Fix finding wiki file when Gitaly is enabled 2018-04-11 16:08:51 +02:00
helpers Merge branch '43246-checkfilter' into 'master' 2018-04-06 13:25:18 +00:00
initializers Add direct_upload setting for artifacts 2018-04-05 15:01:14 +02:00
javascripts Merge branch 'unresolved-discussions-vue-component-i18n-and-tests' into 'master' 2018-04-11 17:26:39 +00:00
lib Merge branch 'zj-info-attributes' into 'master' 2018-04-11 12:58:52 +00:00
mailers Fix undefined method one? when pushing to an existing merge request 2018-04-07 23:43:40 -07:00
migrations Ignore current RSpec/FactoriesInMigrationSpecs offenses 2018-04-06 17:41:52 +02:00
models Update ProjectStatistics#build_artifacts_size synchronously without summing (#41059) 2018-04-19 18:35:40 +10:00
policies Increase test suite around deploy tokens behavior 2018-04-06 21:20:17 -05:00
presenters Removes deploy tokens presenter 2018-04-06 21:20:17 -05:00
requests Use Goldiloader for handling N+1 queries 2018-04-09 11:58:06 +01:00
routing Add new repository archive route 2018-04-06 08:45:17 -04:00
rubocop/cop Add cop for has_many :through without disabled autoloading 2018-04-09 12:47:04 +01:00
serializers Resolve "Show failure_reason and upgrade tooltips of jobs" 2018-04-05 21:04:42 +00:00
services Revert "Merge branch 'improve-jobs-queuing-time-metric' into 'master'" 2018-04-10 10:41:08 +00:00
sidekiq/cron
support Replace the project/commits/branches.feature spinach test with an rspec analog 2018-04-11 11:46:31 +00:00
tasks fix the rake task from being to strict about Group 2018-04-02 08:19:34 -04:00
unicorn
uploaders Add direct_upload setting for artifacts 2018-04-05 15:01:14 +02:00
validators Projects and groups badges API 2018-03-05 17:51:40 +00:00
views Merge branch '42568-pipeline-empty-state' into 'master' 2018-04-06 22:32:44 +00:00
workers Work around Ruby 2.3.7 bug by defining prepended class methods needed for tests 2018-04-09 06:46:33 -07:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Introduce a new FactoriesInMigrationSpecs cop 2018-04-06 17:41:52 +02:00