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

101987 Removed champva_multiple_stamp_retry feature toggle and improved handle_upload - IVC CHAMPVA forms #20642

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

michaelclement
Copy link
Contributor

Summary

  • Delete the champva_multiple_stamp_retry flipper
  • Delete all references to the flipper
  • Delete all code that would have been used when the flipper was disabled
  • Delete the rubocop:disable Metrics/MethodLength and rubocop:enable Metrics/MethodLength statements around handle_file_uploads
  • Adjusted the return value of handle_uploads when champva_require_all_s3_success is disabled so that subarrays are padded with nils (NOTE: this flipper is enabled, so this change shouldn't impact production, but it was necessary to update this for consistency's sake)

Related issue(s)

Testing done

  • New code is covered by unit tests
  • Describe what the old behavior was prior to the change
  • Describe the steps required to verify your changes are working as expected. Exclusively stating 'Specs run' is NOT acceptable as appropriate testing
  • If this work is behind a flipper:
    • Tests need to be written for both the flipper on and flipper off scenarios. Docs.
    • What is the testing plan for rolling out the feature?

Screenshots

Note: Optional

What areas of the site does it impact?

IVC CHAMVPA forms

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

NA

@va-vfs-bot va-vfs-bot temporarily deployed to 101987-remove-champvamultiplestampretry-flipper/main/main February 5, 2025 23:02 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 101987-remove-champvamultiplestampretry-flipper/main/main February 6, 2025 13:53 Inactive
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated handle_file_uploads method to remove the champva_multiple_stamp_retry toggle check and the associated extra branch of functionality.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adjusted tests so there are no longer references to the feature toggle that was removed.

@va-vfs-bot va-vfs-bot temporarily deployed to 101987-remove-champvamultiplestampretry-flipper/main/main February 6, 2025 14:01 Inactive
reiting
reiting previously approved these changes Feb 6, 2025
@michaelclement michaelclement marked this pull request as ready for review February 6, 2025 18:54
@michaelclement michaelclement requested review from a team as code owners February 6, 2025 18:54
@cloudmagic80
Copy link
Contributor

LGTM

Copy link
Contributor

@rmtolmach rmtolmach left a comment

Choose a reason for hiding this comment

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

👍
Once this is deployed, you'll need to follow step 3 of this section of this guide to completely remove this toggle. You'll need to do it in the terminal of each ArgoCD environment. If you or no one on your team has access to those terminals, let me know and I can do it for you. Remember, don't delete them in Argo until the code has been deployed.

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.

5 participants