Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/_python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
required: false
default: 'blacksmith-8vcpu-ubuntu-2404'
type: string
always_multi_region: false
Comment on lines 17 to +20

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Critical

[Logic] workflow_call inputs must be declared as mapping objects; assigning always_multi_region: false leaves the input undefined and causes fromJson(inputs.always_multi_region) to fail. Define this input like the others (description, type, default) and keep the value as a JSON array string so callers can pass '[false]' or '[true]' as needed.

Context for Agents
`workflow_call` inputs must be declared as mapping objects; assigning `always_multi_region: false` leaves the input undefined and causes `fromJson(inputs.always_multi_region)` to fail. Define this input like the others (description, type, default) and keep the value as a JSON array string so callers can pass `'[false]'` or `'[true]'` as needed.

File: .github/workflows/_python-tests.yml
Line: 20


jobs:
test-rust-bindings:
Expand Down Expand Up @@ -162,7 +163,7 @@ jobs:
contents: read
id-token: write
env:
MULTI_REGION: ${{ matrix.multi_region && 'true' || '' }}
MULTI_REGION: ${{ (inputs.always_multi_region || matrix.multi_region) && 'true' || '' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/release-chromadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Comment thread
propel-code-bot[bot] marked this conversation as resolved.
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
Expand Down Expand Up @@ -79,6 +88,7 @@ jobs:
- check-tag
- get-version
- python-tests-linux
- python-tests-linux-mcmr
- python-tests-windows
- javascript-client-tests
- rust-tests
Expand All @@ -96,6 +106,7 @@ jobs:
- check-tag
- get-version
- python-tests-linux
- python-tests-linux-mcmr
- python-tests-windows
- javascript-client-tests
- rust-tests
Expand All @@ -113,6 +124,7 @@ jobs:
needs:
- check-tag
- python-tests-linux
- python-tests-linux-mcmr
- python-tests-windows
- javascript-client-tests
- rust-tests
Expand Down