Skip to content

Remove circa-2019 in-person proofing prototype flow#4852

Merged
aduth merged 1 commit intomainfrom
aduth-rm-ipp
Mar 29, 2021
Merged

Remove circa-2019 in-person proofing prototype flow#4852
aduth merged 1 commit intomainfrom
aduth-rm-ipp

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Mar 29, 2021

Why: It is disabled in all environments including local development, and its continued existence has proven to be an unnecessary maintenance burden.

See:

**Why**: It is disabled in all environments including local development, and its continued existence has proven to be an unnecessary maintenance burden.

See:

- #3042
- https://github.com/18F/identity-idp/commits/main/app/views/idv/in_person
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM! so much red!

encryption_error: 2,
verification_pending: 3,
verification_cancelled: 4,
in_person_pending: 5,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should leave this just in case there is existing data out there, maybe rename it to _deprecated or something? But the risk of a collision when we do have a new event 5 make me hesitate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we should leave this just in case there is existing data out there, maybe rename it to _deprecated or something? But the risk of a collision when we do have a new event 5 make me hesitate

Yeah, we could. But since this was never enabled, maybe we could just confirm there's no instances of it in deployed environments, then be okay to just remove it altogether?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like prod, staging and int are clear:

Profile.where(deactivation_reason: :in_person_pending).first
# nil

and to check that the syntax/encoding was correct, this returned results:

Profile.where(deactivation_reason: :password_reset).first

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked dev as well, nothing there either.

I assume we're good to remove it outright?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, should be good to remove

@aduth aduth merged commit a11e512 into main Mar 29, 2021
@aduth aduth deleted the aduth-rm-ipp branch March 29, 2021 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants