From f676e24f974b94bf818d46515ecc989c58d14796 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Thu, 25 Jun 2026 18:53:18 +0000 Subject: [PATCH 1/2] fix: deflake infer-bazel-targets by running it on dind-large --- .github/workflows/ci-main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index b7692eefe9c8..73c09068cd9b 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -163,7 +163,8 @@ jobs: infer-bazel-targets: name: Infer Bazel Targets - runs-on: ubuntu-latest + runs-on: *dind-large-setup + container: *container-setup needs: [config] steps: # calculate which bazel targets may need to be rebuilt From d3f91241c0929a087b33f0a38043fcc81609a630 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Thu, 25 Jun 2026 19:10:06 +0000 Subject: [PATCH 2/2] fix --- .github/workflows/ci-main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 73c09068cd9b..fe6ab7dd41de 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -189,16 +189,17 @@ jobs: # creates a list of targets suitable for --target_pattern_file and list # the targets on the step summary - ci/scripts/targets.py build "${targets_args[@]}" >"${{ runner.temp }}/build-targets" - ci/scripts/targets.py test "${targets_args[@]}" >"${{ runner.temp }}/test-targets" + mkdir -p "$HOME/.cache/bazel-targets" + ci/scripts/targets.py build "${targets_args[@]}" >"$HOME/.cache/bazel-targets/build-targets" + ci/scripts/targets.py test "${targets_args[@]}" >"$HOME/.cache/bazel-targets/test-targets" - name: Upload target files uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: bazel-targets path: | - ${{ runner.temp }}/build-targets - ${{ runner.temp }}/test-targets + ~/.cache/bazel-targets/build-targets + ~/.cache/bazel-targets/test-targets bazel-test-all: name: Bazel Test All