fix: patch on usb package based on hotfix #4105
β Success
Perform type and lint checks on the Ledger Live Mobile application.
π Workflow run
Codechecks
Everything is fine
- β
Code checks ended with status
success
Details
π‘ Basics Tips
To share some piece of advice and help the community, please do not hesitate to edit this file and submit a pull request. Thank you! π
If you're troubleshooting a build failure, here are a few tips to keep in mind.
Note: you should always navigate to the workflow run page linked above to get additional information about the build failure.
β οΈ Read the logs β οΈ
Start by carefully reading the logs. In most cases (99% of the time), this will be enough to understand the cause of the failure.
Identify the specific step where the error occurred
The LLM test process consists of the following actions that are performed sequentially (in a nutshell):
- Checkout the repository. βΉοΈ For pull requests, it does a checkout of the branch targeted by the pull request, merges the pull request branch into it and then runs the workflow from that merge commit. It does NOT run at the HEAD commit of the pull request branch. So if you have different results locally make sure to checkout, fetch and pull the target branch and rebase your branch onto it.
- Install the system dependencies
- Install the javascript dependencies
- Build all the dependencies required by LLM and belonging to the ledger-live repository
- Run the linter
- Run the code checker
Look for for the source of the error in the logs.
Use the keyboard shortcut Cmd + F on macOS or Ctrl + F on Windows and Linux to search for the relevant error message.
The error could be unrelated to the LLM codebase, but rather related to a dependency like live-common
or ledgerjs
.
Lint failure
If the error is related to the linter, you can run pnpm lint --filter="live-mobile"
locally to reproduce the error.
Code checker failure
If the error is related to the code checker, you can run pnpm typecheck --filter="live-mobile"
locally to reproduce the error.
Check other runs of the same workflow
Check other runs of the same workflow. If other branches are experiencing the same issue, it's likely that the error is not specific to your code.
Review the workflow code.
The workflow YAML file provides information about the commands that are run on the continuous integration (CI) environment.
You should be able to reproduce locally by simply running the commands in the same order.
Infrastucture issues
Consider the possibility of infrastructure issues. If the error appears to be related to a slow network or a physical machine, it's possible that the problem is not related to the code. In this case, wait a bit and restart the job, or contact the infrastructure team if the problem persists.
Annotations
Check warning on line 32 in apps/ledger-live-mobile/src/analytics/TrackScreen.tsx
live-github-bot / @Mobile β’ Test App
react-hooks/exhaustive-deps
React Hook useEffect has a missing dependency: 'avoidDuplicates'. Either include it or remove the dependency array.
Check warning on line 43 in apps/ledger-live-mobile/src/components/TermsFooter.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 79 in apps/ledger-live-mobile/src/components/TransactionsAlerts.tsx
live-github-bot / @Mobile β’ Test App
react-hooks/exhaustive-deps
React Hook useEffect has a missing dependency: 'supportedChains'. Either include it or remove the dependency array.
Check warning on line 179 in apps/ledger-live-mobile/src/components/WebPTXPlayer/index.tsx
live-github-bot / @Mobile β’ Test App
react-hooks/exhaustive-deps
React Hook useEffect has a missing dependency: 'onClose'. Either include it or remove the dependency array.
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in iterator
Check warning on line 48 in apps/ledger-live-mobile/src/families/celo/VoteFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 49 in apps/ledger-live-mobile/src/families/celo/VoteFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 50 in apps/ledger-live-mobile/src/families/celo/VoteFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 52 in apps/ledger-live-mobile/src/families/celo/VoteFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in iterator
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in iterator
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in iterator
live-github-bot / @Mobile β’ Test App
react-hooks/exhaustive-deps
React Hook useEffect has missing dependencies: 'bridge', 'setTransaction', and 'transaction'. Either include them or remove the dependency array.
Check warning on line 17 in apps/ledger-live-mobile/src/families/ethereum/operationDetails.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in iterator
Check warning on line 53 in apps/ledger-live-mobile/src/families/near/StakingFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 54 in apps/ledger-live-mobile/src/families/near/StakingFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 55 in apps/ledger-live-mobile/src/families/near/StakingFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 57 in apps/ledger-live-mobile/src/families/near/StakingFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in iterator
Check warning on line 52 in apps/ledger-live-mobile/src/families/polkadot/BondFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array
Check warning on line 53 in apps/ledger-live-mobile/src/families/polkadot/BondFlow/01-Started.tsx
live-github-bot / @Mobile β’ Test App
react/jsx-key
Missing "key" prop for element in array