Skip to content

Bump databricks-sdk-go to 0.117.0#4631

Open
pkosiec wants to merge 6 commits intomainfrom
pkosiec/bump-go-sdk
Open

Bump databricks-sdk-go to 0.117.0#4631
pkosiec wants to merge 6 commits intomainfrom
pkosiec/bump-go-sdk

Conversation

@pkosiec
Copy link
Member

@pkosiec pkosiec commented Mar 3, 2026

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
SDK v0.112 -> v0.117.0 changelog

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).

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

Release v0.114.0 (2026-02-26)

API Changes

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.

Tests

  • make lintfull
  • make test
  • make checks

@pkosiec pkosiec temporarily deployed to test-trigger-is March 3, 2026 09:23 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Mar 3, 2026

Commit: fbe7fbe

Run: 22661258723

Env 🪲​BUG ❌​FAIL 🟨​KNOWN 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
🪲​ aws linux 1 7 1 7 267 776 8:58
🪲​ aws windows 1 7 1 7 269 774 8:34
🪲​ aws-ucws linux 1 2 7 7 363 691 8:28
🪲​ aws-ucws windows 1 2 7 7 365 689 7:41
🪲​ azure linux 1 2 9 270 774 7:24
🪲​ azure windows 1 2 9 272 772 6:18
🪲​ azure-ucws linux 1 2 9 369 687 8:17
🪲​ azure-ucws windows 1 2 9 371 685 7:07
🪲​ gcp linux 1 5 1 3 1 9 258 777 113:14
🪲​ gcp windows 1 2 9 268 775 7:36
25 interesting tests: 7 KNOWN, 7 SKIP, 5 FAIL, 5 flaky, 1 BUG
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 🔄​f 💚​R 💚​R 💚​R 💚​R 🟨​K 💚​R
❌​ TestAccept/bundle/deployment/bind/alert 🙈​s 🙈​s 🙈​s 🙈​s ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=direct ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=terraform ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/generate/alert ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=direct ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
🔄​ TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=terraform ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/alerts/with_file ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=direct ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🙈​ 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/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/recreate 🙈​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/ssh/connect-serverless-gpu 🙈​s 🙈​s 🔄​f 🔄​f 🙈​s 🙈​s ✅​p ✅​p 🙈​s 🙈​s
🔄​ TestAccept/ssh/connection 💚​R 💚​R 🔄​f 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🪲​ TestImportFileFormatSource 🪲​B 🪲​B 🪲​B 🪲​B 🪲​B 🪲​B 🪲​B 🪲​B 🪲​B 🪲​B
Top 39 slowest tests (at least 2 minutes):
duration env testname
6:29 gcp windows TestSecretsPutSecretStringValue
5:35 gcp windows TestAccept/ssh/connection
5:10 aws linux TestAccept/ssh/connection
5:07 gcp linux TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=direct
4:55 aws windows TestAccept/ssh/connection
4:51 gcp linux TestAccept/ssh/connection
4:51 aws windows TestSecretsPutSecretStringValue
4:46 azure-ucws windows TestAccept/ssh/connection
4:21 azure windows TestAccept/ssh/connection
4:19 azure windows TestSecretsPutSecretStringValue
4:04 azure-ucws linux TestAccept/ssh/connection
3:54 azure-ucws windows TestSecretsPutSecretStringValue
3:37 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:22 gcp linux TestSecretsPutSecretStringValue
3:15 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:14 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:08 gcp linux TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=terraform
3:08 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:03 azure linux TestAccept/ssh/connection
2:55 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:54 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:53 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:53 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:50 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:49 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:47 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:46 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:45 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:38 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:34 azure-ucws linux TestAccept
2:33 azure linux TestAccept
2:29 aws linux TestSecretsPutSecretStringValue
2:15 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:15 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:14 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:11 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:11 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:10 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:07 azure-ucws windows TestAccept

