Skip to content

LG-16417 Remove KYC Shadowmode#12550

Merged
Mawar2 merged 5 commits intomainfrom
mw/LG-16417
Oct 7, 2025
Merged

LG-16417 Remove KYC Shadowmode#12550
Mawar2 merged 5 commits intomainfrom
mw/LG-16417

Conversation

@Mawar2
Copy link
Copy Markdown
Contributor

@Mawar2 Mawar2 commented Oct 2, 2025

changelog: Internal, Code cleanup, Remove KYC Shadowmode evaluation code

🎫 Ticket

LG-16417

🛠 Summary of changes

Removed KYC Shadowmode code from the codebase.

Deleted:

  • SocureShadowModeProofingJob and test file
  • SOCURE_IDV_SHADOW_MODE_FOR_NON_DOCV_USERS A/B test
  • Shadow mode config vars and analytics events
  • Shadow mode logic from ResolutionProofingJob

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • make lint passes
  • Job and AB test specs pass
  • search for any shadow mode references

Copy link
Copy Markdown
Contributor

@shanechesnutt-ft shanechesnutt-ft left a comment

Choose a reason for hiding this comment

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

Ran through the test plan and things LGTM! 👍🏻

@@ -26,7 +26,7 @@ def perform(
service_provider_issuer: nil,
threatmetrix_session_id: nil,
request_ip: nil,
proofing_components: nil
proofing_components: nil # rubocop:disable Lint/UnusedMethodArgument
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this to be cleaned up later? If so I would consider removing proofing_components from this from places where this is called. That way if/when it is removed we won't have jobs enqueued with this extra parameter.

Copy link
Copy Markdown
Contributor

@solipet solipet left a comment

Choose a reason for hiding this comment

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

Looks great - only request is to update the report to get rid of the "non-shadow" designation.

@@ -73,7 +73,6 @@ def api_transaction_count
'Instant verify',
'Phone Finder',
'Socure (DocV)',
'Socure (KYC) - Shadow',
'Socure (KYC) - Non-Shadow',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it's worth going through and removing the "non-shadow" label as well.

@@ -37,11 +36,11 @@

expect(header_row).to eq(
['Week', 'True ID', 'Instant verify', 'Phone Finder', 'Socure (DocV)',
'Socure (KYC) - Shadow', 'Socure (KYC) - Non-Shadow',
'Socure (KYC) - Non-Shadow',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As above, I think it's worth getting rid of the "Non-Shadow' designation.

@Mawar2 Mawar2 requested a review from solipet October 7, 2025 15:48
Copy link
Copy Markdown
Contributor

@AShukla-GSA AShukla-GSA left a comment

Choose a reason for hiding this comment

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

Tested and Review. LGTM

Copy link
Copy Markdown
Contributor

@solipet solipet left a comment

Choose a reason for hiding this comment

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

lgtm!

@Mawar2 Mawar2 merged commit 99531b9 into main Oct 7, 2025
1 check passed
@Mawar2 Mawar2 deleted the mw/LG-16417 branch October 7, 2025 19:00
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.

4 participants