Uh oh!
There was an error while loading. Please reload this page.
Introduce retries to databricks psql command - #3492
Merged
Merged
Conversation
anton-107temporarily deployed
to
test-trigger-is
August 26, 2025 14:13 — with
GitHub Actions
Inactive
anton-107temporarily deployed
to
test-trigger-is
August 26, 2025 14:16 — with
GitHub Actions
Inactive
anton-107
marked this pull request as ready for review
August 26, 2025 14:18
anton-107
requested review from
andrewnester, denik, pietern and shreyas-goenka
as code ownersAugust 26, 2025 14:18
Collaborator
36 failing tests:
|
denik
reviewed
Aug 26, 2025
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
anton-107force-pushed
the
anton-107/psql-retries
branch
from
August 27, 2025 09:44
0879a63 to
7dbc8baCompareanton-107temporarily deployed
to
test-trigger-is
August 27, 2025 09:44 — with
GitHub Actions
Inactive
denik
reviewed
Aug 27, 2025
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
anton-107temporarily deployed
to
test-trigger-is
August 27, 2025 11:34 — with
GitHub Actions
Inactive
anton-107temporarily deployed
to
test-trigger-is
August 27, 2025 11:35 — with
GitHub Actions
Inactive
anton-107temporarily deployed
to
test-trigger-is
August 27, 2025 11:54 — with
GitHub Actions
Inactive
anton-107temporarily deployed
to
test-trigger-is
August 28, 2025 15:01 — with
GitHub Actions
Inactive
denik
approved these changes
Aug 29, 2025
Uh oh!
There was an error while loading. Please reload this page.
deco-sdk-taggingBot
added a commit
that referenced
this pull request
Sep 3, 2025
## Release v0.267.0 ### CLI * Introduce retries to `databricks psql` command ([#3492](#3492)) * Add rule files for coding agents working on the CLI code base ([#3245](#3245)) ### Dependency updates * Upgrade TF provider to 1.88.0 ([#3529](#3529)) * Upgrade Go SDK to 0.82.0 ### Bundles * Update default-python template to make DB Connect work out of the box for unit tests, using uv to install dependencies ([#3254](#3254)) * Add support for `TaskRetryMode` for continuous jobs ([#3529](#3529)) * Add support for specifying database instance as an application resource ([#3529](#3529)) * Allow referencing job libraries outside bundle root without the need to specify sync root ([#2842](#2842)) * Add top level `run_as` support for Lakeflow Declarative Pipelines ([#3307](#3307))
denik pushed a commit
that referenced
this pull request
May 20, 2026
## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> Sometimes the connection to the database instance might fail, which can be remediated with a retry. This change makes the command to retry the connection 3 times by default. To disable the retries users can set a `max-retries` value to zero: ``` $ databricks psql my-instance --max-retries 0 ``` ## Tests <!-- How have you tested the changes? --> Added a new acceptance test, modified and existing acceptance test; ran manual tests on Mac and Windows <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
denik pushed a commit
that referenced
this pull request
May 20, 2026
## Release v0.267.0 ### CLI * Introduce retries to `databricks psql` command ([#3492](#3492)) * Add rule files for coding agents working on the CLI code base ([#3245](#3245)) ### Dependency updates * Upgrade TF provider to 1.88.0 ([#3529](#3529)) * Upgrade Go SDK to 0.82.0 ### Bundles * Update default-python template to make DB Connect work out of the box for unit tests, using uv to install dependencies ([#3254](#3254)) * Add support for `TaskRetryMode` for continuous jobs ([#3529](#3529)) * Add support for specifying database instance as an application resource ([#3529](#3529)) * Allow referencing job libraries outside bundle root without the need to specify sync root ([#2842](#2842)) * Add top level `run_as` support for Lakeflow Declarative Pipelines ([#3307](#3307))
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 freeto 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.
Why
Sometimes the connection to the database instance might fail, which can be remediated with a retry. This change makes the command to retry the connection 3 times by default.
To disable the retries users can set a
max-retriesvalue to zero:Tests
Added a new acceptance test, modified and existing acceptance test; ran manual tests on Mac and Windows