Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app): fix recovery takeover state cleanup #16694

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

mjhuff
Copy link
Contributor

@mjhuff mjhuff commented Nov 5, 2024

Closes RQA-3488

Overview

When a different app, app B, cancels the active recovery session for app A, some state cleanup should occur for app A. The exact condition for triggering this state clean up was a bit off: currently we are cleaning up the state for app A when app B enters Error Recovery. Instead, we should clean up app A's state when app B cancels app A's recovery session.

Current Behavior

Screen.Recording.2024-11-05.at.3.19.35.PM.mov

Fixed Behavior

Screen.Recording.2024-11-05.at.3.16.53.PM.mov

Test Plan and Hands on Testing

  • See videos.

Changelog

  • Fixed some confusing behavior that sometimes occurs when a different app terminates an Error Recovery session.

Risk assessment

low

@mjhuff mjhuff requested a review from a team as a code owner November 5, 2024 20:27
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Can we make the logic a bit more explicit? You have to look twice at it to figure it out and I would prefer to look once at it.

@mjhuff mjhuff requested a review from sfoster1 November 5, 2024 20:39
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Thank ye

@mjhuff mjhuff merged commit 4ecb49c into chore_release-8.2.0 Nov 5, 2024
30 checks passed
@mjhuff mjhuff deleted the app_fix-recovery-takeover-state-cleanup branch November 5, 2024 22:43
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