Skip to content
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

renamed CentralMail to BenefitsIntake for 686c #19392

Closed
wants to merge 8 commits into from

Conversation

mreed101
Copy link

CentralMail namespaces within the 686 submission workflow have been updated to BenefitsIntake.

Summary

  • This work is behind a feature toggle (flipper): NO
  • CentralMail for for 686 has been renamed to BenefitsIntake to clear up confusion as we use lighthouse for handling submissions
  • BenefitsIntake is more consistent and allows us to change service later on without the need to rename services or modules again
  • VA Benefits and Claims
  • (If introducing a flipper, what is the success criteria being targeted?)

Related issue(s)

Testing done

  • New code is covered by unit tests
  • The apps behavior does not change
  • Describe the steps required to verify your changes are working as expected. Exclusively stating 'Specs run' is NOT acceptable as appropriate testing
  • This is not a new feature

Screenshots

Note: Optional

What areas of the site does it impact?

Impacts are possible to form 686c submissions

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

Requested Feedback

We should throughly test the 686c workflow to ensure that all forms are being submitted properly and that logging is still accurate.

@mreed101 mreed101 changed the title renamed CentralMail to BenefitsIntake renamed CentralMail to BenefitsIntake for 686c Nov 12, 2024
Copy link

Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/serializers/benefits_intake_submission_serializer.rb

Copy link
Contributor

@micahaspyr micahaspyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't put in the ticket, but the correct module name should be Lighthouse instead of BenefitsIntake. So you should be able to replace all instances of "BenefitsIntake::" in this PR with "Lighthouse::" then move into the sidekiq/lighthouse folder. The serializer name and error name are correct.

@@ -2,7 +2,7 @@

require 'pension_burial/tag_sentry'

module CentralMail
module BenefitsIntake
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The module itself should be named "Lighthouse" and this file should go in the sidekiq/lighthouse folder

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been modified and the Module is now Lighthouse

@@ -7,7 +7,7 @@
require 'simple_forms_api_submission/metadata_validator'
require 'dependents/monitor'

module CentralMail
module BenefitsIntake
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The module itself should be named "Lighthouse" and this file should go in the sidekiq/lighthouse folder

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been modified and the Module is now Lighthouse

@va-vfs-bot va-vfs-bot temporarily deployed to vabc/jr/92235/rename-central-mail-686/main/main November 13, 2024 20:47 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to vabc/jr/92235/rename-central-mail-686/main/main November 14, 2024 15:00 Inactive
Copy link

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/central_mail/delete_old_claims.rb

Copy link

Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: spec/serializers/benefits_intake_submission_serializer_spec.rb

Copy link

github-actions bot commented Nov 14, 2024

1 Error
🚫 This PR changes 538 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, those exceeding
500 will not be reviewed, nor will they be allowed to merge. Please break this PR up into
smaller ones.

If you have reason to believe that this PR should be granted an exception, please see the
Submitting pull requests for approval - FAQ.

File Summary

Files

  • .github/CODEOWNERS (+2/-3)

  • app/controllers/claims_base_controller.rb (+1/-1)

  • app/controllers/v0/burial_claims_controller.rb (+1/-1)

  • app/serializers/{central_mail_submission_serializer.rb => benefits_intake_submission_serializer.rb} (+1/-1)

  • app/sidekiq/central_mail/delete_old_claims.rb (+0/-16)

  • app/sidekiq/central_mail/submit_central_form686c_job.rb (+0/-224)

  • app/sidekiq/lighthouse/benefits_intake/delete_old_claims.rb (+18/-0)

  • app/sidekiq/lighthouse/benefits_intake/submit_central_form686c_job.rb (+239/-0)

  • app/sidekiq/lighthouse/income_and_assets_intake_job.rb (+2/-2)

  • spec/serializers/{central_mail_submission_serializer_spec.rb => benefits_intake_submission_serializer_spec.rb} (+1/-1)

  • spec/sidekiq/{central_mail => lighthouse/benefits_intake}/delete_old_claims_spec.rb (+1/-1)

  • spec/sidekiq/{central_mail => lighthouse/benefits_intake}/submit_central_form686c_job_spec.rb (+13/-9)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, *.md, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/, *.bru, *.pdf
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

Copy link

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/central_mail/submit_central_form686c_job.rb

@va-vfs-bot va-vfs-bot temporarily deployed to vabc/jr/92235/rename-central-mail-686/main/main November 14, 2024 18:49 Inactive
@mreed101
Copy link
Author

1 Error
🚫 This PR changes 534 LoC (not counting whitespace/newlines).
In order to ensure each PR receives the proper attention it deserves, those exceeding 500 will not be reviewed, nor will they be allowed to merge. Please break this PR up into smaller ones.

If you have reason to believe that this PR should be granted an exception, please see the Submitting pull requests for approval - FAQ.

File Summary
Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

This issue is happening because I deleted the file for app/sidekiq/central_mail/submit_form_686c_job.rb.
That file was then moved to app/sidekiq/lighthouse/benefits_intake/submit_form_686c_job.rb.
Doing so caused that LoC warning

@va-vfs-bot va-vfs-bot temporarily deployed to vabc/jr/92235/rename-central-mail-686/main/main November 14, 2024 23:10 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants