From 2c832808e21a023414ce602bf2d7971f4b0c49b6 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Tue, 28 Apr 2026 09:38:31 -0700 Subject: [PATCH 1/2] fix? --- .github/actions/setup-sentry/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/setup-sentry/action.yml b/.github/actions/setup-sentry/action.yml index 4229701b067db2..3bec991a45530a 100644 --- a/.github/actions/setup-sentry/action.yml +++ b/.github/actions/setup-sentry/action.yml @@ -140,6 +140,12 @@ runs: run: | sentry init + # Prevent git from spawning background gc/maintenance processes during + # dependency clones, which races with shutil.copytree (git 2.54 regression). + git config --global gc.auto 0 + git config --global maintenance.auto 0 + git config --global fetch.writeCommitGraph false + # This is necessary to bring up devservices with appropriate sentry config cd "$WORKDIR" From db4173122fa752c0556653f2e6a4c5bbb8ca875c Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Tue, 28 Apr 2026 09:38:43 -0700 Subject: [PATCH 2/2] unset after --- .github/actions/setup-sentry/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/setup-sentry/action.yml b/.github/actions/setup-sentry/action.yml index 3bec991a45530a..6fa9253e3cbd91 100644 --- a/.github/actions/setup-sentry/action.yml +++ b/.github/actions/setup-sentry/action.yml @@ -151,6 +151,10 @@ runs: timeout "${DEVSERVICES_TIMEOUT}m" devservices up --mode "$DEVSERVICES_MODE" + git config --global --unset gc.auto + git config --global --unset maintenance.auto + git config --global --unset fetch.writeCommitGraph + # have tests listen on the docker gateway ip so loopback can occur echo "DJANGO_LIVE_TEST_SERVER_ADDRESS=$(docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}')" >> "$GITHUB_ENV"