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-217e66dbdf2e206b843e6e68acd85fb4feeeea7b
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git

commit 7bb1032fb1d4c0bf577bac0891c369519aacf2e3
Author: Kevin Liu <[email protected]>
AuthorDate: Mon Oct 26 09:42:21 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