Commit 3570f9a
authored
Bump databricks-sdk-go to v0.132.0 (#5237)
## Why
Pulls in four releases of the Go SDK (v0.129 through v0.132). It picks
up new APIs (disaster recovery, secrets UC, supervisor agents, ingestion
connectors), removes the file-backed OAuth token cache from the SDK (now
owned by the CLI), and renames a handful of vector search fields. The
Terraform provider already moved to this SDK in v1.115, so this also
keeps the CLI close to the version Terraform users are running.
## Changes
**Before:** CLI pinned `databricks-sdk-go` at `v0.128.0` and OpenAPI
spec at SHA `11ae6f9d`.
**Now:** Pinned at `v0.132.0` / OpenAPI SHA `a499dda0`.
Most of the diff is regenerated output from `./task generate` (CLI
command stubs, JSON schema, bundle docs, Python bindings, direct-engine
YAML, acceptance goldens). The refreshed OpenAPI spec carries more
launch-stage metadata, so generated commands now include Beta / Private
Preview / GA warning text in help output, and the acceptance goldens
update accordingly.
Hand-written changes:
- **Vector search:** `MinQps` -> `TargetQps` and `RequestedMinQps` ->
`RequestedTargetQps` in
`bundle/direct/dresources/vector_search_endpoint.go`,
`libs/testserver/vector_search_endpoints.go`, and the
`vector_search_endpoints/{update,drift}/min_qps` acceptance tests
(renamed to `target_qps`). Added a Notable Changes entry to
`NEXT_CHANGELOG.md` calling this out for DABs config and the
`vector-search-endpoints` commands.
- **Postgres:** `Create{Branch,Endpoint}Request` gained
`ReplaceExisting`, `DeleteProjectRequest` gained `Purge`, and `Project`
gained `DeleteTime`/`PurgeTime`. Added explicit zero values where
exhaustruct demands them.
- **Auth:** SDK v0.130 removed the host-key fallback in
`PersistentAuth.loadToken`. Deleted the `cmd/auth/token_test` case that
exercised it. Open question on the thread: users who haven't logged in
since CLI v0.290.0 (2026-02-26) have host-keyed-only cache entries and
will need to re-login.
- **Deprecated `serving.AutoCaptureConfig{Input,Output}`:** narrow
`//nolint:staticcheck` annotations until the migration to AI Gateway
inference tables.
- **Schema annotations:** regenerated `annotations_openapi.yml` so the
new `compute.ConfidentialComputeType` enum has descriptions; dropped the
stale `min_qps` placeholder from `annotations.yml`.
- **Release tooling:** genkit also regenerated
`.github/workflows/tagging.yml` and `internal/genkit/tagging.py`. This
is generated output, but it changes release workflow behavior (protected
runner group, `ref: main` to force re-resolution on workflow_dispatch
re-runs, package-scoped dispatch input, created-tags artifact). Inline
reviewer notes on both files.
Merged `origin/main` to pick up #5240, which unsets the AI-agent env
vars in acceptance instead of leaving them empty. Without that, the SDK
v0.132 user-agent detector stamps `agent/multiple` onto every recorded
request; with it merged in, the stamping stops and the goldens go back
to their pre-bump state.
## Test plan
- [x] `./task lint` clean
- [x] `./task checks` clean (tidy, whitespace, links, deadcode)
- [x] `go test ./internal/build ./bundle/internal/schema
./bundle/direct/dresources ./bundle/config/resources`
- [x] `./task test-update` and `go test ./acceptance` clean after
regeneration
- [x] `./task pydabs-codegen` succeeds
- [x] After review feedback, re-ran affected acceptance tests
(`user_agent`, `auth/credentials`, `cmd/api`, `bundle/migrate`,
`bundle/state`, `bundle/templates/telemetry`, `telemetry`,
`workspace/jobs`) to confirm goldens match
- [ ] CI on this PR
This pull request and its description were written by Isaac.1 parent cd6aecd commit 3570f9a
266 files changed
Lines changed: 11559 additions & 1299 deletions
File tree
- .codegen
- .github/workflows
- acceptance
- bundle
- refschema
- resources/vector_search_endpoints
- drift/target_qps
- update/target_qps
- user_agent
- simple
- cmd/account/account-help
- help
- pipelines/databricks-cli-help
- bundle
- config/mutator/resourcemutator
- direct/dresources
- docsgen/output
- internal
- schema
- validation/generated
- schema
- cmd
- account
- access-control
- billable-usage
- budget-policy
- budgets
- credentials
- csp-enablement-account
- custom-app-integration
- disable-legacy-features
- disaster-recovery
- enable-ip-access-lists
- encryption-keys
- endpoints
- esm-enablement-account
- federation-policy
- groups-v2
- iam-v2
- ip-access-lists
- llm-proxy-partner-powered-account
- llm-proxy-partner-powered-enforce
- log-delivery
- metastore-assignments
- metastores
- network-connectivity
- network-policies
- networks
- o-auth-published-apps
- personal-compute
- private-access
- published-app-integration
- service-principal-federation-policy
- service-principal-secrets
- service-principals-v2
- settings-v2
- settings
- storage-credentials
- storage
- usage-dashboards
- users-v2
- vpc-endpoints
- workspace-assignment
- workspace-network-configuration
- workspaces
- auth
- workspace
- access-control
- agent-bricks
- aibi-dashboard-embedding-access-policy
- aibi-dashboard-embedding-approved-domains
- alerts-legacy
- alerts-v2
- alerts
- apps-settings
- apps
- artifact-allowlists
- automatic-cluster-update
- catalogs
- clean-room-asset-revisions
- clean-room-assets
- clean-room-auto-approval-rules
- clean-room-task-runs
- clean-rooms
- cluster-policies
- clusters
- compliance-security-profile
- connections
- consumer-fulfillments
- consumer-installations
- consumer-listings
- consumer-personalization-requests
- consumer-providers
- credentials-manager
- credentials
- current-user
- dashboard-email-subscriptions
- dashboard-widgets
- dashboards
- data-classification
- data-quality
- data-sources
- database
- default-namespace
- default-warehouse-id
- disable-legacy-access
- disable-legacy-dbfs
- enable-export-notebook
- enable-notebook-table-clipboard
- enable-results-downloading
- enhanced-security-monitoring
- entity-tag-assignments
- environments
- experiments
- external-lineage
- external-locations
- external-metadata
- feature-engineering
- feature-store
- forecasting
- functions
- genie
- git-credentials
- global-init-scripts
- grants
- groups-v2
- instance-pools
- instance-profiles
- ip-access-lists
- jobs
- knowledge-assistants
- lakeview-embedded
- lakeview
- libraries
- llm-proxy-partner-powered-workspace
- materialized-features
- metastores
- model-registry
- model-versions
- notification-destinations
- online-tables
- permission-migration
- permissions
- pipelines
- policies
- policy-compliance-for-clusters
- policy-compliance-for-jobs
- policy-families
- postgres
- provider-exchange-filters
- provider-exchanges
- provider-files
- provider-listings
- provider-personalization-requests
- provider-provider-analytics-dashboards
- provider-providers
- providers
- quality-monitor-v2
- quality-monitors
- queries-legacy
- queries
- query-history
- query-visualizations-legacy
- query-visualizations
- recipient-activation
- recipient-federation-policies
- recipients
- redash-config
- registered-models
- repos
- resource-quotas
- restrict-workspace-admins
- rfa
- schemas
- secrets-uc
- secrets
- service-principal-secrets-proxy
- service-principals-v2
- serving-endpoints
- settings
- sql-results-download
- storage-credentials
- supervisor-agents
- system-schemas
- table-constraints
- tables
- tag-policies
- temporary-path-credentials
- temporary-table-credentials
- temporary-volume-credentials
- token-management
- tokens
- users-v2
- vector-search-endpoints
- vector-search-indexes
- volumes
- warehouses
- workspace-bindings
- workspace-conf
- workspace-entity-tag-assignments
- workspace-iam-v2
- workspace-settings-v2
- workspace
- internal/genkit
- libs/testserver
- python/databricks/bundles
- catalogs/_models
- jobs
- _models
- pipelines
- _models
- schemas/_models
- volumes/_models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| 164 | + | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| 171 | + | |
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | | - | |
35 | | - | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
| |||
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
63 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| 26 | + | |
0 commit comments