Skip to content

Draft: Fast destroy project job artifacts

drew stachon requested to merge fast-destroy-project-job-artifacts into master

What does this MR do and why?

This MR speeds up Projects::DestroyService by skipping the ordinarily dependent: :destroy on Project#builds.

It will also requiring implementing new logic to make Ci::Build FastDestroy-able, and that's not in this branch yet.

This is an alternative to !71342 (merged), and they're both approaches to solving https://gitlab.com/gitlab-org/gitlab/-/issues/24644

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by drew stachon

Merge request reports