Skip to content

Commit 07d8f50

Browse files
[3.15] Temporarily allow the TSan (free-threading) job to fail (GH-152173) (#153268)
(cherry picked from commit 4f39efc) Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 5605808 commit 07d8f50

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,6 @@ jobs:
601601
- Thread
602602
free-threading:
603603
- false
604-
- true
605604
sanitizer:
606605
- TSan
607606
include:
@@ -613,6 +612,17 @@ jobs:
613612
sanitizer: ${{ matrix.sanitizer }}
614613
free-threading: ${{ matrix.free-threading }}
615614

615+
# XXX: Temporarily allow this job to fail to not block PRs.
616+
build-san-free-threading:
617+
# ${{ '' } is a hack to nest jobs under the same sidebar category.
618+
name: Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
619+
needs: build-context
620+
if: needs.build-context.outputs.run-ubuntu == 'true'
621+
uses: ./.github/workflows/reusable-san.yml
622+
with:
623+
sanitizer: TSan
624+
free-threading: true
625+
616626
cross-build-linux:
617627
name: Cross build Linux
618628
runs-on: ubuntu-latest
@@ -716,6 +726,7 @@ jobs:
716726
- test-hypothesis
717727
- build-asan
718728
- build-san
729+
- build-san-free-threading
719730
- cross-build-linux
720731
- cifuzz
721732
if: always()
@@ -727,6 +738,7 @@ jobs:
727738
allowed-failures: >-
728739
build-android,
729740
build-emscripten,
741+
build-san-free-threading,
730742
build-windows-msi,
731743
build-ubuntu-ssltests,
732744
test-hypothesis,

0 commit comments

Comments
 (0)