Add cleanup job for failed import files
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
Investigation into https://gitlab.com/gitlab-org/gitlab/-/issues/227700 showed that we have a job that runs periodically to cleanup files from failed exports , but we do not have the equivalent for imports.
It appears that imports could finish without deleting the files if the import fails before the import job is scheduled (as we delete the file only during the execution of the import job).
Goal
- Determine if we can safely, periodically delete these files
- Add a cleanup process for failed import files
Edited by 🤖 GitLab Bot 🤖