-
Notifications
You must be signed in to change notification settings - Fork 69
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
namepace update from CentralMail to BenefitsIntake #19595
Conversation
Generated by 🚫 Danger |
A file was deleted from a previous folder and moved to a different one. The file in question was already over LoC which is leading to this error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mreed101 can you go through app/services/bgs/dependent_service.rb, app/sidekiq/bgs/submit_form674_job.rb, and app/sidekiq/bgs/submit_form686c_job.rb to clear out the references to CentralMail::SubmitCentralForm686cJob
Also there are a few logs that link to datadog dashboards that reference CentralMail::SubmitCentralForm686cJob
. Should those messages and dashboards be updated?
Modified in the latest commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for adding those changes!
spec/lib/dependents/monitor_spec.rb
Outdated
@@ -66,7 +66,7 @@ | |||
it 'logs sidekiq job exhaustion with failure avoided' do | |||
msg = { 'args' => [claim.id, encrypted_vet_info, encrypted_user], error_message: 'Error!' } | |||
|
|||
log = "Failed all retries on CentralMail::SubmitCentralForm686cJob, last error: #{msg['error_message']}" | |||
log = "Failed all retries on Lighthouse::BenefitsIntake::SubmitCentralForm686cJob, last error: #{msg['error_message']}" # rubocop:disable Layout/LineLength |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you expand these please?
log = "Failed all retries on Lighthouse::BenefitsIntake::SubmitCentralForm686cJob, last error: #{msg['error_message']}" # rubocop:disable Layout/LineLength | |
log = 'Failed all retries on Lighthouse::BenefitsIntake::SubmitCentralForm686cJob, ' \ | |
"last error: #{msg['error_message']}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was modified @ericboehs, please take another look if you get a chance.
lib/dependents/monitor.rb
Outdated
@@ -38,7 +38,7 @@ def track_submission_exhaustion(msg, email = nil) | |||
|
|||
StatsD.increment("#{SUBMISSION_STATS_KEY}.exhausted") | |||
Rails.logger.error( | |||
"Failed all retries on CentralMail::SubmitCentralForm686cJob, last error: #{msg['error_message']}" | |||
"Failed all retries on Lighthouse::BenefitsIntake::SubmitCentralForm686cJob, last error: #{msg['error_message']}" # rubocop:disable Layout/LineLength |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's another line that could be split up to avoid skirting the rubocop check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been resolved in my latest push @ericboehs
* namepace update from CentralMail to BenefitsIntake * updated remaining CentralMail items * fixed linting * removes rubocop disable from monitor spec * removed rubocop disable
CentralMail namespaces within the 686 submission workflow have been updated to BenefitsIntake.
Summary
Related issue(s)
Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
Impacts are possible to form 686c submissions
Acceptance criteria
Requested Feedback
We should throughly test the 686c workflow to ensure that all forms are being submitted properly and that logging is still accurate.