LG-10384 - backfill in person verification pending at#8974
Merged
Conversation
Co-authored by: Alexander Bradley <alexander.bradley@gsa.gov> Changelog: Internal,In-person proofing,Backfill new in_person_verification_pending_at column
a9638cc to
96b82ca
Compare
theabrad
reviewed
Aug 10, 2023
| end | ||
|
|
||
| warn "Updating #{profile_data.count} records" | ||
| profile_data.each do |profile_datum| |
23 tasks
- Update deactivation reason - Don't backfill profiles that aren't actually undergoing in-person verification (but used to be at some prior time).
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co-authored by: Alexander Bradley alexander.bradley@gsa.gov
🎫 LG-10384
🛠 Summary of changes
Added a rake task to backfill the new
in_person_verification_pending_atcolumn📜 Testing Plan
Provide a checklist of steps to confirm the changes.
document_classification_error.yml.txt
must be used for the user's ID images in order to force in-person proofing.
in_person_verification_pending_atcolumn to nilbackfill_in_person_verification_pending_attask, and verify that it shows one user to be updatedvalidate_backfill_in_person_verification_pending_attask, and verify that it shows 1 rowbackfill_in_person_verification_pending_attask with the UPDATE_PROFILES environment variable set, and verify that it shows 1 profile being updated.validate_backfill_in_person_verification_pending_attask, and verify that it shows 0 rowsin_person_verification_pending_atvaluerollback_backfill_in_person_verification_pending_attask, using the output from the backfill taskvalidate_backfill_in_person_verification_pending_attask, and verify that it shows 1 rowin_person_verification_pending_atvalue