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

🔥 Hotfix 2023-07-21 #4101

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 91 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"mode": "pre",
"tag": "hotfix",
"initialVersions": {
"@ledgerhq/live-cli": "22.11.0",
"ledger-live-desktop": "2.65.0",
"live-mobile": "3.28.0",
"@ledgerhq/coin-algorand": "0.2.5",
"@ledgerhq/coin-evm": "0.5.0",
"@ledgerhq/coin-framework": "0.5.0",
"@ledgerhq/coin-polkadot": "0.3.2",
"@ledgerhq/domain-service": "1.1.7",
"@ledgerhq/live-env": "0.4.1",
"@ledgerhq/evm-tools": "1.0.2",
"@ledgerhq/live-common": "31.4.0",
"ledger-libs": "0.1.1",
"flow-support": "1.0.0",
"@ledgerhq/cryptoassets": "9.11.0",
"@ledgerhq/devices": "8.0.5",
"@ledgerhq/errors": "6.13.0",
"@ledgerhq/hw-app-algorand": "6.27.17",
"@ledgerhq/hw-app-btc": "10.0.6",
"@ledgerhq/hw-app-cosmos": "6.28.3",
"@ledgerhq/hw-app-eth": "6.34.1",
"@ledgerhq/hw-app-exchange": "0.2.1",
"@ledgerhq/hw-app-helium": "6.29.12",
"@ledgerhq/hw-app-near": "6.27.12",
"@ledgerhq/hw-app-polkadot": "6.27.17",
"@ledgerhq/hw-app-solana": "7.0.11",
"@ledgerhq/hw-app-str": "6.27.17",
"@ledgerhq/hw-app-tezos": "6.27.17",
"@ledgerhq/hw-app-trx": "6.27.17",
"@ledgerhq/hw-app-xrp": "6.27.17",
"@ledgerhq/hw-transport": "6.28.6",
"@ledgerhq/hw-transport-http": "6.28.1",
"@ledgerhq/hw-transport-mocker": "6.27.17",
"@ledgerhq/hw-transport-node-ble": "6.27.17",
"@ledgerhq/hw-transport-node-hid": "6.27.18",
"@ledgerhq/hw-transport-node-hid-noevents": "6.27.17",
"@ledgerhq/hw-transport-node-hid-singleton": "6.28.15",
"@ledgerhq/hw-transport-node-speculos": "6.27.17",
"@ledgerhq/hw-transport-node-speculos-http": "6.27.17",
"@ledgerhq/hw-transport-vault": "1.1.1",
"@ledgerhq/hw-transport-web-ble": "6.27.17",
"@ledgerhq/hw-transport-webhid": "6.27.17",
"@ledgerhq/hw-transport-webusb": "6.27.17",
"@ledgerhq/logs": "6.10.1",
"@ledgerhq/react-native-hid": "6.29.5",
"@ledgerhq/react-native-hw-transport-ble": "6.29.3",
"@ledgerhq/swift-bridge-hw-app-eth": "1.0.12",
"@ledgerhq/swift-bridge-hw-app-solana": "1.0.6",
"@ledgerhq/swift-bridge-hw-transport-ble": "1.0.6",
"@ledgerhq/types-cryptoassets": "7.4.0",
"@ledgerhq/types-devices": "6.22.4",
"@ledgerhq/types-live": "6.38.0",
"@ledgerhq/live-network": "1.1.4",
"@ledgerhq/live-promise": "0.0.1",
"@ledgerhq/test-utils": "0.0.2",
"dummy-live-app": "0.1.1",
"dummy-wallet-app": "0.1.18",
"ui": "0.2.0",
"@ledgerhq/crypto-icons-ui": "0.5.0",
"@ledgerhq/icons-ui": "0.4.1",
"@ledgerhq/native-ui": "0.20.3",
"@ledgerhq/react-ui": "0.14.4",
"@ledgerhq/ui-shared": "0.2.0",
"actions-root": "0.0.1",
"@actions/change-product-name": "1.0.1",
"@actions/generate-bot-super-report": "1.0.2",
"@actions/generate-release-message": "1.0.1",
"@actions/get-package-infos": "1.0.1",
"@actions/get-workflow-artifacts-id": "1.0.1",
"@actions/live-common-affected": "1.0.0",
"@actions/prepare-comment-screenshots": "1.0.1",
"@actions/submit-bot-report": "1.0.2",
"@actions/turbo-affected": "1.0.0",
"@actions/turborepo-gh-cache": "1.0.1",
"@actions/turborepo-s3-cache": "1.0.1",
"@actions/upload-images": "1.0.2",
"live-common-tools": "0.6.1",
"create-release-hash": "1.0.0",
"esbuild-utils": "1.0.1",
"live-github-bot": "1.0.2",
"metro-extra-config": "1.0.0",
"migrate-branch": "0.0.1",
"native-modules-tools": "1.0.2",
"pnpm-utils": "1.0.1",
"@ledgerhq/react-devtools": "0.0.0"
},
"changesets": []
}
4 changes: 2 additions & 2 deletions .github/workflows/backup/version-or-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'develop' }}
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
release:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build-desktop-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ on:
default: "false"

