You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #7454, a submission was approved 60 days after it was submitted. Files older than 14 days are regularly purged from the staging directory where they are stored pending approval. The result was that the approved draft was posted but, because the staged files had long before been deleted, the actual contents are missing.
Stale submissions should be canceled on a schedule that is coordinated with the staging file purge. A submission should be canceled before its files are removed.
We already have a periodic Celery task that cancels submissions that have not yet been validated - a similar task should cancel stale submissions. It'd be adequate to run the new task on the daily schedule.
Describe the issue
In #7454, a submission was approved 60 days after it was submitted. Files older than 14 days are regularly purged from the staging directory where they are stored pending approval. The result was that the approved draft was posted but, because the staged files had long before been deleted, the actual contents are missing.
Stale submissions should be canceled on a schedule that is coordinated with the staging file purge. A submission should be canceled before its files are removed.
We already have a periodic Celery task that cancels submissions that have not yet been validated - a similar task should cancel stale submissions. It'd be adequate to run the new task on the daily schedule.
Code of Conduct
The text was updated successfully, but these errors were encountered: