Skip to content

Use VectorSearchEndpointPermissionLevel for VS endpoint permissions#6022

Open
janniklasrose wants to merge 1 commit into
mainfrom
janniklasrose/vector-search-permission-type
Open

Use VectorSearchEndpointPermissionLevel for VS endpoint permissions#6022
janniklasrose wants to merge 1 commit into
mainfrom
janniklasrose/vector-search-permission-type

Conversation

@janniklasrose

Copy link
Copy Markdown
Contributor

The SDK exposes a dedicated permission level type for vector search endpoints; switch VectorSearchEndpoint.Permissions to use it via the PermissionT[L] generic, matching the typing already in place for jobs, apps, model serving, etc. Regenerated jsonschema.json and added the annotations placeholder for the new VectorSearchEndpointPermission.

The SDK exposes a dedicated permission level type for vector search
endpoints; switch VectorSearchEndpoint.Permissions to use it via the
PermissionT[L] generic, matching the typing already in place for jobs,
apps, model serving, etc. Regenerated jsonschema.json and added the
annotations placeholder for the new VectorSearchEndpointPermission.

Co-authored-by: Isaac
@janniklasrose
janniklasrose marked this pull request as ready for review July 22, 2026 11:28
@janniklasrose
janniklasrose requested review from denik and pietern July 22, 2026 11:28
@janniklasrose
janniklasrose enabled auto-merge July 22, 2026 11:28
@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @pietern -- recent work in bundle/schema/, bundle/internal/validation/generated/, bundle/internal/schema/

Eligible reviewers: @andrewnester, @anton-107, @denik, @lennartkats-db, @shreyas-goenka

Suggestions based on git history. See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 949563c

Run: 29915698062

Env 💥​PANIC 🟨​KNOWN 🤯​MISS 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 314 1056 10:17
💚​ aws windows 4 4 316 1054 7:28
🔄​ azure linux 1 4 4 313 1055 13:37
🔄​ azure windows 1 4 4 315 1053 10:00
🟨​ gcp linux 3 1 4 313 1057 17:16
💥​ gcp windows 1 3 10 1 4 304 1055 121:20
20 interesting tests: 10 MISS, 4 SKIP, 3 KNOWN, 1 RECOVERED, 1 flaky, 1 PANIC
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🤯​ TestSyncEnsureRemotePathIsUsableIfRepoDoesntExist ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🤯​ TestSyncEnsureRemotePathIsUsableIfRepoExists ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🤯​ TestSyncEnsureRemotePathIsUsableInWorkspace ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🔄​ TestSyncFullFileSync ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🤯​ TestSyncIncrementalFileOverwritesFolder ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
💥​ TestSyncIncrementalFileSync ✅​p ✅​p ✅​p ✅​p ✅​p 💥​P
🤯​ TestSyncIncrementalSyncFileToPythonNotebook ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🤯​ TestSyncIncrementalSyncPythonNotebookDelete ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🤯​ TestSyncIncrementalSyncPythonNotebookToFile ✅​p ✅​p 🔄​f ✅​p ✅​p 🤯​M
🤯​ TestSyncNestedFolderDoesntFailOnNonEmptyDirectory ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🤯​ TestSyncNestedFolderSync ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🤯​ TestSyncNestedSpacePlusAndHashAreEscapedSync ✅​p ✅​p ✅​p ✅​p ✅​p 🤯​M
🟨​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 🟨​K 🟨​K
🟨​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 🟨​K 🟨​K
🟨​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 🟨​K 🟨​K
Top 20 slowest tests (at least 2 minutes):
duration env testname
4:10 azure linux TestSyncIncrementalFileSync
4:08 gcp linux TestFilerWorkspaceFilesExtensionsReadDir
3:41 azure windows TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform
3:38 gcp windows TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform
3:12 gcp windows TestAccept
3:09 azure windows TestAccept
3:09 aws windows TestAccept
2:42 gcp linux TestFilerWorkspaceNotebook/sqlNb.sql
2:37 gcp windows TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=direct
2:33 gcp windows TestFilerRecursiveDelete/workspace_files
2:32 gcp windows TestFilerWorkspaceFilesExtensionsReadDir
2:32 gcp linux TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform
2:31 aws linux TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=direct
2:29 azure windows TestFilerWorkspaceNotebook/sqlJupyterNotebook.ipynb
2:23 azure windows TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=direct
2:15 azure linux TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform
2:13 gcp linux TestLock
2:11 gcp windows TestFilerWorkspaceFilesExtensionsStat
2:11 azure linux TestFilerWorkspaceFilesExtensionsStat
2:01 azure windows TestFilerReadWrite/workspace_files

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants