Skip to content

Remove unused AAMVA DocAuthLog tracking#10733

Merged
matthinz merged 6 commits intomainfrom
matthinz/remove-unused-aamva-tracking
May 31, 2024
Merged

Remove unused AAMVA DocAuthLog tracking#10733
matthinz merged 6 commits intomainfrom
matthinz/remove-unused-aamva-tracking

Conversation

@matthinz
Copy link
Contributor

🎫 Ticket

Supporting LG-13382

🛠 Summary of changes

The track_aamva method in VerifyInfoConcern only does anything if the state_tracking_enabled feature flag is true. This flag has never been true in prod, so this is a no-op.

I created LG-13461 to track completely removing the flag, but this specific method is in my way as I work on LG-13382.

matthinz added 4 commits May 30, 2024 16:06
Couple changes:

1. Move log_irs_threatmetrix_fraud_check_event to VerifyInfoConcern
2. Move the logging out of `add_proofing_costs`, which we are trying to move out of VerifyInfoConcern

[skip changelog]
This method does two separate things:

1. Create a FraudReviewRequest that is used to track a user's fraud review
2. Sends an event to the attempts api

So this commit splits it in two.
This state_tracking_enabled flag was never turned on in prod, and as a result this entire method is not used.

[skip changelog]
@matthinz matthinz requested a review from a team May 31, 2024 17:15
return unless IdentityConfig.store.state_tracking_enabled
doc_auth_log = DocAuthLog.find_by(user_id: current_user.id)
return unless doc_auth_log
doc_auth_log.aamva = true
Copy link
Contributor

Choose a reason for hiding this comment

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

we could prob add aamva as an ignored column to the table if we wanted?

Copy link
Contributor

Choose a reason for hiding this comment

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

@matthinz Is the plan to follow-up with a pull request to drop the column in a separate deploy? I also noticed on Friday that the other columns in ignored_column were meant to be cleaned up last year but never were.

Base automatically changed from matthinz/move-tmx-irs-thing to main May 31, 2024 22:21
@matthinz matthinz merged commit 85da36e into main May 31, 2024
@matthinz matthinz deleted the matthinz/remove-unused-aamva-tracking branch May 31, 2024 23:17
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.

3 participants