From 73f77fbd8b100689500a99c99c66e60df4e469c3 Mon Sep 17 00:00:00 2001 From: CarlosFelipeOR Date: Tue, 22 Sep 2026 21:43:04 -0300 Subject: [PATCH 1/2] Bump Altinity/checkout to scale submodule parallelism by CPU count Signed-off-by: CarlosFelipeOR --- .github/workflows/reusable_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 747b907f126b..5e3a8393a7e3 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -56,13 +56,13 @@ jobs: timeout-minutes: 150 env: GITHUB_JOB_OVERRIDDEN: Build-${{inputs.build_name}} - # Abort a submodule fetch stalled below 1 KB/s for 60 s, so .github/retry.sh can retry it. + # Abort a submodule fetch stalled below 1 KB/s for 60 s. GIT_HTTP_LOW_SPEED_LIMIT: 1000 GIT_HTTP_LOW_SPEED_TIME: 60 runs-on: [self-hosted, altinity-on-demand, altinity-builder] steps: - name: Check out repository code - uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6 + uses: Altinity/checkout@a6535ac1d2a2cb11b80968b640bcc3a36945892a with: clear-repository: true ref: ${{ fromJson(inputs.data).git_ref }} From ae8e890ac4e304696c43f040454ab055e431d264 Mon Sep 17 00:00:00 2001 From: CarlosFelipeOR Date: Tue, 22 Sep 2026 22:56:26 -0300 Subject: [PATCH 2/2] Set GIT_TERMINAL_PROMPT=0 so a refused submodule clone retries instead of hanging Signed-off-by: CarlosFelipeOR --- .github/workflows/reusable_build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 5e3a8393a7e3..ee62c9975708 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -59,6 +59,9 @@ jobs: # Abort a submodule fetch stalled below 1 KB/s for 60 s. GIT_HTTP_LOW_SPEED_LIMIT: 1000 GIT_HTTP_LOW_SPEED_TIME: 60 + # GitHub answers 401 to some of the parallel anonymous submodule clones. Fail + # instead of prompting for a password on /dev/tty, so retry.sh can retry. + GIT_TERMINAL_PROMPT: 0 runs-on: [self-hosted, altinity-on-demand, altinity-builder] steps: - name: Check out repository code