Repository navigation
[3.0] Update Databricks CLI to v1.28.0 - #2359
Merged
Merged
Conversation
Since CLI 1.27, `bundle run --refresh` and `--full-refresh` take space-separated selectors and reject commas, so a partial update of two or more tables failed. Pass one flag per table, with the parts of a name that the CLI would split or misread in backticks, as 2.x does since #2333. Co-authored-by: Isaac <no-reply@databricks.com>
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 08:34 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 08:36 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 30, 2026 08:37 — with
GitHub Actions
Inactive
louis-johnston-db
marked this pull request as ready for review
November 30, 2026 09:29
rclarey
approved these changes
Nov 30, 2026
This branch was previously deployed
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
Updates the bundled Databricks CLI from 1.24.0 to 1.28.0, so 3.x no longer ships an older CLI than 2.24.1, which bundles 1.27.0.
Since CLI 1.27,
bundle run --refreshand--full-refreshtake space-separated selectors and reject commas. 3.x joined the selected tables with commas, so a partial update of two or more tables failed. This passes one flag per table and puts the parts of a name that the CLI would split or misread in backticks, as 2.x has done since #2333:kernel/cli/commands/bundle.ts:runArgsemits one flag per table, quoting each dot-separated part that contains a space, comma, colon or backtick (file:archivebecomes`file:archive`,a`bbecomes`a``b`).run/tableSelection.tsandrun/RunCommands.ts: the selected tables stay an array, with no join and split round trip.Known limit, the same as 2.x since #2333: a name part that is already in backticks is passed as is. For a pipeline in legacy publishing mode the CLI removes backticks, so a Unity Catalog table whose real name starts and ends with a backtick would be refreshed under the name without them. Hive metastore names can't contain backticks.
No other changes between 1.24.0 and 1.28.0 need code here:
aitools updateanduninstallnow exit 1 when the scope has nothing installed, and the extension offers them only when the scope's install state file exists. They also exit 1 when every attempt fails (for example, the skills release can't be fetched), which now shows as "Failed to update Databricks AI tools." instead of passing silently.aitools installskips agents that already have the plugin only under--skills-only, which the extension doesn't pass.?w=are already parsed.User-visible change from the CLI: "Start SSH tunnel" on serverless CPU compute now uses environment version 5, so the first connection after the update starts a new server.
Tests
yarn verify: 3,120 unit tests pass (1 skipped), 179 script tests pass, and the VSIX packages CLI 1.28.0.New and updated tests in
bundle.test.tsandtableSelection.test.ts:runArgs' output passed to the real CLI 1.28.0 (scratchHOME, no profile):aitoolson 1.28.0 in a scratchHOME:updatewith nothing installed exits 1.install --skills-only,updateexits 0 ("Already up to date.") anduninstallexits 0..databricks/aitools/skills/.state.json, so the extension stops offering Update.The Integration Tests' partial update spec runs a single table against the real CLI. Two or more tables are covered by the unit tests and the CLI check above.
This pull request and its description were written by Isaac.