Report statistics for background migration sidekiq jobs
In order to increase insight into background migration jobs, we can do the following:
- Execute migrations on the testing pipeline, including the ones scheduling background migration jobs
- Inspect the redis queue for background migrations and generate statistics from that: Number of jobs per class, their desired execution times, etc. - report this back to the MR as part of the feedback comment
A follow-up on this would be to grab a few jobs from the queue at random and execute those with instrumentation enabled (and again, report back statistics on those).
Example use-case in gitlab-org/gitlab!69030 (comment 678217382)
Edited by Andreas Brandl