Skip to content

acc: split vector search tests between direct and DMS - #7176

Open
denik wants to merge 3 commits into
mainfrom
denik/vs-recreate-no-dms
Open

denik wants to merge 3 commits into
mainfrom
denik/vs-recreate-no-dms

Conversation

@denik

@denik denik commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Each vector search test now runs a single DMS variant instead of both: EnvMatrix.DMS = [""] in vector_search_indexes/test.toml and vector_search_endpoints/test.toml, overridden to ["true"] in 8 of the 16 tests. Of the 6 tests that run on cloud, 3 use each variant (endpoints: basic direct, drift/recreated_same_name DMS; indexes: basic and recreate/embedding_dimension direct, grants/select and schema_normalization DMS).

Why

Most of the cloud time in these tests is endpoint/index provisioning (e.g. recreate/embedding_dimension spends ~20-25 min on AWS/Azure in the initial deploy; the recreate itself takes ~10s). Running every test under both variants doubled that cost; splitting keeps both paths covered for each resource type.

Tests

Regenerated out.test.toml files; all 16 pass locally against the testserver.

This pull request and its description were written by Isaac.

…MS variant

The initial deploy spends ~20 min waiting for the endpoint and index on
cloud, and DMS does not affect recreation, so the DMS=true variant doubled
the nightly cost without adding coverage.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Commit: 83227bcf5 | Workflow run

Regression test report

Selected 16 changed tests (limit=20, 0 not selected)

16 tests: regression=0 unreleased=0 coverage=16 failing=0

test branch main (c6bb214) latest (v1.22.1)
TestAccept/bundle/resources/vector_search_endpoints/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/drift/budget_policy/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/drift/target_qps/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/recreate/create-fails/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/recreate/endpoint_type/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/update/budget_policy/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_endpoints/update/target_qps/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/drift/deleted_remotely/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/drift/orphaned_endpoint/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/grants/select/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/recreate/pending_deletion/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/recreate/with_endpoint/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/schema_normalization/DMS=true ✅ ✅ ✅

Co-authored-by: Isaac <no-reply@databricks.com>
@denik denik changed the title acc: run vector search embedding_dimension recreate test without DMS acc: run vector search tests without DMS variant Oct 26, 2026
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 83227bc

Run: 40334729804

Env 🔄​flaky ✅​pass 🙈​skip Time
🔄​ aws linux-2core-8gb 3 288 26 13:43
✅​ aws-windows-latest-4core-16gb 293 24 8:41
🔄​ azure linux-2core-8gb 1 289 26 11:54
✅​ azure-windows-latest-4core-16gb 292 24 7:10
🔄​ gcp linux-2core-8gb 1 290 26 17:18
✅​ gcp-windows-latest-4core-16gb 293 24 8:40
Test Name aws linux-2core-8gb azure linux-2core-8gb gcp linux-2core-8gb
🔄​ TestAccept 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/vector_search_indexes/grants/select 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/vector_search_indexes/grants/select/DMS=true 🔄​f ✅​p ✅​p
🔄​ TestSyncIncrementalFileSync ✅​p 🔄​f ✅​p
🔄​ TestSyncIncrementalSyncFileToPythonNotebook ✅​p ✅​p 🔄​f
Top 23 slowest tests (at least 2 minutes):
duration env testname
4:07 gcp-windows-latest-4core-16gb TestAccept
4:00 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsDelete
3:58 azure linux-2core-8gb TestAccept
3:39 gcp linux-2core-8gb TestAccept
3:26 aws linux-2core-8gb TestFilerRecursiveDelete/workspace_files
2:55 aws-windows-latest-4core-16gb TestImportDirWithOverwriteFlag
2:54 azure-windows-latest-4core-16gb TestAccept
2:51 aws-windows-latest-4core-16gb TestAccept
2:51 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
2:50 azure linux-2core-8gb TestAccept/bundle/resources/vector_search_indexes/schema_normalization/DMS=true
2:39 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsDelete
2:33 gcp linux-2core-8gb TestTelemetryEndpoint
2:33 aws-windows-latest-4core-16gb TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name/DMS=true
2:32 azure-windows-latest-4core-16gb TestAccept/bundle/resources/vector_search_indexes/basic/DMS=
2:27 gcp linux-2core-8gb TestImportDirWithOverwriteFlag
2:26 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
2:25 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsStat
2:12 azure linux-2core-8gb TestAccept/bundle/resources/vector_search_indexes/grants/select/DMS=true
2:08 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/vector_search_indexes/basic/DMS=
2:07 gcp linux-2core-8gb TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name/DMS=true
2:05 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
2:02 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
2:01 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir

@denik
denik marked this pull request as ready for review October 26, 2026 11:08
@denik
denik requested review from a team as code owners October 26, 2026 11:08
@denik
denik enabled auto-merge October 26, 2026 11:09

@andrewnester andrewnester left a comment

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.

Do we have any vector search test that runs on DMS=true? If ot, we may run into a situation where backend rejects vector search resource but we don't have it covered (this is prompted by internal_immutable_snapshot resource not being handled by DMS)

@andrewnester
andrewnester disabled auto-merge October 26, 2026 12:24
@denik

denik commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

Do we have any vector search test that runs on DMS=true? If ot, we may run into a situation where backend rejects vector search resource but we don't have it covered (this is prompted by internal_immutable_snapshot resource not being handled by DMS)

good point - I'll split them 50/50 between direct and DMS.

Co-authored-by: Isaac <no-reply@databricks.com>
@denik denik changed the title acc: run vector search tests without DMS variant acc: split vector search tests between direct and DMS Oct 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants