Skip to content

Commit ab9f28e

Browse files
committed
deps: bump databricks-sdk-go to v0.132.0
Regenerates CLI command stubs, schemas, validation, and Python bindings against the new SDK and its companion OpenAPI spec (a499dda0f7802e37868d3f3076f62639165475d8). Breaking SDK changes addressed: - vectorsearch.{CreateEndpoint,PatchEndpointRequest}.MinQps renamed to TargetQps. - vectorsearch.EndpointScalingInfo.RequestedMinQps renamed to RequestedTargetQps. Updated dresources and testserver; renamed bundle acceptance tests from min_qps to target_qps to match the new field name. - apps.App.thumbnail_url added (server-managed); marked output_only in resources.yml so it stays out of the App Update mask. - postgres adds ReplaceExisting (Create{Branch,Endpoint}Request), Purge (DeleteProjectRequest), and DeleteTime/PurgeTime (Project). - compute.ConfidentialComputeType added; refreshed annotations_openapi.yml. - credentials/u2m removed the host-key fallback in PersistentAuth.loadToken (per v0.130). Dropped the cmd/auth/token_test case that relied on it. Co-authored-by: Isaac
1 parent b034e68 commit ab9f28e

298 files changed

Lines changed: 11744 additions & 1483 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11ae6f9d98f0d0838a5e53c27032f178fecc4ee0
1+
a499dda0f7802e37868d3f3076f62639165475d8

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ cmd/account/credentials/credentials.go linguist-generated=true
88
cmd/account/csp-enablement-account/csp-enablement-account.go linguist-generated=true
99
cmd/account/custom-app-integration/custom-app-integration.go linguist-generated=true
1010
cmd/account/disable-legacy-features/disable-legacy-features.go linguist-generated=true
11+
cmd/account/disaster-recovery/disaster-recovery.go linguist-generated=true
1112
cmd/account/enable-ip-access-lists/enable-ip-access-lists.go linguist-generated=true
1213
cmd/account/encryption-keys/encryption-keys.go linguist-generated=true
1314
cmd/account/endpoints/endpoints.go linguist-generated=true
@@ -151,6 +152,7 @@ cmd/workspace/resource-quotas/resource-quotas.go linguist-generated=true
151152
cmd/workspace/restrict-workspace-admins/restrict-workspace-admins.go linguist-generated=true
152153
cmd/workspace/rfa/rfa.go linguist-generated=true
153154
cmd/workspace/schemas/schemas.go linguist-generated=true
155+
cmd/workspace/secrets-uc/secrets-uc.go linguist-generated=true
154156
cmd/workspace/secrets/secrets.go linguist-generated=true
155157
cmd/workspace/service-principal-secrets-proxy/service-principal-secrets-proxy.go linguist-generated=true
156158
cmd/workspace/service-principals-v2/service-principals-v2.go linguist-generated=true
@@ -159,12 +161,14 @@ cmd/workspace/settings/settings.go linguist-generated=true
159161
cmd/workspace/shares/shares.go linguist-generated=true
160162
cmd/workspace/sql-results-download/sql-results-download.go linguist-generated=true
161163
cmd/workspace/storage-credentials/storage-credentials.go linguist-generated=true
164+
cmd/workspace/supervisor-agents/supervisor-agents.go linguist-generated=true
162165
cmd/workspace/system-schemas/system-schemas.go linguist-generated=true
163166
cmd/workspace/table-constraints/table-constraints.go linguist-generated=true
164167
cmd/workspace/tables/tables.go linguist-generated=true
165168
cmd/workspace/tag-policies/tag-policies.go linguist-generated=true
166169
cmd/workspace/temporary-path-credentials/temporary-path-credentials.go linguist-generated=true
167170
cmd/workspace/temporary-table-credentials/temporary-table-credentials.go linguist-generated=true
171+
cmd/workspace/temporary-volume-credentials/temporary-volume-credentials.go linguist-generated=true
168172
cmd/workspace/token-management/token-management.go linguist-generated=true
169173
cmd/workspace/tokens/tokens.go linguist-generated=true
170174
cmd/workspace/users-v2/users-v2.go linguist-generated=true

.github/workflows/tagging.yml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ name: tagging
44
on:
55
# Manual dispatch.
66
workflow_dispatch:
7-
# No inputs are required for the manual dispatch.
7+
inputs:
8+
packages:
9+
description: 'Comma-separated list of packages to tag (e.g. "pkg1,pkg2"). Leave empty to tag all packages with pending releases.'
10+
required: false
11+
type: string
12+
default: ''
813

914
# NOTE: Temporarily disable automated releases.
1015
#
@@ -31,8 +36,8 @@ jobs:
3136
github.repository == 'databricks/databricks-sdk-java'
3237
environment: "release-is"
3338
runs-on:
34-
group: databricks-deco-testing-runner-group
35-
labels: ubuntu-latest-deco
39+
group: databricks-protected-runner-group
40+
labels: linux-ubuntu-latest
3641
steps:
3742
- name: Generate GitHub App Token
3843
id: generate-token
@@ -44,6 +49,12 @@ jobs:
4449
- name: Checkout repository
4550
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4651
with:
52+
# Force re-resolution of ``main`` at step time. Without
53+
# ``ref:``, checkout pins to ``github.sha`` — the SHA frozen
54+
# at workflow_dispatch time — which means re-running a stale
55+
# dispatch checks out an older main even when newer commits
56+
# exist.
57+
ref: main
4758
fetch-depth: 0
4859
token: ${{ steps.generate-token.outputs.token }}
4960

@@ -60,4 +71,18 @@ jobs:
6071
env:
6172
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
6273
GITHUB_REPOSITORY: ${{ github.repository }}
63-
run: uv run --locked internal/genkit/tagging.py
74+
PACKAGES: ${{ inputs.packages }}
75+
run: |
76+
if [ -n "$PACKAGES" ]; then
77+
uv run --locked internal/genkit/tagging.py --package "$PACKAGES"
78+
else
79+
uv run --locked internal/genkit/tagging.py
80+
fi
81+
82+
- name: Upload created tags artifact
83+
if: always()
84+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
85+
with:
86+
name: created-tags
87+
path: created_tags.json
88+
if-no-files-found: ignore

NEXT_CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
### Dependency updates
1818

1919
* Bump Go toolchain to 1.25.10 ([#5213](https://github.com/databricks/cli/pull/5213)).
20+
* Bump `github.com/databricks/databricks-sdk-go` from v0.128.0 to v0.132.0.
21+
22+
### API Changes

acceptance/auth/credentials/basic/out.requests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Basic [ENCODED_AUTH]"
1414
],
1515
"User-Agent": [
16-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/basic"
16+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/basic agent/multiple"
1717
]
1818
},
1919
"method": "GET",

acceptance/auth/credentials/oauth/out.requests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"Bearer oauth-token"
3636
],
3737
"User-Agent": [
38-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/oauth-m2m"
38+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/oauth-m2m agent/multiple"
3939
]
4040
},
4141
"method": "GET",

acceptance/auth/credentials/pat/out.requests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"Bearer dapi1234"
1414
],
1515
"User-Agent": [
16-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/pat"
16+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/current-user_me cmd-exec-id/[UUID] interactive/none auth/pat agent/multiple"
1717
]
1818
},
1919
"method": "GET",

acceptance/bundle/migrate/basic/output.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged
5151
{
5252
"headers": {
5353
"User-Agent": [
54-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
54+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
5555
]
5656
},
5757
"method": "GET",
@@ -63,7 +63,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 3 unchanged
6363
{
6464
"headers": {
6565
"User-Agent": [
66-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
66+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
6767
]
6868
},
6969
"method": "GET",
@@ -80,8 +80,8 @@ Updating deployment state...
8080
Deployment complete!
8181

8282
>>> print_requests.py --get //jobs/get
83-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
84-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
83+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
84+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
8585

8686
=== Should show that it's already migrated
8787
>>> musterr [CLI] bundle deployment migrate

acceptance/bundle/migrate/permissions/output.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 4 unchanged
2727
{
2828
"headers": {
2929
"User-Agent": [
30-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
30+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
3131
]
3232
},
3333
"method": "GET",
@@ -39,7 +39,7 @@ Plan: 0 to add, 0 to change, 0 to delete, 4 unchanged
3939
{
4040
"headers": {
4141
"User-Agent": [
42-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
42+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
4343
]
4444
},
4545
"method": "GET",
@@ -56,8 +56,8 @@ Updating deployment state...
5656
Deployment complete!
5757

5858
>>> print_requests.py --get //jobs/get
59-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
60-
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat"
59+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
60+
"cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_deploy cmd-exec-id/[UUID] interactive/none engine/direct auth/pat agent/multiple"
6161

6262
=== Should show that it's already migrated
6363
>>> musterr [CLI] bundle deployment migrate

0 commit comments

Comments
 (0)