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

Use New Status Field to Maintain InProgressForm Data for Dependents Application #15875

Conversation

tfink419
Copy link
Contributor

@tfink419 tfink419 commented Mar 11, 2024

Summary

Related issue(s)

department-of-veterans-affairs/va.gov-team/issues/77171

Testing done

  • New code is covered by unit tests
  • In progress form would be deleted immediately, now it is saved until submission succeeds or fails the final time
  • Submit a dependents change application and check if the form still appears immediately after submission, and that it will reappear after the status is changed back (normally after failures)

Screenshots

Pending Submission:
Screenshot 2024-03-15 at 15 38 16

Processing Submission:
Screenshot 2024-03-15 at 15 38 35

What areas of the site does it impact?

Dependents application submission

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 or Grafana (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

Copy link

github-actions bot commented Mar 11, 2024

1 Error
🚫

Modified files in db/ should be the only files checked into this PR.

File Summary

DB File(s)

  • db/migrate/20240313211432_add_status_to_inprogress_form.rb

  • db/migrate/20240313211541_add_status_to_inprogress_form_default.rb

  • db/schema.rb

    App File(s)

    • app/controllers/v0/dependents_applications_controller.rb
  • app/controllers/v0/in_progress_forms_controller.rb

  • app/models/in_progress_form.rb

  • app/services/bgs/dependent_service.rb

  • app/services/users/profile.rb

  • app/sidekiq/bgs/submit_form674_job.rb

  • app/sidekiq/bgs/submit_form686c_job.rb

Database migrations do not run automatically with vets-api deployments. Application code must always be
backwards compatible with the DB, both before and after migrations have been run. For more info:

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to dbex-fix-inprogress-form-state-77171/main/main March 11, 2024 20:54 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to dbex-fix-inprogress-form-state-77171/main/main March 11, 2024 21:07 Inactive
@tfink419 tfink419 added the dependents-benefits Label used for Pull Requests that impact Add/Remove Dependents claims (686c/674) label Mar 13, 2024
@va-vfs-bot va-vfs-bot temporarily deployed to dbex-fix-inprogress-form-state-77171/main/main March 13, 2024 21:33 Inactive
@tfink419 tfink419 force-pushed the dbex-fix-inprogress-form-state-77171 branch 3 times, most recently from 78934a6 to 43a7850 Compare March 13, 2024 21:54
@va-vfs-bot va-vfs-bot temporarily deployed to dbex-fix-inprogress-form-state-77171/main/main March 13, 2024 21:56 Inactive
@tfink419 tfink419 force-pushed the dbex-fix-inprogress-form-state-77171 branch from d20932d to 328bccf Compare March 15, 2024 22:00
@tfink419 tfink419 changed the base branch from master to dbex-add-status-to-inprogress-forms-77171 March 15, 2024 22:00
@va-vfs-bot va-vfs-bot temporarily deployed to dbex-fix-inprogress-form-state-77171/main/main March 15, 2024 22:15 Inactive
@va-vsp-bot
Copy link
Collaborator

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:

@va-vsp-bot
Copy link
Collaborator

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:

@tfink419 tfink419 force-pushed the dbex-fix-inprogress-form-state-77171 branch from 76e9490 to 6fe4edb Compare March 26, 2024 20:54
@tfink419 tfink419 merged commit 6fe4edb into dbex-add-status-to-inprogress-forms-77171 Mar 26, 2024
5 of 6 checks passed
@tfink419 tfink419 force-pushed the dbex-add-status-to-inprogress-forms-77171 branch from f735e89 to 6fe4edb Compare March 26, 2024 20:56
@tfink419 tfink419 deleted the dbex-fix-inprogress-form-state-77171 branch March 26, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependents-benefits Label used for Pull Requests that impact Add/Remove Dependents claims (686c/674)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants