Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs' | blackst0ne | 2018-07-23 | 1 | -1/+1 |
| | | | | | | | | | | `perform_enqueued_jobs` is a Sidekiq method. Using this method violates the Dependency inversion principle[0]. This commit replaces `perform_enqueued_jobs` with ActiveJob's abstract method `perform_enqueued_jobs` in specs. [0]: https://en.wikipedia.org/wiki/Dependency_inversion_principle | ||||
* | Refactor matchers for background migrationsce-backport=reorder-issues | Jarka Kadlecová | 2018-01-05 | 1 | -3/+3 |
| | |||||
* | De-duplicate background migration matchers defined in ↵sh-deduplicate-background-migration-specs | Stan Hu | 2017-11-16 | 1 | -16/+3 |
| | | | | spec/support/migrations_helpers.rb | ||||
* | Migrate MR commits and diffs to new tablesmerge-request-commits-background-migration | Sean McGivern | 2017-08-03 | 1 | -0/+59 |
Previously, we stored these as serialised fields - `st_{commits,diffs}` - on the `merge_request_diffs` table. These now have their own tables - `merge_request_diff_{commits,diffs}` - with a column for each attribute of the serialised data. Add a background migration to go through the existing MR diffs and migrate them to the new format. Ignore any contents that cannot be displayed. Assuming that we have 5 million rows to migrate, and each batch of 2,500 rows can be completed in 5 minutes, this will take about 7 days to migrate everything. |