Update project export job status upon failure
What does this MR do and why?
When a project export is initiated, we create a ProjectExportJob
database record that tracks the progress of the Sidekiq job. If an
export fails, the record may cause the project export status to
indicate "in progress" or "regeneration in progress" until the
StuckExportJobsWorker
comes along and updates this job status as failed.
We can expedite this process by handling failures and marking the job status appropriately.
Relates to #351155 (closed)
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu