Notable Changes
- Introduce device code login:
databricks auth login --use-device-codelogs in from a machine that cannot open a browser, such as a headless server or an SSH session, by approving the login in a browser on another device. See docs/device-code-login.md. (#8069)
CLI
- Automatic installation of Databricks AI tools no longer moves a Databricks skill that you put into a coding agent's skills directory (for example
~/.cursor/skills/databricks-sql) to a temporary directory when nodatabricks aitools installhas run yet. While that skill is there it installs no skills, though agents that use the Databricks plugin still get it; if you answered yes to the install question, it prints which skill it kept and the command that replaces it. A later CLI version finishes the install once you move the skill out. (#8071) - Automatic installation of Databricks AI tools no longer runs a coding agent's CLI after a command you ran for something else, so a Databricks plugin install no longer runs out of time there: an agent without the Databricks plugin gets skill files, an agent that has the plugin keeps it and gets no skill files next to it, and
databricks aitools updatestill updates the plugin. Only the install that follows a yes to the question ofdatabricks auth logininstalls the plugins, asdatabricks aitools install --scope=globaldoes. When that install is stopped, a later run gives the skill files to the agents that did not get them, keeping the skill files you edited since, and runs no agent's CLI: an agent that was to get the plugin is left fordatabricks aitools install. On Windows, where stopping an agent's CLI does not stop the processes it started, no automatic installation runs an agent's CLI.databricks aitools updateno longer gives skill files to an agent that has the Databricks plugin and none of the CLI's skill files. (#8224) databricks aitools install --skills-only --scope projectnow installs Codex skills into<project>/.agents/skillsinstead of skipping Codex.databricks aitools update --scope projectrefreshes those skills, and adds none for Codex to a project that does not have them. (#7990)databricks aitools auto-install enableanddisablenow send usage telemetry when they change the setting, and the other places that ask for or change the consent to installing Databricks AI tools automatically record that too.databricks auth loginsends that record, and the events of the automatic installation that runs after the answer, with the profile it saved, but only when it asked about installing the tools. When the configured workspace is slow or unreachable,enableanddisablecan take up to about 6 seconds longer. Such a login prepares the upload while it waits for the answer, so it takes up to about 3 seconds longer, or up to about 6 when the answer comes within 3 seconds. SetDATABRICKS_CLI_DISABLE_TELEMETRY=1to opt out. (#8194)- When the automatic installation of Databricks AI tools is turned off (for example by
databricks aitools auto-install disableorDATABRICKS_AITOOLS_AUTO_INSTALL=false), the CLI no longer prints its install hint for coding agents or Claude Code's plugin install line. (#8194, #8211) databricks aitools installnow reports a coding agent as failed, with a step to recover, when it cannot write the skill files into that agent's skills directory (for example one left owned by root by an earlier run with sudo). It used to report the agent as installed and exit with code 0; it now exits with code 1 when that agent was named with--agentsor no other agent was set up.databricks apps initnames such an agent with the same kind of step, and the automatic install retries when no agent got the skills. (#7962)databricks aitools install,databricks aitools updateand the automatic install now see a Databricks plugin for Codex or GitHub Copilot installed with the agent's own CLI. When the agent's CLI is not on PATH they keep the plugin and add or update no skill files next to it, andinstallandupdateremove the skill files an earlier run added, so the agent no longer loads every Databricks skill twice.install --skills-onlyskips such an agent and names the agent's own command that removes the plugin. (#7917)databricks auth loginnow asks about installing Databricks AI tools with a short card that names the coding agents that get them and says how to turn automatic installs off. An empty reply asks only the card's last line again. (#8242)databricks aitoolscommands no longer fail when the latest skills release cannot be looked up: they warn and use the newest release they know, and never downgrade installed skills unless the compatibility manifest entry sets"allow_downgrade": trueto roll back a bad release. The lookup now reads the version file the skills repository publishes on the host that serves the skill files, instead of the rate-limited GitHub API, soDATABRICKS_CLI_GITHUB_API_URLno longer affects it and aDATABRICKS_SKILLS_BASE_URLmirror must servemain/metaplugin/version.meta.json, and answerHEADfor each release'smanifest.json, for the lookup to succeed. A compatibility manifest entry can track the latest release with"use_latest": true, which older CLI versions ignore, and the entry for CLI 1.23.0 and newer now does, sodatabricks aitools installandupdateinstall the latest skills release instead of 0.2.47. (#8202, #8203)databricks aitools uninstallnow removes the skill directories it copied into a single agent's skills directory when they are unmodified; before, it reported them as uninstalled but left them in place. (#7936)- A global
databricks aitools uninstallrun while the automatic installation of Databricks AI tools is installing now fails before it removes anything and asks to run it again, instead of reporting success and having the installation put the tools back seconds later. An opt-out stored while an automatic installation is deciding whether to install (databricks aitools auto-install disable, say) now stops it. (#7924) - Fix
databricks fs rmandfs rm -ron UC Volumes failing with "file does not exist" or "no such directory" after a delete was retried. (#7926) - Use the public Sandbox SDK for
databricks sandboxlifecycle commands, including native SDK JSON output that requires scripts using the previous field names to migrate; preserve short IDs, readiness and terminal text, with SSH through port forwarding.--idle-timeout 0now disables auto-stop; use--no-autostop=falseto reset to the 10-minute default. (#8040) - Remove
sandbox registerandsandbox ssh-key; use OAuth-backedsandbox sshorsandbox ssh-setupinstead, without changing existing SSH keys, configuration, or server registrations. (#8098) - Show migration instructions when retired
sandbox registerorsandbox ssh-keycommands are invoked, including with their legacy flags. (#8180) databricks ssh connect --acceleratornow accepts any serverless GPU type name, such asGPU_1xRTX6000, instead of onlyGPU_1xA10andGPU_8xH100; the workspace validates which GPU types and environment versions are available. (#7833, #7957)databricks ssh connectnow reuses an existing secret scope for its SSH keys only if the scope is Databricks-backed and its ACL grants MANAGE to the current user and no access to any other principal, and otherwise fails with an error that explains how to delete the scope and connect again. (#8141)databricks ssh connect: the SSH server now writes the client public key from the session's secret scope toauthorized_keysin canonical form, and fails with an actionable error if the stored key is not a single SSH public key without options. (#7994)
AI Runtime
- Show workspace-specific supported GPU counts in
databricks air run -h config.compute.num_accelerators. (#8215) databricks air cancel --allnow lists the runs it matches even with--yes, and its help says that--allincludes runs started from other terminals, scripts and agents, and that runs can be cancelled by ID instead.air getnow shows a "Cancel reason" for cancelled runs, such as "Run cancelled by user". (#8233)- Clarify that the
air runPyTorch warning checks direct dependencies and may appear when another dependency installs PyTorch. (#8214) - Make
databricks air run --dry-runsay that only static and workspace validation ran, and that dependencies were not installed and code was not run. (#8219) - Remove outdated Preview labels and the runtime warning from
databricks air images push. (#8097) - Print the source image size in
databricks air images push, and after the push the compressed size and layer count from the pushed manifest, with a link to the Databricks Artifact Registry image limits. (#7868) - Warn in
databricks air images pushwhen the source image sets aWORKDIRother than/, suggest absolute paths in commands and scripts, and link the AI Runtimecommanddocs. (#7867) - Accept
experiment_nameas an alias forexperimentindatabricks air list --filter. (#8220) databricks air logswith no logs to show now reportsPENDINGfor a run that is waiting for compute (matchingair get), prints theair logs --followcommand to run when not following an active run, and for--retry Non a finished retry reports how that retry ended. (#8232)databricks air runnow warns when code passes a run ID tomlflow.start_run()before training a Hugging Face Trainer that reports to MLflow, which fails the job with "Run ... is already active" when training begins. (#8234)
Bundles
- Record deployment history by default for bundles deployed to a workspace that Databricks has enrolled. Set
experimental.deployment_history: falseto opt out. (#7895) - Recover from a create request that failed after the backend applied it for more resources (Unity Catalog catalogs, schemas, volumes, external locations, registered models and secrets; Lakebase endpoints, databases, synced tables and snapshot schedules; secret scope permissions), in the direct deployment engine. (#7910)
- Fix the bundle auth error "the host in the profile doesn’t match the host configured in the bundle" when only one of the hosts includes the default port, such as
:443. (#7948) - Do not warn about missing required fields under an optional block that is explicitly null, such as a job's
schedule: null. (#7982) - Fix
bundle deployfailing with "no such file or directory" when adynamic_versionwheel artifact has several wheels of the same package. (#8027) bundle deployandbundle destroyno longer warn when a delete fails but a read finds the resource missing or in terminal teardown, which is the usual outcome when a delete is retried after a transient error. The message is logged at debug level. (#8046)- Fix
bundle deployandbundle destroywith the direct engine sometimes failing with "Cluster ... does not exist" when a cluster in the state was already deleted. (#8068) - Fix notebooks with an upper-case extension (for example
notebook_path: ./etl.R) being reported as not found when deploying a bundle from the workspace. (#8093) - Fix
bundle initignoring the default of, and not prompting for, a template property with a JSON schemaformatother thanwarehouse_path(an integer one printedValidation failedforever). Without a TTY, such a property with no default and no value from--config-filenow fails like any other property instead of rendering as an empty string. (#8094) - Don't update the unchanged permissions of a vector search endpoint, model serving endpoint or model when the resource itself is updated in place (direct engine). (#8108)
- Fix a crash in
bundle initwhen the config file sets anumberproperty, or anintegerproperty declared only inanyOf, to null, or when anumberproperty has null in itsenum. (#8155) - Fix
bundle deploy --planuploading the wrong wheels fordynamic_versionartifacts with a build command when the build output matches several wheels. It now also uploads every library file the plan references, and fails before uploading anything when one of them no longer exists locally. (#8157) - Fix target overrides of
mode,cluster_idandgitfailing withexpected a map to index ..., found nilwhen the top-levelbundlekey is empty. (#8166) - Fix a crash in
bundle initwhen a template schema sets a property to null, for example"properties": {"p": null}. It now fails with an error naming the property. (#8168) - Fix target variable overrides being dropped with a warning, so the root value was used: short-form and complex-value overrides under the deprecated
environmentskey, and unquoted dates undertargets. Short-form overrides underenvironmentsof a variable that is not defined now fail withvariable x is not defined but is assigned a value, as they already did undertargets. A target override no longer panics when the variable'stypeis not a string, and a scalartargetsvalue (such astargets: false) is reported at its location instead of failing withfailed to rewrite. (#8183) - Fix bundle commands failing with
can't find ".venv/bin/python3"when run from a subdirectory of a bundle that sets a relativepython.venv_path. (#8184) - Fix external location updates not clearing
read_onlyorfallbackin the direct deployment engine when they are removed from the bundle configuration; a value set outside the bundle is now reset to the configuration on deploy, as the plan already showed. (#8230) - Fix
bundle generate appfor an app with no source code to download (never deployed, or an empty workspace source folder): it now creates the source directory, so the generated bundle loads. (#8244) - Fix
bundle deployandbundle destroywithout deployment history reporting success and dropping a resource from state when the backend rejects its delete; the resource stayed in the workspace untracked. (#7931) - Add the
genie_agentsresource for managing AI/BI Genie agents on the direct deployment engine. (#7617) - Apply a secret scope rename that was pending when a bundle migrates from terraform state to the direct engine: the scope is recreated under the new name, which deletes the secrets stored in the old scope, as a direct deploy of the same rename does. (#7980)
bundle deploy --plannow pulls the deployment state, so applying a saved plan from a fresh checkout deletes files removed from the bundle. Because--planskips the build, synced build outputs missing from the apply checkout (for example files aprebuildscript writes) are deleted from the workspace too. (#7988)- Record deployment history for
bundle deployment bindwhen deployment history is enabled. (#7817) - Rename registered models in place; a model in a renamed catalog or schema keeps its versions. (#7379)
bundle runandpipelines run,stop,dry-runandteston a never-deployed bundle now report a KEY that is not defined in config, instead of suggestingdatabricks bundle deploy. (#7985)- UC secrets follow a renamed catalog or schema. (#7381)
- The warning shown when a bundle's root path is under
/Workspace/Sharednow links to the FAQ on moving a deployment off/Workspace/Shared. (#6353) bundle summary(text and JSON output) now resolves${resources.*}references from the configuration and the deployed resource ids, for example a synced table named after its catalog, and builds resource URLs from them, sobundle openandpipelines openopen the right page. References to values that are not set locally (ids of resources not deployed yet, fields only the workspace has) and to sensitive fields stay as they are. Synced database table URLs now point to the table in Catalog Explorer. (#8111)- Fix
bundle deployandsyncdeleting the remote copy of a notebook or file when the local file is an.ipynbwith invalid JSON or cannot be read. (#8032) - Warn when a bundle's
run_asidentity may lack access to deployed files, with guidance for top-level permissions and source-linked files. (#7313)