This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-3520-cf71520c95561ec347d0ee6d8a8823581a3752b4
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git

commit cfa8b9c4c2828f480dbbd167486e91009915418a
Author: Kevin Liu <[email protected]>
AuthorDate: Mon Oct 26 18:07:29 2026 +0000

    ci: share Rust caches across runner images (#3520)
    
    rust-cache hashes every installed toolchain into its key. Runner images
    roll out with different preinstalled stable versions (1.99.0 vs 1.99.1),
    which splits each job's cache into two keys that miss each other and
    duplicate ~2.8GB of cache storage. Jobs using rust-toolchain.toml never
    use stable, so setup-builder removes it.
    
    Co-authored-by: Copilot App <[email protected]>
---
 .github/actions/setup-builder/action.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/actions/setup-builder/action.yml 
b/.github/actions/setup-builder/action.yml
index e961ed633..99c6d2b61 100644
--- a/.github/actions/setup-builder/action.yml
+++ b/.github/actions/setup-builder/action.yml
@@ -42,6 +42,8 @@ runs:
         echo "Installing toolchain according to rust-toolchain.toml"
         rustup show
         rustup component add rustfmt clippy
+        # Unused, and its version varies by runner image, which splits 
rust-cache keys.
+        rustup toolchain uninstall stable
     - name: Fixup git permissions
       # https://github.com/actions/checkout/issues/766
       shell: bash

Reply via email to