concurrency:
# See: https://github.com/orgs/community/discussions/35341
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'develop' }}
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build-desktop-app:
Expand Down Expand Up @@ -75,7 +74,7 @@ jobs:
os: ${{ steps.os.outputs.result }}
- name: Build the app
id: build-app
run: pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo" --output-logs="errors-only"
run: pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo"
- name: Save result
id: save-result
shell: bash
Expand Down
23 changes: 14 additions & 9 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ on:
default: "false"

concurrency:
# See: https://github.com/orgs/community/discussions/35341
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'develop' }}
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build-desktop-app-linux:
Expand All @@ -38,7 +37,7 @@ jobs:
steps:
- uses: LedgerHQ/ledger-live/tools/actions/composites/checkout-merge@develop
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || github.sha }}
ref: ${{ (github.event_name == 'workflow_dispatch' && (inputs.ref || github.ref_name)) || github.sha }}
base: ${{ inputs.base_ref }}
- name: Set git user
run: |
Expand All @@ -50,8 +49,10 @@ jobs:
id: build-desktop
with:
os: linux
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: Build the app
run: pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo" --output-logs="errors-only"
run: pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo"
- name: Upload linux app
uses: actions/upload-artifact@v3
with:
Expand All @@ -66,7 +67,7 @@ jobs:
steps:
- uses: LedgerHQ/ledger-live/tools/actions/composites/checkout-merge@develop
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || github.sha }}
ref: ${{ (github.event_name == 'workflow_dispatch' && (inputs.ref || github.ref_name)) || github.sha }}
base: ${{ inputs.base_ref }}
- name: Set git user
run: |
Expand All @@ -80,9 +81,11 @@ jobs:
id: build-desktop
with:
os: win
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: Build the app
run: |
pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo" --output-logs="errors-only"
pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo"
shell: bash
- name: Upload windows
uses: actions/upload-artifact@v3
Expand All @@ -98,7 +101,7 @@ jobs:
steps:
- uses: LedgerHQ/ledger-live/tools/actions/composites/checkout-merge@develop
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || github.sha }}
ref: ${{ (github.event_name == 'workflow_dispatch' && (inputs.ref || github.ref_name)) || github.sha }}
base: ${{ inputs.base_ref }}
persist-credentials: false
- name: Set git user
Expand All @@ -113,9 +116,11 @@ jobs:
id: build-desktop
with:
os: mac
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: Build the app
run: |
pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo" --output-logs="errors-only"
pnpm build:lld --api="http://127.0.0.1:${{ steps.build-desktop.outputs.port }}" --token="yolo" --team="foo"
- name: Upload macOS app
uses: actions/upload-artifact@v3
with:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/build-mobile-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ on:
required: false

concurrency:
# See: https://github.com/orgs/community/discussions/35341
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'develop' }}
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build-mobile-app-android:
Expand Down Expand Up @@ -66,18 +65,20 @@ jobs:
run: cd apps/ledger-live-mobile && npm version $VERSION
- name: TurboRepo local caching server
id: turborepo-cache-server
uses: ./tools/actions/turborepo-gh-cache
uses: ./tools/actions/turborepo-s3-cache
with:
server-token: "yolo"
cleanup-cache-folder: "true"
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: build the app
env:
ANDROID_KEYSTORE_PASS: staging
ANDROID_KEY_ALIAS: staging
ANDROID_KEY_PASS: staging
NODE_OPTIONS: "--max-old-space-size=7168"
ANDROID_KEYSTORE_FILE: ${{ github.workspace }}/apps/ledger-live-mobile/android/app/staging.kstr
run: pnpm build:llm:android --api="http://127.0.0.1:${{ steps.turborepo-cache-server.outputs.port }}" --token="yolo" --team="foo" --output-logs="errors-only"
run: pnpm build:llm:android --api="http://127.0.0.1:${{ steps.turborepo-cache-server.outputs.port }}" --token="yolo" --team="foo"
- uses: ./tools/actions/get-package-infos
id: post-version
with:
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/build-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ on:
required: false