@pkosiec pkosiec force-pushed the pkosiec/bump-go-sdk branch from 158ca39 to fbe7fbe Compare March 4, 2026 08:27
@pkosiec pkosiec temporarily deployed to test-trigger-is March 4, 2026 08:28 — with GitHub Actions Inactive
@pkosiec
Copy link
Member Author

pkosiec commented Mar 4, 2026

I got an Error: Invalid access token errors from the integration tests - looks like it is related to infra than the changes in the PR?

current-user me\nError: Invalid access token.2026-03-04T08:43:14.5267505Z
2026-03-04T08:43:14.5268126Z === �[31mFAIL�[0m: acceptance TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions (re-run 1) (0.00s)
2026-03-04T08:43:14.5268132Z
2026-03-04T08:43:14.5268428Z === �[31mFAIL�[0m: acceptance TestAccept (re-run 1) (4.13s)
2026-03-04T08:43:14.5269597Z acceptance_test.go:1198: [python3 /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/install_terraform.py --targetdir /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/linux_amd64] took 66.209009ms
2026-03-04T08:43:14.5271322Z acceptance_test.go:1202: [python3 /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/install_terraform.py --targetdir /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/linux_amd64] output: Read version 1.109.0 from /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/bundle/internal/tf/codegen/schema/version.go
2026-03-04T08:43:14.5272135Z acceptance_test.go:1198: [uv build --no-cache -q --wheel --out-dir /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/linux_amd64] took 406.153109ms
2026-03-04T08:43:14.5272863Z acceptance_test.go:1198: [go build -o /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/linux_amd64/databricks] took 413.322533ms
2026-03-04T08:43:14.5273313Z acceptance_test.go:1198: [make -s tools/yamlfmt] took 2.392682ms
2026-03-04T08:43:14.5274143Z acceptance_test.go:1198: [go build -o /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/linux_amd64/databricks] took 408.295223ms
2026-03-04T08:43:14.5274938Z acceptance_test.go:968: Created linux amd64 release: /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/releases/databricks_cli_linux_amd64.zip
2026-03-04T08:43:14.5275653Z acceptance_test.go:1198: [go build -o /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/linux_arm64/databricks] took 410.140748ms
2026-03-04T08:43:14.5280958Z acceptance_test.go:968: Created linux arm64 release: /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/build/releases/databricks_cli_linux_arm64.zip
2026-03-04T08:43:14.5281506Z acceptance_test.go:355: Summary (dirs): 1/2/705 run/selected/total, 1 skipped
2026-03-04T08:43:14.5281516Z
2026-03-04T08:43:14.5282331Z === �[31mFAIL�[0m: acceptance TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct (re-run 1) (0.88s)
2026-03-04T08:43:14.5282686Z acceptance_test.go:801: Missing output file: out.destroy.direct.txt
2026-03-04T08:43:14.5282878Z acceptance_test.go:823:
2026-03-04T08:43:14.5283508Z Error Trace: /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/libs/testdiff/testdiff.go:22
2026-03-04T08:43:14.5284634Z /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/acceptance_test.go:823
2026-03-04T08:43:14.5285601Z /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/acceptance_test.go:673
2026-03-04T08:43:14.5286564Z /home/runner/work/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/acceptance/acceptance_test.go:348
2026-03-04T08:43:14.5286775Z Error: Not equal:
2026-03-04T08:43:14.5292273Z expected: "\n>>> cat take_ownership.json\n{\n "access_control_list": [{"permission_level": "IS_OWNER", "service_principal_name": "[USERNAME]"}]\n}\n\n>>> as-test-sp [CLI] current-user me\n"deco-test-spn"\n\n>>> [CLI] bundle destroy --auto-approve\nNo active deployment found to destroy!\n\n>>> as-test-sp [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[UUID]/.bundle/test-bundle-[UNIQUE_NAME]/default/files...\nDeploying resources...\nUpdating deployment state...\nDeployment complete!\n\n>>> [CLI] permissions set jobs [NUMID] --json @take_ownership.json\n\n>>> [CLI] jobs delete [NUMID]\n\n>>> musterr [CLI] jobs get [NUMID]\nError: Job [NUMID] does not exist.\n"
2026-03-04T08:43:14.5296091Z actual : "\n>>> cat take_ownership.json\n{\n "access_control_list": [{"permission_level": "IS_OWNER", "service_principal_name": "[USERNAME]"}]\n}\n\n>>> as-test-sp [CLI] current-user me\nError: Invalid access token. [ReqId: [UUID]]\n\n\nNext steps:\n - Verify you have the required permissions for this operation\n - Check your identity: databricks auth describe\n - Consider setting up a profile: databricks auth login --profile \n\nExit code: 1\n"
2026-03-04T08:43:14.5296288Z
2026-03-04T08:43:14.5296504Z Diff:
2026-03-04T08:43:14.5296765Z --- Expected
2026-03-04T08:43:14.5296998Z +++ Actual
2026-03-04T08:43:14.5297274Z @@ -7,19 +7,11 @@
2026-03-04T08:43:14.5297680Z >>> as-test-sp [CLI] current-user me
2026-03-04T08:43:14.5297966Z -"deco-test-spn"
2026-03-04T08:43:14.5298422Z +Error: Invalid access token. [ReqId: [UUID]]
2026-03-04T08:43:14.5298620Z
2026-03-04T08:43:14.5299173Z ->>> [CLI] bundle destroy --auto-approve
2026-03-04T08:43:14.5299605Z -No active deployment found to destroy!
2026-03-04T08:43:14.5299795Z
2026-03-04T08:43:14.5300182Z ->>> as-test-sp [CLI] bundle deploy
2026-03-04T08:43:14.5301080Z -Uploading bundle files to /Workspace/Users/[UUID]/.bundle/test-bundle-[UNIQUE_NAME]/default/files...
2026-03-04T08:43:14.5301406Z -Deploying resources...
2026-03-04T08:43:14.5301765Z -Updating deployment state...
2026-03-04T08:43:14.5302082Z -Deployment complete!
2026-03-04T08:43:14.5302335Z +Next steps:
2026-03-04T08:43:14.5302936Z + - Verify you have the required permissions for this operation
2026-03-04T08:43:14.5303421Z + - Check your identity: databricks auth describe
2026-03-04T08:43:14.5304198Z + - Consider setting up a profile: databricks auth login --profile
2026-03-04T08:43:14.5304525Z
2026-03-04T08:43:14.5305148Z ->>> [CLI] permissions set jobs [NUMID] --json @take_ownership.json
2026-03-04T08:43:14.5305405Z +Exit code: 1
2026-03-04T08:43:14.5305596Z
2026-03-04T08:43:14.5305951Z ->>> [CLI] jobs delete [NUMID]
2026-03-04T08:43:14.5306146Z -
2026-03-04T08:43:14.5306528Z ->>> musterr [CLI] jobs get [NUMID]
2026-03-04T08:43:14.5306919Z -Error: Job [NUMID] does not exist.
2026-03-04T08:43:14.5307106Z -
2026-03-04T08:43:14.5307887Z Test: TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct
2026-03-04T08:43:14.5309040Z Messages: bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/output.txt vs /tmp/TestAcceptbundleresourcespermissionsjobsdestroy_without_mgm867383121/001/output.txt
2026-03-04T08:43:14.5309300Z acceptance_test.go:835: Available replacements:

@pkosiec pkosiec marked this pull request as ready for review March 4, 2026 11:01
@pkosiec pkosiec force-pushed the pkosiec/bump-go-sdk branch from fbe7fbe to 08a5e25 Compare March 5, 2026 13:31
@pkosiec pkosiec temporarily deployed to test-trigger-is March 5, 2026 13:32 — with GitHub Actions Inactive
@pkosiec pkosiec changed the title Bump databricks-sdk-go to 0.116.0 Bump databricks-sdk-go to 0.117.0 Mar 5, 2026
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