ci: disable cirrus cache in 32bit arm job
What changed, and why it matters
This commit changes Bitcoin Core's continuous integration (CI) configuration for GitHub Actions. It adds a per-job option to override which cache provider is used for Docker setup, specifically setting a 32-bit ARM job to use GitHub Actions' native cache instead of Cirrus Labs' cache. This is a build-infrastructure tweak with no apparent effect on the Bitcoin software users run, on their funds, or on network security.
No security action required. Treat as routine CI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change is confined to .github/workflows/ci.yml. It introduces an optional matrix.provider field defaulting to needs.runners.outputs.provider, and sets provider: ‘gha’ for the 32-bit ARM CI job. The configure-docker action now receives cache-provider: ${{ matrix.provider || needs.runners.outputs.provider }}. This disables Cirrus cache configuration for the ARM job, likely because that job does not run on Cirrus runners and therefore cannot use Cirrus’s cache backend. The Cirrus save/restore-cache actions are unaffected because they auto-fallback by runner type.
Changed components
.github/workflows/ci.ymlCI 32-bit ARM jobconfigure-docker GitHub Action inputInspect captured patch +2 / −1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 43beb53e..a5cae564 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -439,6 +439,7 @@ jobs:
fallback-runner: 'ubuntu-24.04-arm'
timeout-minutes: 120
file-env: './ci/test/00_setup_env_arm.sh'
+ provider: 'gha'
- name: 'ASan + LSan + UBSan + integer, no depends, USDT'
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' # has to match container in ci/test/00_setup_env_native_asan.sh for tracing tools
@@ -513,7 +514,7 @@ jobs:
- name: Configure Docker
uses: ./.github/actions/configure-docker
with:
- cache-provider: ${{ needs.runners.outputs.provider }}
+ cache-provider: ${{ matrix.provider || needs.runners.outputs.provider }}
- name: Enable bpfcc script
if: ${{ env.CONTAINER_NAME == 'ci_native_asan' }}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.