Skip to content

Don't delete expired artifacts undergoing refresh

Erick Bajao requested to merge eb-prevent-artifact-delete-on-refresh-3 into master

What does this MR do and why?

This is continuation from !86686 (diffs, comment 945808728). As suggested, we are splitting the work into 3 separate MRs. This is MR 3 of 3.

Part of the work for #360375 (closed).

In this MR, we exclude the artifacts undergoing refresh from the delete expired batch. The expired artifacts will eventually be picked up again by the worker. They will be eventually be deleted once the project finishes recalculating total artifacts size.

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 Erick Bajao

Merge request reports