concurrency:
# See: https://github.com/orgs/community/discussions/35341
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'develop' }}
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build-mobile-app-android:
Expand All @@ -34,7 +33,7 @@ jobs:
steps:
- uses: LedgerHQ/ledger-live/tools/actions/composites/checkout-merge@develop
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || github.sha }}
ref: ${{ (github.event_name == 'workflow_dispatch' && (inputs.ref || github.ref_name)) || github.sha }}
base: ${{ inputs.base_ref }}
- name: set git user
run: |
Expand Down Expand Up @@ -72,18 +71,20 @@ jobs:
run: cd apps/ledger-live-mobile && npm version $VERSION
- name: TurboRepo local caching server
id: turborepo-cache-server
uses: ./tools/actions/turborepo-gh-cache
uses: ./tools/actions/turborepo-s3-cache
with:
server-token: "yolo"
cleanup-cache-folder: "true"
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: build the app
env:
ANDROID_KEYSTORE_PASS: staging
ANDROID_KEY_ALIAS: staging
ANDROID_KEY_PASS: staging
NODE_OPTIONS: "--max-old-space-size=7168"
ANDROID_KEYSTORE_FILE: ${{ github.workspace }}/apps/ledger-live-mobile/android/app/staging.kstr
run: pnpm build-ci:llm:android --api="http://127.0.0.1:${{ steps.turborepo-cache-server.outputs.port }}" --token="yolo" --team="foo" --output-logs="errors-only"
run: pnpm build-ci:llm:android --api="http://127.0.0.1:${{ steps.turborepo-cache-server.outputs.port }}" --token="yolo" --team="foo"
- uses: ./tools/actions/get-package-infos
id: post-version
with:
Expand All @@ -102,7 +103,7 @@ jobs:
steps:
- uses: LedgerHQ/ledger-live/tools/actions/composites/checkout-merge@develop
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || github.sha }}
ref: ${{ (github.event_name == 'workflow_dispatch' && (inputs.ref || github.ref_name)) || github.sha }}
base: ${{ inputs.base_ref }}
- name: set git user
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'develop' }}
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
with:
skip_ruby: true
install_playwright: true
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- uses: ./tools/actions/composites/update-snapshots-desktop
id: update-snapshots
with:
Expand Down Expand Up @@ -111,6 +113,8 @@ jobs:
skip_ruby: true
install_playwright: true
upgrade_npm: true
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: set git user
run: |
git config user.email "105061298+live-github-bot[bot]@users.noreply.github.com"
Expand Down Expand Up @@ -155,6 +159,8 @@ jobs:
skip_ruby: true
install_playwright: true
pnpm_dest: ${{ runner.temp }}/setup-pnpm
aws-access-key: ${{ secrets.ACCESS_KEY_BUCKET }}
aws-secret-key: ${{ secrets.SECRET_KEY_BUCKET }}
- name: set git user
run: |
git config user.email "105061298+live-github-bot[bot]@users.noreply.github.com"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/healthchecks-runners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: pnpm/action-setup@v2
if: always()
with:
version: 8.1
version: 8.6
dest: ${{ runner.temp }}/setup-pnpm
- uses: actions/setup-node@v3
if: always()
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- uses: pnpm/action-setup@v2
if: always()
with:
version: 8.1
version: 8.6
dest: ${{ runner.temp }}/setup-pnpm
- uses: actions/setup-node@v3
if: always()
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
- uses: pnpm/action-setup@v2
if: always()
with:
version: 8.1
version: 8.6
dest: ${{ runner.temp }}/setup-pnpm
- uses: actions/setup-node@v3
if: always()
Expand Down
Loading
Loading