Bump databricks-sdk-go to 0.117.0#4631
Conversation
|
Commit: f3da675
21 interesting tests: 8 flaky, 7 SKIP, 6 RECOVERED
Top 20 slowest tests (at least 2 minutes):
|
158ca39 to
fbe7fbe
Compare
|
I got an current-user me\nError: Invalid access token.2026-03-04T08:43:14.5267505Z |
fbe7fbe to
08a5e25
Compare
databricks-sdk-go to 0.116.0databricks-sdk-go to 0.117.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
08a5e25 to
996e407
Compare
|
Commit: b8dd8bf
54 interesting tests: 17 RECOVERED, 16 FAIL, 10 flaky, 7 KNOWN, 3 BUG, 1 SKIP
Top 50 slowest tests (at least 2 minutes):
|
Ran "make generate". Follow up to #4631
Ran "make generate" to clear diff on main. Follow up to #4631
## Release v0.294.0 ### Bundles * Modify grants to use SDK types ([#4666](#4666)) * Modify permissions to use SDK types where available. This makes DABs validate permission levels, producing a warning on the unknown ones ([#4686](#4686)) ### Dependency updates * Bump databricks-sdk-go from v0.112.0 to v0.119.0 ([#4631](#4631), [#4695](#4695))
## Summary - Clear `PATH` in `cmd/root` auth tests to prevent the Go SDK (v0.117.0+) from shelling out to `az account show` during credential resolution - For `TestBundleConfigureDefault`, restrict `PATH` to system directories instead of clearing it fully — the bundle loader's script hook mutator currently requires a shell to be present even when no scripts are configured (fixing that separately) - Normalize existing `PATH="/nothing"` in prompt tests to `PATH=""` The SDK upgrade to v0.117.0 (databricks/databricks-sdk-go#1505, bumped in #4631) removed per-strategy cloud guards from Azure CLI credentials, causing `az` to be probed on all platforms regardless of the configured host. This added ~0.5–2.5s per affected test and wrote `.azure/` cache files into the source tree. Verified on macOS and Windows. ## Test plan - [x] `go test -count=1 ./cmd/root` passes on macOS (1.2s, down from 5.2s) - [x] `go test -count=1 ./cmd/root` passes on Windows (0.19s) - [x] No `.azure/` or `Library/` directories created in `cmd/root/` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ran "make generate" to clear diff on main. Follow up to #4631
## Release v0.294.0 ### Bundles * Modify grants to use SDK types ([#4666](#4666)) * Modify permissions to use SDK types where available. This makes DABs validate permission levels, producing a warning on the unknown ones ([#4686](#4686)) ### Dependency updates * Bump databricks-sdk-go from v0.112.0 to v0.119.0 ([#4631](#4631), [#4695](#4695))
## Summary - Clear `PATH` in `cmd/root` auth tests to prevent the Go SDK (v0.117.0+) from shelling out to `az account show` during credential resolution - For `TestBundleConfigureDefault`, restrict `PATH` to system directories instead of clearing it fully — the bundle loader's script hook mutator currently requires a shell to be present even when no scripts are configured (fixing that separately) - Normalize existing `PATH="/nothing"` in prompt tests to `PATH=""` The SDK upgrade to v0.117.0 (databricks/databricks-sdk-go#1505, bumped in #4631) removed per-strategy cloud guards from Azure CLI credentials, causing `az` to be probed on all platforms regardless of the configured host. This added ~0.5–2.5s per affected test and wrote `.azure/` cache files into the source tree. Verified on macOS and Windows. ## Test plan - [x] `go test -count=1 ./cmd/root` passes on macOS (1.2s, down from 5.2s) - [x] `go test -count=1 ./cmd/root` passes on Windows (0.19s) - [x] No `.azure/` or `Library/` directories created in `cmd/root/` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
## Changes - Bump `github.com/databricks/databricks-sdk-go` from v0.112.0 to v0.117.0 - Update OpenAPI SHA - Regenerate CLI code via `make generate` <details><summary>SDK v0.112 -> v0.117.0 changelog</summary> <p> ## Release v0.117.0 (2026-03-04) ### Internal Changes * Move cloud-based credential filtering from individual strategies into `DefaultCredentials`. Azure strategies are skipped on GCP/AWS hosts in auto-detect mode; GCP strategies are skipped on Azure/AWS hosts. When `auth_type` is explicitly set (e.g. `azure-cli`), cloud filtering is bypassed so the named strategy is always attempted regardless of host cloud. ## Release v0.116.0 (2026-03-03) ### Bug Fixes * Fix `HostType()` misclassifying account hosts when the scheme is missing ([#1510](databricks/databricks-sdk-go#1510)). ## Release v0.115.0 (2026-03-02) ### Internal Changes * Implement dynamic auth token stale period based on initial token lifetime. Increased up to 20 mins for standard OAuth with proportionally shorter periods for short-lived tokens. ### API Changes * Add `CreateDatabase`, `DeleteDatabase`, `GetDatabase`, `ListDatabases` and `UpdateDatabase` methods for [w.Postgres](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/postgres#PostgresAPI) workspace-level service. * Add `Postgres` field for [apps.AppResource](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppResource). * Add `DataframeSchema`, `FilterCondition` and `TransformationSql` fields for [ml.DeltaTableSource](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/ml#DeltaTableSource). * Add `EnvironmentVersion` field for [pipelines.PipelinesEnvironment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#PipelinesEnvironment). * Add `ResetCheckpointSelection` field for [pipelines.StartUpdate](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#StartUpdate). * [Breaking] Remove `Oauth2AppClientId` and `Oauth2AppIntegrationId` fields for [apps.Space](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#Space). * Add `EnablePgNativeLogin` field for [postgres.ProjectSpec](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/postgres#ProjectSpec). * Add `EnablePgNativeLogin` field for [postgres.ProjectStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/postgres#ProjectStatus). * [Breaking] Remove `NodeTypeFlexibility` field for [compute.EditInstancePool](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EditInstancePool). ## Release v0.114.0 (2026-02-26) ### API Changes * Add `EffectivePublishingMode` field for [pipelines.GetPipelineResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#GetPipelineResponse). * Add `DbrAutoscale` enum value for [compute.EventDetailsCause](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EventDetailsCause). * Change `OutputCatalog` field for [cleanrooms.CreateCleanRoomOutputCatalogResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/cleanrooms#CreateCleanRoomOutputCatalogResponse) to be required. * [Breaking] Remove `InternalAttributes` field for [sharing.Table](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#Table). * [Breaking] Remove `InternalAttributes` field for [sharing.Volume](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#Volume). ## Release v0.113.0 (2026-02-25) ### New Features and Improvements * Add `DisableAsyncTokenRefresh` field to `Config` to allow disabling asynchronous token refresh for short-lived processes like the Databricks CLI. </p> </details> ## Tests - [x] `make lintfull` - [x] `make test` - [x] `make checks` --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Ran "make generate" to clear diff on main. Follow up to #4631
## Release v0.294.0 ### Bundles * Modify grants to use SDK types ([#4666](#4666)) * Modify permissions to use SDK types where available. This makes DABs validate permission levels, producing a warning on the unknown ones ([#4686](#4686)) ### Dependency updates * Bump databricks-sdk-go from v0.112.0 to v0.119.0 ([#4631](#4631), [#4695](#4695))
## Summary - Clear `PATH` in `cmd/root` auth tests to prevent the Go SDK (v0.117.0+) from shelling out to `az account show` during credential resolution - For `TestBundleConfigureDefault`, restrict `PATH` to system directories instead of clearing it fully — the bundle loader's script hook mutator currently requires a shell to be present even when no scripts are configured (fixing that separately) - Normalize existing `PATH="/nothing"` in prompt tests to `PATH=""` The SDK upgrade to v0.117.0 (databricks/databricks-sdk-go#1505, bumped in #4631) removed per-strategy cloud guards from Azure CLI credentials, causing `az` to be probed on all platforms regardless of the configured host. This added ~0.5–2.5s per affected test and wrote `.azure/` cache files into the source tree. Verified on macOS and Windows. ## Test plan - [x] `go test -count=1 ./cmd/root` passes on macOS (1.2s, down from 5.2s) - [x] `go test -count=1 ./cmd/root` passes on Windows (0.19s) - [x] No `.azure/` or `Library/` directories created in `cmd/root/` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changes
github.com/databricks/databricks-sdk-gofrom v0.112.0 to v0.117.0make generateSDK v0.112 -> v0.117.0 changelog
Release v0.117.0 (2026-03-04)
Internal Changes
DefaultCredentials. Azure strategies are skipped on GCP/AWS hosts in auto-detect mode; GCP strategies are skipped on Azure/AWS hosts. Whenauth_typeis explicitly set (e.g.azure-cli), cloud filtering is bypassed so the named strategy is always attempted regardless of host cloud.Release v0.116.0 (2026-03-03)
Bug Fixes
HostType()misclassifying account hosts when the scheme is missing (#1510).Release v0.115.0 (2026-03-02)
Internal Changes
API Changes
CreateDatabase,DeleteDatabase,GetDatabase,ListDatabasesandUpdateDatabasemethods for w.Postgres workspace-level service.Postgresfield for apps.AppResource.DataframeSchema,FilterConditionandTransformationSqlfields for ml.DeltaTableSource.EnvironmentVersionfield for pipelines.PipelinesEnvironment.ResetCheckpointSelectionfield for pipelines.StartUpdate.Oauth2AppClientIdandOauth2AppIntegrationIdfields for apps.Space.EnablePgNativeLoginfield for postgres.ProjectSpec.EnablePgNativeLoginfield for postgres.ProjectStatus.NodeTypeFlexibilityfield for compute.EditInstancePool.Release v0.114.0 (2026-02-26)
API Changes
EffectivePublishingModefield for pipelines.GetPipelineResponse.DbrAutoscaleenum value for compute.EventDetailsCause.OutputCatalogfield for cleanrooms.CreateCleanRoomOutputCatalogResponse to be required.InternalAttributesfield for sharing.Table.InternalAttributesfield for sharing.Volume.Release v0.113.0 (2026-02-25)
New Features and Improvements
DisableAsyncTokenRefreshfield toConfigto allow disablingasynchronous token refresh for short-lived processes like the Databricks CLI.
Tests
make lintfullmake testmake checks