PoC for removal of partitioned resources associated with pipelines
Description
Similarly to what we are doing in PoC for partitioned pipelines associations retr... (#357090 - closed), we want to ship a PoC that will prove that we can efficiently remove resources associated with pipelines (builds, stages, artifacts), connected to a pipeline through Rails associations, like belongs_to or has_many, when a partitioned CI/CD schema is being used.
We want to better understand if we will be able to use a pipeline's partition_id with our fast_destroy / regular destroy techniques will behave when multiple partitions are being involved.
Objectives
Find a way to use partition_id with deletes done using Rails associations / fast_destroy.
Edited by Grzegorz Bizon