Repository navigation
build(deps): bump the databricks-sdk-go group across 1 directory with 4 updates - #6760
Merged
tejaskochar-db merged 2 commits intoSep 21, 2026
Merged
Conversation
dependabot
Bot
force-pushed
the
dependabot/go_modules/databricks-sdk-go-93f1f38dcc
branch
2 times, most recently
from
September 21, 2026 09:23
97fff50 to
181bc2f
Compare
… 4 updates Bumps the databricks-sdk-go group with 4 updates in the / directory: [github.com/databricks/sdk-go/core](https://github.com/databricks/sdk-go), [github.com/databricks/sdk-go/auth](https://github.com/databricks/sdk-go), [github.com/databricks/sdk-go/files](https://github.com/databricks/sdk-go) and [github.com/databricks/sdk-go/options](https://github.com/databricks/sdk-go). Updates `github.com/databricks/sdk-go/core` from 0.0.1-dev.1 to 0.0.1-dev.6 - [Commits](databricks/sdk-go@jobs/v0.0.1-dev.1...jobs/v0.0.1-dev.6) Updates `github.com/databricks/sdk-go/auth` from 0.0.1-dev.1 to 0.0.1-dev.6 - [Commits](databricks/sdk-go@jobs/v0.0.1-dev.1...jobs/v0.0.1-dev.6) Updates `github.com/databricks/sdk-go/files` from 0.0.1-dev.1 to 0.0.1-dev.6 - [Commits](databricks/sdk-go@jobs/v0.0.1-dev.1...jobs/v0.0.1-dev.6) Updates `github.com/databricks/sdk-go/options` from 0.0.1-dev.1 to 0.0.1-dev.6 - [Commits](databricks/sdk-go@jobs/v0.0.1-dev.1...jobs/v0.0.1-dev.6) --- updated-dependencies: - dependency-name: github.com/databricks/sdk-go/auth dependency-version: 0.0.1-dev.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: databricks-sdk-go - dependency-name: github.com/databricks/sdk-go/core dependency-version: 0.0.1-dev.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: databricks-sdk-go - dependency-name: github.com/databricks/sdk-go/files dependency-version: 0.0.1-dev.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: databricks-sdk-go - dependency-name: github.com/databricks/sdk-go/options dependency-version: 0.0.1-dev.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: databricks-sdk-go ... Signed-off-by: dependabot[bot] <support@github.com>
Update the modular SDK modules to their latest published versions. Adapt Files API requests to value parameters and preserve the CLI's resolved credentials by disabling ambient config sources. Signed-off-by: Tejas Kochar <tejas.kochar@databricks.com>
tejaskochar-db
force-pushed
the
dependabot/go_modules/databricks-sdk-go-93f1f38dcc
branch
from
September 21, 2026 11:42
edb4134 to
b06ac10
Compare
pietern
reviewed
Sep 21, 2026
| github.com/databricks/sdk-go/options v0.0.1-dev.1 // Apache-2.0 | ||
| github.com/databricks/sdk-go/auth v0.0.1-dev.8 // Apache-2.0 | ||
| github.com/databricks/sdk-go/files v0.0.1-dev.9 // Apache-2.0 | ||
| github.com/databricks/sdk-go/options v0.0.1-dev.8 // Apache-2.0 |
Contributor
There was a problem hiding this comment.
@tejaskochar-db Is the mix of .8 and .9 expected?
Contributor
There was a problem hiding this comment.
Yes, we are only cutting releases for packages that have changes themselves or in their dependancies so their latest version numbers can differ.
pietern
approved these changes
Sep 21, 2026
| github.com/databricks/sdk-go/options v0.0.1-dev.1 // Apache-2.0 | ||
| github.com/databricks/sdk-go/auth v0.0.1-dev.8 // Apache-2.0 | ||
| github.com/databricks/sdk-go/files v0.0.1-dev.9 // Apache-2.0 | ||
| github.com/databricks/sdk-go/options v0.0.1-dev.8 // Apache-2.0 |
Collaborator
Integration test reportCommit: b06ac10
Top 6 slowest tests (at least 2 minutes):
|
tejaskochar-db
deleted the
dependabot/go_modules/databricks-sdk-go-93f1f38dcc
branch
September 21, 2026 13:43
idelafuente-oc
pushed a commit
to idelafuente-oc/cli
that referenced
this pull request
Nov 22, 2026
databricks#7839) ## Changes `FilesClient` (UC Volumes): - When a Files API error carries no message, the error now names the operation, the path and the HTTP status, plus the body's `error_code` if it has one, e.g. `stat /Volumes/c/s/v/dir: Files API returned HTTP 500 Internal Server Error`. Before, it printed as `databricks-api error: ` with nothing after it. This covers every FilesClient call, the experimental multipart upload included. - Read-only calls (file and directory metadata, download, list) are also retried on HTTP 500, at most 3 times per call. Writes, deletes and mkdir keep the current retry set (408/429/502/503/504). ## Why The files/v2 SDK prints an `APIError` as `"databricks-api error: " + message`, and the message comes only from a JSON error body. A failed HEAD (`GetFileMetadata`, `GetDirectoryMetadata`, used by `Stat` and by `Write`'s parent-directory check) has no body, and a proxy error page is not JSON. Either way, users and CI see `Error: databricks-api error: ` with no status, call or path. The old databricks-sdk-go used `http.StatusText` in that case. The filer moved to files/v2 in [databricks#6760](databricks#6760) (2026-09-21), and the first empty-message failures on the dashboard date from that day. Since then the dashboard has 47 errors (one per test) with exactly this text: 179 failing runs in 60 days across UC Volumes tests in `integration/cmd/fs` and `integration/libs/filer`, on AWS, Azure and GCP. Some happened after [databricks#7559](databricks#7559) and [databricks#7607](databricks#7607), which already retry 408/429/502/503/504. In the run linked below the test failed in under 12 seconds, so the 10 retries were not exhausted. The status was outside the retry set, most likely 500. Decisions: - Retry 500 only on read-only calls, where a repeated attempt cannot apply anything twice. A retried PUT or DELETE after a 500 that the backend did apply would turn into "already exists" or "not found". Those keep the current retry set, and the new message shows their status if they still fail. - At most 3 retries on 500 (the other statuses keep the cap of 10), so a 500 that does not clear, e.g. on one broken path, still fails within seconds instead of about 75s. - The response body of a non-JSON error (a proxy HTML page) is not included; the status and path are enough to tell which call failed. - I could not confirm the status code: the CI output has only the empty text. If the next failure shows a status other than 500, the retry part should be revisited; the message part is needed either way. - Errors are described in the filer, not in the SDK. `sdk-go/core` v0.1.0 (the latest) still has a TODO in `APIError.Error()`. - Only a bare `APIError` is replaced. A wrapped one already has its wrapper's context, and the replacement keeps `Unwrap`, so status-based mapping (`httpStatus`) still works. ## Tests - `TestFilesClientRetriesReadOnlyCallsOn500`: HEAD (directory and file) and GET return 500 with an empty body twice and then succeed. Fails without the fix. - `TestFilesClientDoesNotRetryDeleteOn500` and `TestFilesClientDescribesErrorWithoutMessage` check the new text, a single DELETE attempt, and that `httpStatus` still sees the status. Without the fix both show `databricks-api error: `, the text from CI. - `TestFilesClientStopsRetrying500`: a 500 that does not clear gets 3 retries. - `TestFilesAPIErrorText`: an `error_code`-only body and a non-standard status (520). - `TestDescribeFilesErrorLeavesOtherErrors`: errors with a message, wrapped errors and nil are unchanged. - `go test ./libs/filer/ ./cmd/fs/` and local `TestAccept/cmd/fs` pass. - On AWS, `integration/cmd/fs` `TestFsCpDir`, `TestFsStat*`, `TestFsLs`, `TestFsRmDirRecursively` and `TestFsCpFileToFileFileNotOverwritten` pass, all variants (26 subtests). A 500 cannot be forced on cloud. ## Dashboard | error | verbatim | |---|---| | [error/1148](http://go/cli/dashboard/error/1148?main=1&pr=1&end=2026-11-20T08:30:00Z&last=60d) | `Error: databricks-api error: ` in `TestFsCpDir/dbfs_to_uc-volumes` (GCP, main, 2026-11-18 and 2026-11-19) | | [error/1204](http://go/cli/dashboard/error/1204?main=1&pr=1&end=2026-11-20T08:30:00Z&last=60d) | same text in `TestFsRmDirRecursively/uc-volumes` | | [error/1175](http://go/cli/dashboard/error/1175?main=1&pr=1&end=2026-11-20T08:30:00Z&last=60d) | same text in `TestFsCpFileToDirWithOverwriteFlag/uc-volumes_to_dbfs` | | [error/1157](http://go/cli/dashboard/error/1157?main=1&pr=1&end=2026-11-20T08:30:00Z&last=60d) | same text in `TestFsCpDirToDirFileNotOverwritten/uc-volumes_to_uc-volumes` | Test: [TestFsCpDir/dbfs_to_uc-volumes](http://go/cli/dashboard/test/integration/cmd/fs.TestFsCpDir/dbfs_to_uc-volumes?main=1&pr=1&end=2026-11-20T08:30:00Z&last=30d) ``` cp_test.go:139: stderr: Error: databricks-api error: Error: Received unexpected error: databricks-api error: Test: TestFsCpDir/dbfs_to_uc-volumes ``` _AI agent (opus5.5, isaac_claude)._ 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.
Changes
github.com/databricks/sdk-go/auth,core, andoptionsfromv0.0.1-dev.1tov0.0.1-dev.8, andfilestov0.0.1-dev.9.WithoutProfileResolutionoption withWithoutConfigFileandWithoutEnv, preserving the CLI's already-resolved configuration.Why
The latest modular SDK releases include breaking request-signature and client-option changes. The CLI must adopt those interfaces while continuing to use the credentials and workspace routing already resolved by its existing workspace client.
Tests
go build ./...go test ./libs/filer/..../task generate-check./task generate-schema-map./task fmt./task checks./task lintjq1.7.1; two unrelated Terraform cases timed out under parallel load and passed on automatic isolated rerunsThis PR was written by Codex.