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(LLD): Retry CLS installation after locking & unlocking device #7843

Merged

Conversation

fAnselmi-Ledger
Copy link
Contributor

@fAnselmi-Ledger fAnselmi-Ledger commented Sep 18, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

LLD will retry CLS installation on Stax and Flex after locking & unlocking device while CLS image is being uploaded

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@fAnselmi-Ledger fAnselmi-Ledger requested a review from a team as a code owner September 18, 2024 15:40
Copy link

vercel bot commented Sep 18, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-docs ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 9:45am
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 9:45am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 9:45am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 9:45am
web-tools ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 9:45am

@live-github-bot live-github-bot bot added the desktop Has changes in LLD label Sep 18, 2024
@fAnselmi-Ledger fAnselmi-Ledger force-pushed the bugfix/LIVE-13238-retry-CLS-after-unlocking branch 4 times, most recently from 1211f44 to 9ea5b78 Compare September 19, 2024 07:23
Copy link

@smartine-ledger smartine-ledger left a comment

Choose a reason for hiding this comment

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

πŸ‘ . Is there no new UT because this code is untestable isn't it?

valpinkman
valpinkman previously approved these changes Sep 19, 2024
Comment on lines 108 to 111
onError && onError(error);
}, [dispatch, error, onError]);
if (!isRefusedOnStaxError) {
onError && onError(error);
}
}, [dispatch, error, onError, isRefusedOnStaxError]);
Copy link
Contributor

Choose a reason for hiding this comment

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

[ASK] Why this change ? What happens now when the user refuses the picture on the device ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ofreyssinet-ledger I simplified the logic now as the prev. condition was redundant

aussedatlo
aussedatlo previously approved these changes Sep 19, 2024
@fAnselmi-Ledger fAnselmi-Ledger force-pushed the bugfix/LIVE-13238-retry-CLS-after-unlocking branch from 805b1ff to ab262cc Compare October 15, 2024 15:06
@fAnselmi-Ledger fAnselmi-Ledger force-pushed the bugfix/LIVE-13238-retry-CLS-after-unlocking branch from ab262cc to 4bcd00b Compare October 21, 2024 09:43
@fAnselmi-Ledger fAnselmi-Ledger merged commit bde46de into develop Oct 21, 2024
42 checks passed
@fAnselmi-Ledger fAnselmi-Ledger deleted the bugfix/LIVE-13238-retry-CLS-after-unlocking branch October 21, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants