]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Temporarily allow the TSan (free-threading) job to fail (#152173)
authorStan Ulbrych <stan@python.org>
Tue, 7 Jul 2026 14:59:57 +0000 (16:59 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2026 14:59:57 +0000 (20:29 +0530)
.github/workflows/build.yml

index b541dbd0c23d32639ae7c24418ab5275e8055532..98df879413c72ee449969c32d3eb2275bc9cff81 100644 (file)
@@ -554,7 +554,6 @@ jobs:
         - Thread
         free-threading:
         - false
-        - true
         sanitizer:
         - TSan
         include:
@@ -566,6 +565,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-26.04
@@ -669,6 +679,7 @@ jobs:
     - test-hypothesis
     - build-asan
     - build-san
+    - build-san-free-threading
     - cross-build-linux
     - cifuzz
     if: always()
@@ -680,6 +691,7 @@ jobs:
         allowed-failures: >-
           build-android,
           build-emscripten,
+          build-san-free-threading,
           build-windows-msi,
           build-ubuntu-ssltests,
           test-hypothesis,