From 857c926bb8c8e66ce5ac044684c617ec416d3eb7 Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Wed, 18 Nov 2026 09:46:26 +0100 Subject: [PATCH 1/3] [ci] Properly access the INCREMENTAL env variable on Windows (cherry picked from commit a33e83bfd3c4a6d9402fde9f9d17ee73e7e5f34c) --- .github/workflows/root-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/root-ci.yml b/.github/workflows/root-ci.yml index 5633c623dfce5..480a011e9dca3 100644 --- a/.github/workflows/root-ci.yml +++ b/.github/workflows/root-ci.yml @@ -286,7 +286,7 @@ jobs: python .github/workflows/root-ci-config/build_root.py --buildtype ${{ matrix.config }} --platform windows10 - --incremental $INCREMENTAL + --incremental %INCREMENTAL% --base_ref ${{ github.base_ref }} --sha ${{ github.sha }} --pull_repository ${{ github.event.pull_request.head.repo.clone_url }} From c8e82cd1a63650dabc4239a35901578111b3260c Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Thu, 19 Nov 2026 10:14:19 +0100 Subject: [PATCH 2/3] [ci] Adapt git command for Windows (cherry picked from commit c6020b2701a5dbb63afbae4b8fffba3b0d749daf) --- .github/workflows/root-ci-config/build_root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/root-ci-config/build_root.py b/.github/workflows/root-ci-config/build_root.py index c16862d6bb5dd..2d3e894bef3aa 100755 --- a/.github/workflows/root-ci-config/build_root.py +++ b/.github/workflows/root-ci-config/build_root.py @@ -292,7 +292,7 @@ def git_pull(directory: str, repository: str, branch: str): cd '{targetdir}' git checkout {branch} git fetch - git reset --hard @{{u}} + git reset --hard '@{{u}}' """) else: returncode = subprocess_with_log(f""" From 2ce6f045a2a4f39250e62e126956b2a534ae6a5d Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Thu, 19 Nov 2026 10:59:56 +0100 Subject: [PATCH 3/3] [ci] Chunk artifacts download To support payloads larger than 4 GB on 32 bits platforms (cherry picked from commit 6df55703ab4c581be52ebabd4581fc33e31b0af5) --- .github/workflows/root-ci-config/build_utils.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/root-ci-config/build_utils.py b/.github/workflows/root-ci-config/build_utils.py index 98beead189755..47382b27b4d77 100755 --- a/.github/workflows/root-ci-config/build_utils.py +++ b/.github/workflows/root-ci-config/build_utils.py @@ -297,8 +297,13 @@ def download_file(url: str, dest: str) -> None: if not os.path.exists(parent_dir): os.makedirs(parent_dir) - with open(dest, 'wb') as fout, get(url, timeout=300) as req: - fout.write(req.content) + # We need to download in chunks for 32 bits platforms and payloads + # larger than 4 GB + with get(url, timeout=300, stream=True) as req: + req.raise_for_status() + with open(dest, 'wb') as fout: + for chunk in req.iter_content(chunk_size=1 << 20): + fout.write(chunk) def download_latest(url: str, prefix: str, destination: str) -> str: