Report failures in batched background migration scheduling and sampling
What does this MR do and why?
Describe in detail what your merge request does and why.
Includes details about batched background migration scheduling in the migration testing pipeline. Also includes a "failed" migration record if a batch fails. Previously, the batch would simply not be written since the exception would keep the files from being written.
This provides the data necessary to solve Display that a background migration has failed ... (gitlab-org/database-team/gitlab-com-database-testing#65 - closed) and Record and display scheduling queries for batch... (gitlab-org/database-team/gitlab-com-database-testing#68)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.