From 0f92e6c439a5bb5f5b0cd5e89d1deec095a089a3 Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Tue, 1 Apr 2025 17:07:51 +0000 Subject: [PATCH 1/3] Bump sccache version to latest to fix gh cache issue. --- .github/actions/setup-rust-runtime/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-rust-runtime/action.yaml b/.github/actions/setup-rust-runtime/action.yaml index cd18be9890315..52ec94dfe31ab 100644 --- a/.github/actions/setup-rust-runtime/action.yaml +++ b/.github/actions/setup-rust-runtime/action.yaml @@ -21,7 +21,7 @@ runs: using: "composite" steps: - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.4 + uses: mozilla-actions/sccache-action@v0.0.8 - name: Configure runtime env shell: bash # do not produce debug symbols to keep memory usage down From a590a3e0475ebda0f6beb2fc15d0f27b1450027b Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Tue, 1 Apr 2025 17:13:33 +0000 Subject: [PATCH 2/3] version blocked, trying with a hash --- .github/actions/setup-rust-runtime/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-rust-runtime/action.yaml b/.github/actions/setup-rust-runtime/action.yaml index 52ec94dfe31ab..c516d53b638c7 100644 --- a/.github/actions/setup-rust-runtime/action.yaml +++ b/.github/actions/setup-rust-runtime/action.yaml @@ -21,7 +21,7 @@ runs: using: "composite" steps: - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.8 + uses: mozilla-actions/sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8 - name: Configure runtime env shell: bash # do not produce debug symbols to keep memory usage down From 9b3f1c562c69a60f353afb23baf1f92978caa56d Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Tue, 1 Apr 2025 17:16:38 +0000 Subject: [PATCH 3/3] disable sccache. --- .github/actions/setup-rust-runtime/action.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-rust-runtime/action.yaml b/.github/actions/setup-rust-runtime/action.yaml index c516d53b638c7..b6fb2c898bf2f 100644 --- a/.github/actions/setup-rust-runtime/action.yaml +++ b/.github/actions/setup-rust-runtime/action.yaml @@ -20,8 +20,10 @@ description: 'Setup Rust Runtime Environment' runs: using: "composite" steps: - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8 + # https://github.com/apache/datafusion/issues/15535 + # disabled because neither version nor git hash works with apache github policy + #- name: Run sccache-cache + # uses: mozilla-actions/sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8 - name: Configure runtime env shell: bash # do not produce debug symbols to keep memory usage down @@ -30,9 +32,11 @@ runs: # # Set debuginfo=line-tables-only as debuginfo=0 causes immensely slow build # See for more details: https://github.com/rust-lang/rust/issues/119560 + # + # readd the following to the run below once sccache-cache is re-enabled + # echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV + # echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV run: | - echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV - echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV echo "RUST_BACKTRACE=1" >> $GITHUB_ENV echo "RUSTFLAGS=-C debuginfo=line-tables-only -C incremental=false" >> $GITHUB_ENV