Skip to content

Bump databricks-sdk-go to v0.128.0#5031

Open
simonfaltum wants to merge 4 commits intomainfrom
simonfaltum/bump-sdk-0.128.0
Open

Bump databricks-sdk-go to v0.128.0#5031
simonfaltum wants to merge 4 commits intomainfrom
simonfaltum/bump-sdk-0.128.0

Conversation

@simonfaltum
Copy link
Copy Markdown
Member

Why

New SDK release v0.128.0 is available. Notable changes include a CurrentWorkspaceID() short-circuit when Config.WorkspaceID is set (avoids a round-trip and fixes SPOG compatibility), SPOG X-Databricks-Org-Id headers on Workspace.Download/Upload and SharesAPI.internalList, and a new experimental config.DefaultHostMetadataResolverFactory hook for installing a shared resolver.

Changes

Before/now: CLI pins databricks-sdk-go v0.127.0v0.128.0. The OpenAPI SHA didn't move (both releases share 11ae6f9d), so the diff is unusually small. make generate only produced two meaningful schema deltas:

  • VectorSearchEndpoint.usage_policy_id (new private-preview field)
  • EndpointType.STORAGE_OPTIMIZED (new enum value)
  • VectorSearchEndpoint.permissions placeholder added to annotations overrides for consistency with other resources

No cmd/workspace or cmd/account drift, no SDK API breakages affecting CLI call sites (CurrentWorkspaceID already used everywhere).

Test plan

  • go get github.com/databricks/databricks-sdk-go@v0.128.0 && go mod tidy
  • make generate (re-applied pre-existing --page-size hidden workaround for jobs list / list-runs; this is the same manual fix already on main)
  • make lintcheck passes (0 issues)
  • go test ./internal/build ./bundle/internal/schema ./bundle/direct/dresources ./bundle/config/resources passes
  • go test ./acceptance -run TestAccept/bundle/refschema passes
  • go test ./acceptance -run TestAccept/cmd/account/account-help passes
  • go test ./acceptance -run TestAccept/pipelines/databricks-cli-help passes
  • go test ./libs/structs/structwalk -run TestTypeRoot passes
  • make checks clean

Standard SDK bump. Changes are small since the OpenAPI SHA didn't move
(v0.127 and v0.128 share 11ae6f9d). Only bundle schema annotations picked
up two new fields: VectorSearchEndpoint.usage_policy_id and
EndpointType.STORAGE_OPTIMIZED.

Co-authored-by: Isaac
databricks-sdk-go v0.128.0 short-circuits CurrentWorkspaceID() when
Config.WorkspaceID is already set, removing the /api/2.0/preview/scim/v2/Me
call that the golden captured. Regenerate both direct and terraform variants.

Co-authored-by: Isaac
Same SDK behavior change as the previous commit, but missed the parent
aggregate output.txt. The two 'OK summary.{direct,terraform} /api/2.0/preview/scim/v2/Me'
rows are gone now that CurrentWorkspaceID() short-circuits when
Config.WorkspaceID is set.

Verified via make test-update: only this file drifts.

Co-authored-by: Isaac
@simonfaltum simonfaltum added this pull request to the merge queue Apr 20, 2026
@simonfaltum simonfaltum removed this pull request from the merge queue due to a manual request Apr 20, 2026
Merge the v0.126→v0.127 and v0.127→v0.128 entries into a single
v0.126→v0.128 line that references both PRs. The pending release will
ship both bumps together, so two lines are redundant.

Co-authored-by: Isaac
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