diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 817ef444f16..db81cb0d310 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,6 +17,7 @@ concurrency: jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -42,6 +43,7 @@ jobs: # the change-detector returns "all changed" for non-PR events. if: needs.changes.outputs.python == 'true' || needs.changes.outputs.frontend == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 30 permissions: actions: read contents: read diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3cc558b80c4..4da44c32790 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,6 +21,7 @@ jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -41,6 +42,7 @@ jobs: setup_matrix: runs-on: ubuntu-24.04 + timeout-minutes: 5 outputs: matrix_config: ${{ steps.set_matrix.outputs.matrix_config }} steps: @@ -58,6 +60,7 @@ jobs: needs.changes.outputs.frontend == 'true' || needs.changes.outputs.docker == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 60 strategy: matrix: build_preset: ${{fromJson(needs.setup_matrix.outputs.matrix_config)}} @@ -141,6 +144,7 @@ jobs: needs: changes if: github.event_name == 'push' && github.ref == 'refs/heads/master' && needs.changes.outputs.docker == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 30 steps: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index de70c687eb7..05237147c88 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -19,6 +19,7 @@ concurrency: jobs: pre-commit: runs-on: ubuntu-24.04 + timeout-minutes: 20 strategy: matrix: python-version: ["current", "previous", "next"] diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index edb21091dc5..1f035151b4b 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -29,6 +29,7 @@ concurrency: jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -51,6 +52,7 @@ jobs: if: needs.changes.outputs.python == 'true' || needs.changes.outputs.frontend == 'true' # Somehow one test flakes on 24.04 for unknown reasons, this is the only GHA left on 22.04 runs-on: ubuntu-22.04 + timeout-minutes: 30 permissions: contents: read pull-requests: read @@ -170,6 +172,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' || needs.changes.outputs.frontend == 'true' runs-on: ubuntu-22.04 + timeout-minutes: 30 permissions: contents: read pull-requests: read diff --git a/.github/workflows/superset-extensions-cli.yml b/.github/workflows/superset-extensions-cli.yml index a6b361c99f0..96765b60283 100644 --- a/.github/workflows/superset-extensions-cli.yml +++ b/.github/workflows/superset-extensions-cli.yml @@ -20,6 +20,7 @@ concurrency: jobs: test-superset-extensions-cli-package: runs-on: ubuntu-24.04 + timeout-minutes: 30 strategy: matrix: python-version: ["previous", "current", "next"] diff --git a/.github/workflows/superset-frontend.yml b/.github/workflows/superset-frontend.yml index 7ccb4a8709d..69dd007e610 100644 --- a/.github/workflows/superset-frontend.yml +++ b/.github/workflows/superset-frontend.yml @@ -22,6 +22,7 @@ permissions: jobs: frontend-build: runs-on: ubuntu-24.04 + timeout-minutes: 30 outputs: should-run: ${{ steps.check.outputs.frontend }} steps: @@ -74,6 +75,7 @@ jobs: shard: [1, 2, 3, 4, 5, 6, 7, 8] fail-fast: false runs-on: ubuntu-24.04 + timeout-minutes: 20 steps: - name: Download Docker Image Artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 @@ -103,6 +105,7 @@ jobs: needs: [sharded-jest-tests] if: needs.frontend-build.outputs.should-run == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 15 permissions: id-token: write steps: @@ -144,6 +147,7 @@ jobs: needs: frontend-build if: needs.frontend-build.outputs.should-run == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 20 steps: - name: Download Docker Image Artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 @@ -168,6 +172,7 @@ jobs: needs: frontend-build if: needs.frontend-build.outputs.should-run == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 20 steps: - name: Download Docker Image Artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 @@ -187,6 +192,7 @@ jobs: needs: frontend-build if: needs.frontend-build.outputs.should-run == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 25 steps: - name: Download Docker Image Artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 diff --git a/.github/workflows/superset-playwright.yml b/.github/workflows/superset-playwright.yml index 8a66b7ad233..b7135c30b60 100644 --- a/.github/workflows/superset-playwright.yml +++ b/.github/workflows/superset-playwright.yml @@ -25,6 +25,7 @@ concurrency: jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -48,6 +49,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' || needs.changes.outputs.frontend == 'true' runs-on: ubuntu-22.04 + timeout-minutes: 30 continue-on-error: true permissions: contents: read diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml index dee0165ab05..bff9d667e5b 100644 --- a/.github/workflows/superset-python-integrationtest.yml +++ b/.github/workflows/superset-python-integrationtest.yml @@ -16,6 +16,7 @@ concurrency: jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -36,6 +37,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 45 permissions: id-token: write env: @@ -121,6 +123,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 45 permissions: id-token: write strategy: @@ -179,6 +182,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 45 permissions: id-token: write env: diff --git a/.github/workflows/superset-python-presto-hive.yml b/.github/workflows/superset-python-presto-hive.yml index a8360db36b9..d94675c9913 100644 --- a/.github/workflows/superset-python-presto-hive.yml +++ b/.github/workflows/superset-python-presto-hive.yml @@ -17,6 +17,7 @@ concurrency: jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -37,6 +38,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 45 permissions: id-token: write env: @@ -99,6 +101,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 45 permissions: id-token: write env: diff --git a/.github/workflows/superset-python-unittest.yml b/.github/workflows/superset-python-unittest.yml index 36db4cc239a..9d16eb1057d 100644 --- a/.github/workflows/superset-python-unittest.yml +++ b/.github/workflows/superset-python-unittest.yml @@ -17,6 +17,7 @@ concurrency: jobs: changes: runs-on: ubuntu-24.04 + timeout-minutes: 10 permissions: contents: read pull-requests: read @@ -37,6 +38,7 @@ jobs: needs: changes if: needs.changes.outputs.python == 'true' runs-on: ubuntu-24.04 + timeout-minutes: 30 permissions: id-token: write strategy: diff --git a/.github/workflows/superset-websocket.yml b/.github/workflows/superset-websocket.yml index 58e5ffe0552..13d42befc42 100644 --- a/.github/workflows/superset-websocket.yml +++ b/.github/workflows/superset-websocket.yml @@ -22,6 +22,7 @@ concurrency: jobs: app-checks: runs-on: ubuntu-24.04 + timeout-minutes: 20 steps: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6