Skip to content

Bump databricks-sdk-go from v0.147.0 to v0.152.0#5773

Merged
pietern merged 4 commits into
mainfrom
bump-sdk
Jul 2, 2026
Merged

Bump databricks-sdk-go from v0.147.0 to v0.152.0#5773
pietern merged 4 commits into
mainfrom
bump-sdk

Conversation

@pietern

@pietern pietern commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Changes

Bumps databricks-sdk-go from v0.147.0 to v0.152.0 and regenerates cli.json, command stubs, bundle schemas, validation code, Python dataclasses, and direct-engine resource types from the v0.152.0 OpenAPI spec.

Manual fixups for SDK changes:

  • New user-facing telemetry_config field on serving endpoints wired through the direct-engine model_serving_endpoints resource (carried through the remote type so it participates in drift detection).
  • New ReplaceExisting create-time flag set on the postgres database and role resource bodies (not exposed in bundle config).
  • New InitialBranchSpec field set on the postgres project resource body, alongside the existing InitialEndpointSpec.

New top-level command appears from the spec (ai-search).

Why

Keep the CLI current with the latest Databricks Go SDK and OpenAPI spec.

Tests

All non-integration unit and acceptance tests pass.

This pull request and its description were written by Isaac.

@pietern pietern temporarily deployed to test-trigger-is June 30, 2026 10:51 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is June 30, 2026 10:51 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: ab358b3

Run: 28571859714

Env 🟨​KNOWN 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
🟨​ aws linux 7 3 13 230 1039 4:46
🟨​ aws windows 7 3 13 232 1037 5:26
💚​ aws-ucws linux 10 13 314 957 4:25
🔄​ aws-ucws windows 2 10 13 314 955 3:28
🔄​ azure linux 2 4 15 228 1038 3:53
💚​ azure windows 4 15 232 1036 2:50
💚​ azure-ucws linux 4 15 316 954 4:33
💚​ azure-ucws windows 4 15 318 952 2:59
💚​ gcp linux 4 15 229 1040 3:29
💚​ gcp windows 4 15 231 1038 2:39
25 interesting tests: 13 SKIP, 7 KNOWN, 3 RECOVERED, 2 flaky
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
🟨​ TestAccept 🟨​K 🟨​K 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions 🟨​K 🟨​K 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct 🟨​K 🟨​K 💚​R 💚​R
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 🟨​K 🟨​K 💚​R 💚​R
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions 🟨​K 🟨​K 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct 🟨​K 🟨​K 💚​R 💚​R
🟨​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 🟨​K 🟨​K 💚​R 💚​R
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/replace_existing 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_projects/update_display_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🔄​ TestFilerWorkspaceNotebook ✅​p ✅​p ✅​p 🔄​f 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
🔄​ TestFilerWorkspaceNotebook/sqlNb.sql ✅​p ✅​p ✅​p 🔄​f 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R

# Conflicts:
#	libs/structs/structwalk/walktype_test.go
@pietern pietern temporarily deployed to test-trigger-is June 30, 2026 18:44 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is June 30, 2026 18:44 — with GitHub Actions Inactive
@pietern pietern requested review from denik and simonfaltum July 1, 2026 14:00
@pietern pietern marked this pull request as ready for review July 1, 2026 14:00
@pietern pietern temporarily deployed to test-trigger-is July 1, 2026 14:04 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is July 1, 2026 14:04 — with GitHub Actions Inactive

@simonfaltum simonfaltum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but check the comments

Comment thread go.sum
Comment thread python/codegen/uv.lock Outdated
Comment thread python/codegen/uv.lock Outdated
Comment thread bundle/direct/dresources/postgres_database.go
Comment thread .codegen/_openapi_sha
Comment on lines 2222 to +2225
resources.model_serving_endpoints.*.tags[*].value string ALL
resources.model_serving_endpoints.*.telemetry_config *serving.TelemetryConfig ALL
resources.model_serving_endpoints.*.telemetry_config.inference_table_config *serving.TelemetryInferenceTableConfig ALL
resources.model_serving_endpoints.*.telemetry_config.inference_table_config.name string ALL

