Skip to content

LG-10439 Start moving had_barcode_attention_error to idv_session#8889

Merged
jmhooper merged 1 commit intomainfrom
jmhooper-move-had-barcode-attention-errors
Jul 31, 2023
Merged

LG-10439 Start moving had_barcode_attention_error to idv_session#8889
jmhooper merged 1 commit intomainfrom
jmhooper-move-had-barcode-attention-errors

Conversation

@jmhooper
Copy link
Contributor

We are working to retire flow_session as part of retiring FSM and restoring the back button functionality.

This commit starts to move one of the properties, had_barcode_attention_error, into idv_session. Another commit will be necessary to start reading from the idv_session and then a final commit to stop writing to flow_session.

@jmhooper jmhooper requested a review from a team July 27, 2023 21:05
@jmhooper jmhooper changed the title LG-10439 Start moving had_barcode_attention_error to Idv::Session LG-10439 Start moving had_barcode_attention_error to idv_session Jul 27, 2023
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you just set it, can you start returning idv_session.had_barcode_attention_error here? Or, since the value is only read here as far as I can tell, do we even need to add it to idv_session? Can we just return session_result.attention_with_barcode?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nevermind, I worked through it after I commented... It's polling, so it might set it in one request and read it later.

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

We are working to retire `flow_session` as part of retiring FSM and restoring the back button functionality.

This commit starts to move one of the properties, `had_barcode_attention_error`, into `idv_session`. Another commit will be necessary to start reading from the `idv_session` and then a final commit to stop writing to `flow_session`.

[skip changelog]
@jmhooper jmhooper force-pushed the jmhooper-move-had-barcode-attention-errors branch from e45c953 to e6b2c27 Compare July 31, 2023 15:35
@jmhooper jmhooper merged commit 0ab601e into main Jul 31, 2023
@jmhooper jmhooper deleted the jmhooper-move-had-barcode-attention-errors branch July 31, 2023 18:13
jmhooper added a commit that referenced this pull request Aug 1, 2023
We are working on removing the flags that indicate a bardcode read error from the `flow_session` and adding them to `idv_session` instead.

The work to write the values to `idv_session` was handled in #8881 and #8889. That has been deployed so it is not safe to start reading the values from `idv_session`. A future commit will stop writing them to `flow_session`.

[skip changelog]
jmhooper added a commit that referenced this pull request Aug 2, 2023
We are working on removing the flags that indicate a barcode read error from the `flow_session` and adding them to `idv_session` instead.

The work to write the values to `idv_session` was handled in #8881 and #8889. That has been deployed so it is not safe to start reading the values from `idv_session`. A future commit will stop writing them to `flow_session`.

[skip changelog]
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.

2 participants