Repository navigation
Update Go SDK to v0.189.0 - #7138
Merged
Merged
Conversation
Collaborator
Integration test reportCommit: 7ac750d
Top 6 slowest tests (at least 2 minutes):
|
Mechanical (generate-check, then test-update): - Regenerate command stubs, bundle schema, validation code, refschema and pydabs models from the bumped cli.json. This fixes the agent-kit build, which still set the removed ReadMask request fields. - Refresh the help-text goldens. Manual: - Wire the new jobs DurationTarget field into makeCreateJob and makeJobRunRemote (exhaustruct); GetRun reports it, so the job_run remote copies it. - List job_runs duration_target under ignore_remote_changes (TestJobRunIgnoresEveryRequestField). - Add the PR link to the changelog fragment. Co-authored-by: Isaac <no-reply@databricks.com>
Contributor
|
Commit: Regression test reportSelected 3 changed tests (limit=20, 0 not selected) 4 tests: regression=4 unreleased=0 coverage=0 failing=0
TestAccept/bundle/refschema/DMS=: branch ✅ | main (be6a8e1) ❌ | latest (v1.21.0) ❌main (be6a8e1): latest (v1.21.0): TestAccept/bundle/refschema/DMS=true: branch ✅ | main (be6a8e1) ❌ | latest (v1.21.0) ❌main (be6a8e1): latest (v1.21.0): TestAccept/cmd/account/account-help: branch ✅ | main (be6a8e1) ❌ | latest (v1.21.0) ❌main (be6a8e1): latest (v1.21.0): same output as main (be6a8e1) TestAccept/help: branch ✅ | main (be6a8e1) ❌ | latest (v1.21.0) ❌main (be6a8e1): latest (v1.21.0): same output as main (be6a8e1) |
janniklasrose
approved these changes
Oct 21, 2026
deco-sdk-tagging Bot
added a commit
that referenced
this pull request
Oct 22, 2026
## Release v1.22.0 ### CLI * Fix `databricks aitools install` overwriting newer raw skills with an older pinned release. CLI 1.22.0 and newer now install the latest published skills and prevent automatic downgrades. ([#7069](#7069)) * Fix `auth login --timeout` not applying to the browser login, which waited for the OAuth redirect indefinitely. ([#7103](#7103)) * Remove the 50-workspace limit in `auth login` and support searching workspaces by name or ID. ([#7071](#7071)) * `databricks ssh connect` now fails right away with the workspace's reason when port forwarding to serverless compute is disabled, instead of waiting out the server start timeout. ([#7057](#7057)) ### AI Runtime * `air run` now spends less time before submitting: it fetches only the user name from SCIM. ([#7153](#7153)) * Align multi-image container name validation with backend services: allow hyphens and up to 32 characters, and reject uppercase letters and underscores. ([#7154](#7154)) ### Bundles * The `compute_id` deprecation warning for a target now shows the full path (`targets.<name>.compute_id`). ([#7048](#7048)) * Add `DATABRICKS_BUNDLE_STRICT_PROFILE_MATCH`, which requires a target's host and workspace ID to match exactly one profile in the config file before authenticating. Targets without a host or workspace ID are not affected. ([#7109](#7109)) * Zero-value overrides of `presets`, `lifecycle.prevent_destroy` and `deployment` settings in includes now replace non-zero base values, and `bundle validate -o json` shows explicit zero presets. ([#7117](#7117)) * `bundle deployment bind` and `unbind` now accept a resource as `type.key`, e.g. `jobs.foo`. ([#7128](#7128)) * Retry more transient server errors during `bundle deploy` and `bundle destroy`, including when releasing the deploy lock and reading state. ([#7129](#7129)) * Fix migration from Terraform failing when a deployed resource references a resource that was never deployed. ([#7157](#7157)) * Add `app-appkit` to bundle templates to simplify starting a Databricks Apps project. ([#7004](#7004), [#7007](#7007)) * Add support for the `features` resource type. ([#6952](#6952)) * Fix `bundle validate` warning that `sync.include` and `sync.exclude` patterns do not match any files when `sync.paths` includes a directory outside the bundle root. ([#7122](#7122)) ### Dependency Updates * Bump dependencies with known vulnerabilities. ([#7083](#7083)) * Bump Go to 1.27.2. Release binaries now require macOS 13 Ventura or later. ([#7052](#7052)) * Update the Go SDK to [v0.189.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.189.0). ([#7138](#7138)) * Bump Go toolchain to 1.27.3. ([#7116](#7116))
This was referenced Oct 22, 2026
dhakad22klx
pushed a commit
to dhakad22klx/cli
that referenced
this pull request
Oct 24, 2026
…tabricks#7148) ## Changes - Add `./task bump-sdk-post`: the mechanical rest of an SDK bump once `cli.json` is refreshed (`generate-check`, then `test-update`). - Run it as the last step of `generate-clijson-post`, so `generate-clijson` and the SDK bumper both get it. Its error is ignored there (see Why); run the task directly to see failures. - Rework the `bump-sdk` skill around the bumper: what its `automation/go-sdk-vX.Y.Z` PRs contain and how to finish one (merge `main`, `bump-sdk-post`, hand fixes, push to the bot branch). Also documents a local environment issue that corrupts acceptance goldens: a `uv.toml` that makes an internal PyPI proxy the default index breaks the tests' offline wheel builds, so run acceptance with `UV_DEFAULT_INDEX=https://pypi.org/simple`. ## Why The SDK bumper opens CLI PRs that stop after `cli.json` and `generate-clijson-post`, so they stay red until someone regenerates the rest: databricks#7138 failed lint and every test job on stale command stubs. Apart from the hand fixes (`exhaustruct` wiring, a `job_runs.yml` entry, the changelog PR link), everything that finishing databricks#7138 took is now this one task. The bumper runs `./task generate-clijson-post` from the CLI checkout and aborts before opening a PR on any error from it. `bump-sdk-post` fails whenever a bump needs hand fixes, because a compile break fails `generate-refschema` and `test-update`. Without `ignore_error`, those bumps would get no PR at all instead of a red one. The call is the last command rather than a `deps:` entry because deps run first, and the cleanup's `.gitattributes` restore would then undo cligen's output. ## Tests - Ran the task's two halves on a fresh checkout of databricks#7138's bot commit merged with `main` (`test-update` with `UV_DEFAULT_INDEX=https://pypi.org/simple`). The result matches databricks#7138's fix commit except for the four hand-fixed files. - Checked with the pinned go-task (v3.50) that `ignore_error` on a `task:` call swallows a failure two task levels down; `./task --dry generate-clijson-post` shows the expected order. Not run end to end through `generate-clijson` or the bumper, which need genkit output. - `./task checks`, and `go test -count=1 ./testmask` in `tools/` (it reads the Taskfile). This pull request and its description were written by Isaac. Co-authored-by: Isaac <no-reply@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Go SDK dependency and generates APIs from that release's OpenAPI specification.