@denik denik Jul 2, 2026

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.

Why do we have both resources.model_serving_endpoints.*.endpoint_details.telemetry_config.inference_table_config.name and resources.model_serving_endpoints.*.telemetry_config.inference_table_config.name ?

Sometimes when they have separate remote field they omit input field in GET responses, do we have test that asserts that resources.model_serving_endpoints.*.telemetry_config.inference_table_config.name is safe to rely on?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting... I can check.


ignore_remote_changes:
- field: telemetry_config.inference_table_config.name
reason: spec:output_only

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.

output only?? It's present in ALL(input,state,remote).

If it's really output only we don't need it in state and we should forbid users from setting it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, this one is generated.

The annotation comes from the spec's field behaviors. Per the comment for the field, its value is produced by the server, yet the field is present in the resource's configuration type (it uses the create type).

We should fix this. Not in this PR though.

// experiments / databricks_mlflow_experiment: 1 tf-only
// jobs / databricks_job: 11 renames
// jobs / databricks_job: 10 dabs-only
// jobs / databricks_job: 32 dabs-only

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.

I'd expect this to be reverted by terraform PR but I don't see that #5792

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll rebase that one on top of this.

@pietern pietern temporarily deployed to test-trigger-is July 2, 2026 07:03 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is July 2, 2026 07:03 — with GitHub Actions Inactive
@pietern pietern enabled auto-merge July 2, 2026 07:16
@pietern pietern added this pull request to the merge queue Jul 2, 2026
Merged via the queue into main with commit 27bc0ba Jul 2, 2026
41 checks passed
@pietern pietern deleted the bump-sdk branch July 2, 2026 07:57
deco-sdk-tagging Bot added a commit that referenced this pull request Jul 2, 2026
## Release v1.6.0

### CLI

 * `ssh connect` now accepts a `--base-environment` flag to run a serverless session on a custom base environment. It takes an `env.yaml` path, a `workspace-base-environments/...` resource ID, or a base environment display name, and is rejected together with `--environment-version` or `--cluster` ([#5706](#5706)).
 * `databricks aitools install` is now plugin-first: it installs the Databricks plugin through each agent's own CLI (Claude Code, Codex, GitHub Copilot) instead of copying raw skill files. Agents without a plugin (OpenCode, Antigravity) still get skill files, and Cursor prints the `/add-plugin databricks` step. Use `--skills-only` to force raw skill files for every agent, or `--path <dir>` to write skills to a directory ([#5738](#5738)).
 * `databricks labs list` now only shows projects that can be installed ([#5560](#5560)).

### Bundles

 * direct: Fixed persistent drift on `model_serving_endpoints` caused by the `traffic_config` field ([#5708](#5708)).
 * direct: Fix spurious update when `apply_policy_default_values: true` is set on job task, for-each-task, or job cluster new_cluster ([#5731](#5731)). Also fix spurious updates for for-each-task clusters due to missing backend defaults for `data_security_mode`, `node_type_id`, `driver_node_type_id`, `driver_instance_pool_id`, `enable_elastic_disk`, and `enable_local_disk_encryption`.
 * direct: Cluster resize now falls back to regular update if resize fails due to `INVALID_STATE` ([#5716](#5716)).
 * `bundle generate dashboard` now honors the `--key` flag when naming the generated resource, and rejects combining `--existing-path`, `--existing-id`, and `--resource` instead of silently ignoring all but one ([#5492](#5492)).
 * Fixed `bundle deployment migrate` failing on `model_serving_endpoints`/`database_instances` with permissions (regression since v1.5.0) ([#5775](#5775)).
 * After a terraform deploy, the CLI now dry-runs a migration to the direct engine (writing nothing locally or remotely) and reports the outcome via telemetry, warning if the migration could not be completed ([#5797](#5797)).

### Dependency updates
 * Bump `github.com/databricks/databricks-sdk-go` from v0.147.0 to v0.152.0 ([#5773](#5773)).
 * Bump Terraform provider from v1.118.0 to v1.120.0 ([#5792](#5792)).
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.

5 participants