Skip to content

build(deps): bump the databricks-sdk-go group across 1 directory with 4 updates - #6760

Merged
tejaskochar-db merged 2 commits into
mainfrom
dependabot/go_modules/databricks-sdk-go-93f1f38dcc
Sep 21, 2026
Merged

tejaskochar-db merged 2 commits into
mainfrom
dependabot/go_modules/databricks-sdk-go-93f1f38dcc

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Bump github.com/databricks/sdk-go/auth, core, and options from v0.0.1-dev.1 to v0.0.1-dev.8, and files to v0.0.1-dev.9.
  • Migrate Files API calls to value request parameters.
  • Replace the removed WithoutProfileResolution option with WithoutConfigFile and WithoutEnv, preserving the CLI's already-resolved configuration.
  • Add a regression test proving ambient config-file and environment values do not leak into the Files client.

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 lint
  • Full unit and doctest suites
  • Full local acceptance suite with jq 1.7.1; two unrelated Terraform cases timed out under parallel load and passed on automatic isolated reruns

This PR was written by Codex.

@dependabot dependabot Bot added Dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 19, 2026
@dependabot dependabot Bot changed the title build(deps): bump the databricks-sdk-go group with 4 updates build(deps): bump the databricks-sdk-go group across 1 directory with 4 updates Sep 21, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/databricks-sdk-go-93f1f38dcc branch 2 times, most recently from 97fff50 to 181bc2f Compare September 21, 2026 09:23
dependabot Bot and others added 2 commits September 21, 2026 11:42
… 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
tejaskochar-db force-pushed the dependabot/go_modules/databricks-sdk-go-93f1f38dcc branch from edb4134 to b06ac10 Compare September 21, 2026 11:42
Comment thread go.mod
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

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.

@tejaskochar-db Is the mix of .8 and .9 expected?

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.

Yes, we are only cutting releases for packages that have changes themselves or in their dependancies so their latest version numbers can differ.

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.

Thanks for clarifying.

Comment thread go.mod
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

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.

Thanks for clarifying.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b06ac10

Run: 35595616932

Env 🔄​flaky ✅​pass 🙈​skip Time
✅​ aws linux 276 15 5:32
✅​ aws windows 278 13 9:19
✅​ azure linux 275 15 5:30
✅​ azure windows 277 13 8:35
✅​ gcp linux 276 15 5:33
🔄​ gcp windows 1 277 13 9:23
Test Name gcp windows
🔄​ TestSyncIncrementalSyncPythonNotebookToFile 🔄​f
Top 6 slowest tests (at least 2 minutes):
duration env testname
9:16 aws windows TestAccept
9:01 gcp windows TestAccept
8:32 azure windows TestAccept
4:13 gcp linux TestAccept
4:04 azure linux TestAccept
4:02 aws linux TestAccept

@tejaskochar-db
tejaskochar-db added this pull request to the merge queue Sep 21, 2026
Merged via the queue into main with commit 8944a2b Sep 21, 2026
45 checks passed
@tejaskochar-db
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants