-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CST] - Create cron job to send emails for failed uploads (updated pr) #19956
base: feature/updated-es-error-handling
Are you sure you want to change the base?
[CST] - Create cron job to send emails for failed uploads (updated pr) #19956
Conversation
…ment upload files
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: app/sidekiq/evss/failure_notification.rb |
Generated by 🚫 Danger |
Summary
va_notify_email_queued
andva_notify_email_not_queued
as scopes to the evidence submission modelfailure_notification
call fromevss/document_upload.rb
and made it so when sidekiq retries fail we add the upload to the evidence submission table with a status of FAILEDevss/document_upload_spec.rb
benefits-documents
folder inapp/sidekiq/lighthouse
failure_notification
call fromlighthouse/document_upload.rb
and made it so when sidekiq retries fail we add the upload to the evidence submission table with a status of FAILED and changed path tolighthouse/benefits_documents/document_upload.rb
lighthouse/document_upload_spec.rb
failure_notification_email_job.rb
that runs as a job and updates records with a FAILED status to send an email and then updates them to have a va_notify_id and va_notify_datefailure_notification_email_job_spec.rb
evss/failure_notification.rb
since it is no longer used and is replaced withfailure_notification_email_job.rb
evss/failure_notification_spec.rb
since it is no longer usedlighthouse/failure_notification.rb
since it is no longer used and is replaced withfailure_notification_email_job.rb
lighthouse/failure_notification_spec.rb
since it is no longer usedva_notify_date
which updated the schemaperiodic_jobs.rb
failure_notification_email_job_spec.rb
CODEOWNERS
fileRelated issue(s)
Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
Acceptance criteria
Requested Feedback
(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?