Skip to content

bundle: add DATABRICKS_BUNDLE_HTTP_TIMEOUT_SECONDS; prop context to WorkspaceClient#5040

Open
denik wants to merge 3 commits intomainfrom
denik/fix-python-test
Open

bundle: add DATABRICKS_BUNDLE_HTTP_TIMEOUT_SECONDS; prop context to WorkspaceClient#5040
denik wants to merge 3 commits intomainfrom
denik/fix-python-test

Conversation

@denik
Copy link
Copy Markdown
Contributor

@denik denik commented Apr 20, 2026

Allows overriding the HTTP timeout for bundle operations. The acceptance test for upload timeout now uses a 5s timeout instead of 90s, reducing test runtime from ~2 minutes to ~6 seconds.

Co-authored-by: Isaac

@denik denik mentioned this pull request Apr 20, 2026
Comment thread bundle/config/workspace.go Outdated
Comment thread bundle/config/workspace.go Outdated
denik added 2 commits April 20, 2026 17:47
Allows overriding the HTTP timeout for bundle operations. The acceptance
test for upload timeout now uses a 5s timeout instead of 90s, reducing
test runtime from ~2 minutes to ~6 seconds.

Co-authored-by: Isaac
Move DATABRICKS_BUNDLE_HTTP_TIMEOUT_SECONDS to bundle/env package alongside
other bundle env vars, and use libs/env.Lookup(ctx, ...) instead of os.Getenv
so tests can override it via context. Plumb context.Context through
Config, Client, WorkspaceClientE, WorkspaceClient, and ClearWorkspaceClient.

Co-authored-by: Isaac
@denik denik changed the title bundle: add DATABRICKS_BUNDLE_HTTP_TIMEOUT_SECONDS env var bundle: add DATABRICKS_BUNDLE_HTTP_TIMEOUT_SECONDS; prop context to WorkspaceClient Apr 20, 2026
@denik denik force-pushed the denik/fix-python-test branch from 6aa87d0 to e9704de Compare April 20, 2026 15:51
@denik denik requested a review from pietern April 20, 2026 15:52
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