Investigate Deleting Reconciliations When Order is Deleted
Problem
There are numerous ReconciliationIntroductoryMailer#saas_new_purchase
jobs scheduled and failing indefinitely in the Sidekiq queues due to Order XXX can't be found
.
We have a TestAccountCleanupCronJob
that deletes customers created by E2E tests and their associated Zuora, SF and billing account data once per day. This is likely causing these ReconciliationIntroductoryMailer
jobs to fail as it can no longer find the associated orders since they have already been deleted.
These jobs can normally be found in the Sidekiq retries
queue
Proposal
This issue will be used to investigate deleting reconciliations when an associated order is deleted
Edited by Valerie Burton