From 06161451feb69b12c841f8f9b358ea125332c7cc Mon Sep 17 00:00:00 2001 From: Robert Escriva Date: Thu, 29 Jan 2026 09:42:03 -0800 Subject: [PATCH 1/2] [CHORE] Split Python tests that run on main so half run on mcmr. We want to test multi-cloud, multi-region without doubling CI wait times or the overall sum of CPU consumed. The fix is simple: We already run multiple Python versions, so run half of them on mcmr and half on the classic tilt file. --- .github/workflows/_python-tests.yml | 4 +++- .github/workflows/release-chromadb.yml | 11 ++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_python-tests.yml b/.github/workflows/_python-tests.yml index a9da6ed2981..0f338a6edf2 100644 --- a/.github/workflows/_python-tests.yml +++ b/.github/workflows/_python-tests.yml @@ -17,6 +17,7 @@ on: required: false default: 'blacksmith-8vcpu-ubuntu-2404' type: string + always_multi_region: false jobs: test-rust-bindings: @@ -127,6 +128,7 @@ jobs: fail-fast: false matrix: python: ${{ fromJson(inputs.python_versions) }} + always_multi_region: ${{ fromJson(inputs.always_multi_region) }} test-glob: - "chromadb/test/api" - "chromadb/test/api/test_collection.py" @@ -162,7 +164,7 @@ jobs: contents: read id-token: write env: - MULTI_REGION: ${{ matrix.multi_region && 'true' || '' }} + MULTI_REGION: ${{ matrix.always_multi_region || matrix.multi_region || "false" }} steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release-chromadb.yml b/.github/workflows/release-chromadb.yml index 4f26ec63f9d..aef4953cecc 100644 --- a/.github/workflows/release-chromadb.yml +++ b/.github/workflows/release-chromadb.yml @@ -46,8 +46,17 @@ jobs: uses: ./.github/workflows/_python-tests.yml secrets: inherit with: - python_versions: '["3.9", "3.10", "3.11", "3.12"]' + python_versions: '["3.9", "3.11"]' property_testing_preset: 'normal' + always_multi_region: false + + python-tests-linux-mcmr: + uses: ./.github/workflows/_python-tests.yml + secrets: inherit + with: + python_versions: '["3.10", "3.12"]' + property_testing_preset: 'normal' + always_multi_region: true python-tests-windows: uses: ./.github/workflows/_python-tests.yml From 82bb1cfb8bf1cc5d75a82d186e3a668c4240e450 Mon Sep 17 00:00:00 2001 From: Robert Escriva Date: Tue, 3 Feb 2026 13:44:49 -0800 Subject: [PATCH 2/2] propel --- .github/workflows/_python-tests.yml | 3 +-- .github/workflows/release-chromadb.yml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_python-tests.yml b/.github/workflows/_python-tests.yml index 0f338a6edf2..bd61ed07a95 100644 --- a/.github/workflows/_python-tests.yml +++ b/.github/workflows/_python-tests.yml @@ -128,7 +128,6 @@ jobs: fail-fast: false matrix: python: ${{ fromJson(inputs.python_versions) }} - always_multi_region: ${{ fromJson(inputs.always_multi_region) }} test-glob: - "chromadb/test/api" - "chromadb/test/api/test_collection.py" @@ -164,7 +163,7 @@ jobs: contents: read id-token: write env: - MULTI_REGION: ${{ matrix.always_multi_region || matrix.multi_region || "false" }} + MULTI_REGION: ${{ (inputs.always_multi_region || matrix.multi_region) && 'true' || '' }} steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release-chromadb.yml b/.github/workflows/release-chromadb.yml index aef4953cecc..5218cfb5a18 100644 --- a/.github/workflows/release-chromadb.yml +++ b/.github/workflows/release-chromadb.yml @@ -88,6 +88,7 @@ jobs: - check-tag - get-version - python-tests-linux + - python-tests-linux-mcmr - python-tests-windows - javascript-client-tests - rust-tests @@ -105,6 +106,7 @@ jobs: - check-tag - get-version - python-tests-linux + - python-tests-linux-mcmr - python-tests-windows - javascript-client-tests - rust-tests @@ -122,6 +124,7 @@ jobs: needs: - check-tag - python-tests-linux + - python-tests-linux-mcmr - python-tests-windows - javascript-client-tests - rust-tests