Skip to content

Remove selfie and liveness from Acuant#7240

Merged
theabrad merged 12 commits intomainfrom
abradley-remove-selfie-from-acuant
Oct 31, 2022
Merged

Remove selfie and liveness from Acuant#7240
theabrad merged 12 commits intomainfrom
abradley-remove-selfie-from-acuant

Conversation

@theabrad
Copy link
Contributor

🛠 Summary of changes

Removing every trace of liveness and selfies from Acuant.

@theabrad theabrad requested a review from a team October 27, 2022 17:24
image_metadata:,
analytics_data:,
flow_path:,
liveness_checking_enabled: nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is a background job we will need to keep this argument here. Otherwise when old hosts spawn a job we'll get an argument error when a new worker picks it up. We'll need to leave this in here until all the deployed hosts are running code that does not use this argument.

back_image: back_image,
selfie_image: nil,
image_source: image_source(image_metadata),
liveness_checking_enabled: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

I opened a pul request to manage these args here: #7235

tl;dr there is I think we need to leave these in with default values and remove the args form the callers. Once we are confident we have cleaned up all of the callers then we can pull these args.

Copy link
Contributor

Choose a reason for hiding this comment

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

Wait, nevermind this is a caller. This is where we want to remove them. My comment applies to the code below in the AcuantClient

back_image:,
selfie_image:,
image_source:,
liveness_checking_enabled: nil,
Copy link
Contributor

Choose a reason for hiding this comment

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

My comment above applies here: #7235

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok i'll add them back in

image_metadata:,
analytics_data:,
flow_path:,
liveness_checking_enabled: nil
Copy link
Contributor

Choose a reason for hiding this comment

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

perform is the job arguments, liveness_checking_enabled is the one we need to keep I think? re: https://github.com/18F/identity-idp/pull/7240/files#r1007213954

Copy link
Contributor

@jmhooper jmhooper Oct 28, 2022

Choose a reason for hiding this comment

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

Yes, this argument needs to stay

@theabrad theabrad merged commit 896684e into main Oct 31, 2022
@theabrad theabrad deleted the abradley-remove-selfie-from-acuant branch October 31, 2022 16:32
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