Skip to content

Commit 736a7cd

Browse files
jfrancoaclaude
andcommitted
ci: run integration tests against Weaviate 1.39.0-rc.0
Bumps the integration-test matrix from 1.36.x to 1.39.0-rc.0 and adds the version to the test-package matrix. There is no plain `1.39.0-rc.0` tag on Docker Hub yet, only commit-suffixed builds, so the newest one is pinned following the existing `WEAVIATE_137` convention. One existing test needed adapting to an intentional server change in 1.39: `asyncEnabled` is no longer stored per class but derived server-side as `factor > 1 && !globallyDisabled`. `test_collection_config_full` uses a replication factor of 1, so the field now reports `False`. The pre-1.39 assertions are kept behind a version check. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 904ea78 commit 736a7cd

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/main.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ env:
2929
WEAVIATE_135: 1.35.18
3030
WEAVIATE_136: 1.36.12
3131
WEAVIATE_137: 1.37.5-e0fe0d5.amd64
32+
WEAVIATE_139: 1.39.0-rc.0-b41225e.amd64
3233

3334
jobs:
3435
lint-and-format:
@@ -162,11 +163,11 @@ jobs:
162163
fail-fast: false
163164
matrix:
164165
versions: [
165-
{ py: "3.10", weaviate: $WEAVIATE_136, grpc: "1.59.0"},
166-
{ py: "3.11", weaviate: $WEAVIATE_136, grpc: "1.66.0"},
167-
{ py: "3.12", weaviate: $WEAVIATE_136, grpc: "1.70.0"},
168-
{ py: "3.13", weaviate: $WEAVIATE_136, grpc: "1.72.1"},
169-
{ py: "3.14", weaviate: $WEAVIATE_136, grpc: "1.76.0"}
166+
{ py: "3.10", weaviate: $WEAVIATE_139, grpc: "1.59.0"},
167+
{ py: "3.11", weaviate: $WEAVIATE_139, grpc: "1.66.0"},
168+
{ py: "3.12", weaviate: $WEAVIATE_139, grpc: "1.70.0"},
169+
{ py: "3.13", weaviate: $WEAVIATE_139, grpc: "1.72.1"},
170+
{ py: "3.14", weaviate: $WEAVIATE_139, grpc: "1.76.0"}
170171
]
171172
optional_dependencies: [false]
172173
steps:
@@ -320,7 +321,8 @@ jobs:
320321
$WEAVIATE_134,
321322
$WEAVIATE_135,
322323
$WEAVIATE_136,
323-
$WEAVIATE_137
324+
$WEAVIATE_137,
325+
$WEAVIATE_139
324326
]
325327
steps:
326328
- name: Checkout

integration/test_collection_config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,11 @@ def test_collection_config_full(collection_factory: CollectionFactory) -> None:
353353
assert config.multi_tenancy_config.auto_tenant_creation is False
354354

355355
assert config.replication_config.factor == 1
356-
if collection._connection._weaviate_version.is_at_least(1, 26, 0):
356+
if collection._connection._weaviate_version.is_at_least(1, 39, 0):
357+
# from 1.39 the server derives asyncEnabled from the replication factor instead of storing
358+
# what was requested, and this collection has a factor of 1
359+
assert config.replication_config.async_enabled is False
360+
elif collection._connection._weaviate_version.is_at_least(1, 26, 0):
357361
assert config.replication_config.async_enabled is True
358362
else:
359363
assert config.replication_config.async_enabled is False

0 commit comments

Comments
 (0)