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

4842: remove unused maintenance window #11981

Merged
merged 0 commits into from
Mar 8, 2023

Conversation

kpethtel
Copy link
Contributor

@kpethtel kpethtel commented Mar 6, 2023

Summary

After some investigation, I've found that none of the auth maintenance windows are used by the mobile app. I've created a ticket for the front end team to remove them on their side. This removes the one on our side.

Related issue(s)

department-of-veterans-affairs/va-mobile-app#4842
https://app.zenhub.com/workspaces/va-mobile-frontend-60f1a34998bc75000f2a489f/issues/gh/department-of-veterans-affairs/va-mobile-app/5008

Testing done

Screenshots

What areas of the site does it impact?

Remove unused maintenance window option.

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

Requested Feedback

@kpethtel kpethtel requested review from a team as code owners March 6, 2023 20:35
@github-actions github-actions bot added the mobile label Mar 6, 2023
Copy link
Contributor

@aherzberg aherzberg left a comment

Choose a reason for hiding this comment

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

Should this be removed from modules/mobile/spec/models/service_graph_spec.rb and modules/mobile/docs/schemas/MaintenanceWindows.yml as well?

@kpethtel
Copy link
Contributor Author

kpethtel commented Mar 6, 2023

Should this be removed from modules/mobile/spec/models/service_graph_spec.rb and modules/mobile/docs/schemas/MaintenanceWindows.yml as well?

Yes, I should remove it from the yaml file. But IMO it had nothing to do with that spec file. The spec file is just test data that alastair copied over from real values. I've looked at the commit that adds both this controller and that spec file and the two lists weren't even equal when he added them. For example, that spec file also contains auth_dslogon and auth_mhv which were never in the controller but do exist in the mobile app. I found this very confusing, but I assume we decided it isn't necessary during the dev process and he just decided to remove them from the controller but didn't bother with the specs because it's just arbitrary test data.

@aherzberg
Copy link
Contributor

Should this be removed from modules/mobile/spec/models/service_graph_spec.rb and modules/mobile/docs/schemas/MaintenanceWindows.yml as well?

Yes, I should remove it from the yaml file. But IMO it had nothing to do with that spec file. The spec file is just test data that alastair copied over from real values. I've looked at the commit that adds both this controller and that spec file and the two lists weren't even equal when he added them. For example, that spec file also contains auth_dslogon and auth_mhv which were never in the controller but do exist in the mobile app. I found this very confusing, but I assume we decided it isn't necessary during the dev process and he just decided to remove them from the controller but didn't bother with the specs because it's just arbitrary test data.

ah, that is confusing. Works for me though.

@va-vfs-bot va-vfs-bot temporarily deployed to 4842-remove-unused-maintenance-window/main/main March 6, 2023 20:58 Inactive
@kpethtel kpethtel requested a review from aherzberg March 6, 2023 21:48
@kpethtel
Copy link
Contributor Author

kpethtel commented Mar 6, 2023

Should this be removed from modules/mobile/spec/models/service_graph_spec.rb and modules/mobile/docs/schemas/MaintenanceWindows.yml as well?

Added the doc change. Thanks for catching that.

Copy link
Contributor

@aherzberg aherzberg left a comment

Choose a reason for hiding this comment

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

LGTM

@kpethtel kpethtel merged commit 8c6b006 into master Mar 8, 2023
@kpethtel kpethtel deleted the 4842-remove-unused-maintenance-window branch March 8, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants