]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Temporarily allow the TSan (free-threading) job to fail (GH-152173) (#153268)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Jul 2026 16:30:41 +0000 (18:30 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2026 16:30:41 +0000 (16:30 +0000)
(cherry picked from commit 4f39efc47de9b1bc1cd9dfa88060efb4ff104d01)

Co-authored-by: Stan Ulbrych <stan@python.org>
.github/workflows/build.yml

index 1203355512e5bef023606f581fd91f824c23824d..8bf05b0632ba80f7af20283888679c93447e900e 100644 (file)
@@ -601,7 +601,6 @@ jobs:
         - Thread
         free-threading:
         - false
-        - true
         sanitizer:
         - TSan
         include:
@@ -613,6 +612,17 @@ jobs:
       sanitizer: ${{ matrix.sanitizer }}
       free-threading: ${{ matrix.free-threading }}
 
+  # XXX: Temporarily allow this job to fail to not block PRs.
+  build-san-free-threading:
+    # ${{ '' } is a hack to nest jobs under the same sidebar category.
+    name: Sanitizers${{ '' }}  # zizmor: ignore[obfuscation]
+    needs: build-context
+    if: needs.build-context.outputs.run-ubuntu == 'true'
+    uses: ./.github/workflows/reusable-san.yml
+    with:
+      sanitizer: TSan
+      free-threading: true
+
   cross-build-linux:
     name: Cross build Linux
     runs-on: ubuntu-latest
@@ -716,6 +726,7 @@ jobs:
     - test-hypothesis
     - build-asan
     - build-san
+    - build-san-free-threading
     - cross-build-linux
     - cifuzz
     if: always()
@@ -727,6 +738,7 @@ jobs:
         allowed-failures: >-
           build-android,
           build-emscripten,
+          build-san-free-threading,
           build-windows-msi,
           build-ubuntu-ssltests,
           test-hypothesis,