From 02e2b7901597ccd717188d017a4b0c6021a616fc Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Thu, 15 Jan 2026 23:13:59 +0000 Subject: [PATCH] Use ``fail-on-cache-miss`` when restoring the client cache built by the `build_client.yaml` GitHub workflow. Galaxy would fail anyway at startup when trying to build the cache due to missing `node`, but the reason for the error would be less clear. --- .github/workflows/first_startup.yaml | 1 + .github/workflows/integration_selenium.yaml | 1 + .github/workflows/osx_startup.yaml | 1 + .github/workflows/playwright.yaml | 1 + .github/workflows/selenium.yaml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/first_startup.yaml b/.github/workflows/first_startup.yaml index 2fb478fa8bb..f77b42c9926 100644 --- a/.github/workflows/first_startup.yaml +++ b/.github/workflows/first_startup.yaml @@ -47,6 +47,7 @@ jobs: - name: Restore client cache uses: actions/cache@v5 with: + fail-on-cache-miss: true key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' - name: Install tox diff --git a/.github/workflows/integration_selenium.yaml b/.github/workflows/integration_selenium.yaml index 468a1792ae5..0a157255b4c 100644 --- a/.github/workflows/integration_selenium.yaml +++ b/.github/workflows/integration_selenium.yaml @@ -71,6 +71,7 @@ jobs: - name: Restore client cache uses: actions/cache@v5 with: + fail-on-cache-miss: true key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' - name: Run tests diff --git a/.github/workflows/osx_startup.yaml b/.github/workflows/osx_startup.yaml index 259f91e972d..c21b004ad10 100644 --- a/.github/workflows/osx_startup.yaml +++ b/.github/workflows/osx_startup.yaml @@ -40,6 +40,7 @@ jobs: - name: Restore client cache uses: actions/cache@v5 with: + fail-on-cache-miss: true key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' - name: Install uv diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yaml index 2d1f246b131..76aca43d266 100644 --- a/.github/workflows/playwright.yaml +++ b/.github/workflows/playwright.yaml @@ -78,6 +78,7 @@ jobs: - name: Restore client cache uses: actions/cache@v5 with: + fail-on-cache-miss: true key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' - name: Run tests diff --git a/.github/workflows/selenium.yaml b/.github/workflows/selenium.yaml index 7820aad9110..ce697e2e35f 100644 --- a/.github/workflows/selenium.yaml +++ b/.github/workflows/selenium.yaml @@ -71,6 +71,7 @@ jobs: - name: Restore client cache uses: actions/cache@v5 with: + fail-on-cache-miss: true key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' - name: Run tests