Skip to content

LG-9335 Move flow_path tracking out of Flow State Machine#8703

Merged
amirbey merged 18 commits intomainfrom
amirbey/LG-9335-move-flow-path-to-idv-session
Jul 5, 2023
Merged

LG-9335 Move flow_path tracking out of Flow State Machine#8703
amirbey merged 18 commits intomainfrom
amirbey/LG-9335-move-flow-path-to-idv-session

Conversation

@amirbey
Copy link
Contributor

@amirbey amirbey commented Jun 30, 2023

🎫 Ticket

LG-9335

🛠 Summary of changes

Migrate the flow_path from the flow_session to the idv_session for use during remote identity verification

📜 Testing Plan

Automated testing

@amirbey amirbey changed the title Amirbey/lg 9335 move flow path to idv session LG-9335 Move flow_path tracking out of Flow State Machine Jun 30, 2023
@amirbey amirbey requested a review from zachmargolis June 30, 2023 23:29
@amirbey amirbey self-assigned this Jun 30, 2023
@amirbey amirbey marked this pull request as ready for review July 3, 2023 14:22
# copied from doc_auth_controller
def flow_path
flow_session[:flow_path]
idv_session.flow_path || flow_session[:flow_path]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

flow_session is still present a few places to handle 50/50 state. will be removed in post-release PR

@amirbey amirbey requested a review from a team July 3, 2023 14:43
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

Overall looks great, needs more tweaking for 50/50 state.

Co-authored-by: Sonia Connolly <sonia.connolly@gsa.gov>
@amirbey amirbey requested a review from soniaconnolly July 3, 2023 20:57
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

LGTM!

destination: destination,
skip_upload_step: mobile_device?,
flow_path: flow_session[:flow_path],
flow_path: idv_session.flow_path,
Copy link
Contributor

Choose a reason for hiding this comment

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

Noting for myself and anyone else reviewing that this one is ok because idv_session.flow_path is always set earlier on this execution path.

@amirbey amirbey merged commit 064246e into main Jul 5, 2023
@amirbey amirbey deleted the amirbey/LG-9335-move-flow-path-to-idv-session branch July 5, 2023 13:41
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