You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device code login:databricks auth login --use-device-code logs in from a machine that cannot open a browser, such as a headless server or an SSH session (#8069).
auth login fixes: OAuth tokens too large for one keyring item now work (#7845). auth_storage is read from the right config file (#7733). Login no longer waits for the browser to close (#7551). auth docker configure works when several profiles match one workspace (#7383).
auth profiles --skip-validate leaves out the Valid column instead of reporting NO for every profile (#7638).
Clearer API errors: messages now show the HTTP status, error code and endpoint instead of a bare Error: or an empty databricks-api error: (#7800, #7839).
databricks api:--json on GET, HEAD and DELETE is added to the query string. Content-Type is sent only with a body. Non-JSON responses are printed as is. --json @- reads stdin (#8299).
fs: transient errors on UC Volumes and DBFS are retried (#7607, #7763, #7839). fs rm no longer fails after a retried delete (#7926).
ssh connect:
Serverless CPU now defaults to environment version 5 (#7847).
--accelerator accepts any serverless GPU type name (#7833, #7957).
It falls back to PyPI to download the server binaries (#7852).
Secret scopes are reused only when they are safe (#8141), and the server checks the client SSH key (#7994).
sandbox (breaking):sandbox ssh now uses local SSH keys and the public Sandbox SDK, with no --port and new JSON field names. sandbox register and sandbox ssh-key are removed, and calling them prints migration steps. Remote ports below 10000 can now be forwarded (#7588, #7589, #7590, #8040, #8098, #8180, #7861).
Other: interactive list output no longer drops or reorders a page of rows (#7804, #7914). Transient /.well-known/databricks-config fetch failures are logged at debug level (#7912). Agents can send feedback without confirmation, and --yes is deprecated (#7795).
AI tools (aitools)
Automatic install is less intrusive:
It does not ask in containers or install for the first time without a terminal. It does not run as root in another user's home, and it keeps newer skills (#7828, #7834, #7874, #7888, #7890, #7901).
It no longer runs an agent's CLI after an unrelated command (#8224).
It does not move a Databricks skill that you put in an agent's skills directory (#8071).
auth login asks about AI tools with a short card (#8242). Consent is recorded with telemetry, and DATABRICKS_CLI_DISABLE_TELEMETRY=1 opts out (#8194). When auto-install is off, no install hints are printed (#8211).
v1.30.0 auto-updates AI tools on the first run of each new CLI version (#8290). Turn this off with aitools auto-install disable or DATABRICKS_AITOOLS_AUTO_INSTALL=false.
Plugin and skill bookkeeping:
A Codex or Copilot plugin installed with the agent's own CLI is detected, so skills are not loaded twice (#7917).
--skills-only no longer mixes skill files with the plugin (#7831, #7903).
Codex project skills go to <project>/.agents/skills (#7990), and CODEX_HOME/COPILOT_HOME are respected (#8277).
An install that was cut short continues where it stopped (#8320).
A failed agent install now exits with code 1 and shows a recovery step (#7962).
Robustness:
The skills release lookup moved off the rate-limited GitHub API and never downgrades installed skills (#8202, #8203).
Ctrl-C stops aitools commands fast (#7832, #7870), and Esc cancels the agent picker (#7721).
uninstall is stricter and cleans up correctly (#7873, #7936, #7924).
Breaking:compute.pool_id is no longer accepted in AIR workload YAML. Use compute.accelerator_pool_id (#7698).
air list and air get find AIR tasks anywhere in a multi-task job and report task_key. run_id is no longer unique in air list -o json (#7632).
air convert-to-dabs handles an existing output directory better (#7835, #7853, #7857, #7866). air run -o json returns a JSON error envelope that can include PERMISSION_DENIED (#7864).
air images push reports image sizes, drops the Preview labels and warns about a WORKDIR other than / (#7868, #7867, #8097). air get -o json reports max_retries (#8284).
bundle summary resolves ${resources.*} references and builds resource URLs, in text and JSON output. bundle open and pipelines open now open the right page, and synced table URLs point to Catalog Explorer (#8111).
Deployment history is on by default for workspaces that Databricks has enrolled. experimental.deployment_history: false opts out (#7895). History is also recorded for bundle deployment bind (#7817).
New config surface: the genie_agents resource (#7617), apps thumbnail_path (#7728) and job_runslifecycle.triggers.on_value_change (#6341).
Duplicate keys in bundle YAML now cause a warning. A future release makes this an error, and bundle validate --strict already fails on it (#8305).
Deploy and destroy robustness:
Commands no longer hang on a dead HTTP/2 connection (#7723).
The direct engine recovers from create requests that failed after the backend applied them (#7801, #7910).
Retried deletes no longer cause false warnings, and rejected deletes are no longer dropped silently (#8046, #7931).
Dashboard publish is retried (#8170), and app deploy and run work with active compute (#7709, #7780).
Fixes for the Terraform-to-direct migration (#7778, #7980).
Direct-engine fixes for clusters, permissions, models, secrets and external locations (#8068, #8108, #7379, #7381, #8230).
bundle deploy --plan now pulls the deployment state and uploads every library file that the plan references (#7988, #8157). Several dynamic_version wheel fixes (#8027, #7928).
Path and sync fixes:
Paths with a colon in the first segment now work (#7851).
An invalid .ipynb no longer deletes the remote copy (#8032).
Upper-case notebook extensions work (#8093), and a relative python.venv_path works from a subdirectory (#8184).
Sync no longer overwrites deploy.lock or resources.json when state_path is under file_path (#8236).
Sync warns instead of reporting a directory that stays as deleted (#8307).
Config fixes: host mismatch when only one host has :443 (#7948), schedule: null warnings (#7982), target overrides with an empty bundle key (#8166), dropped target variable overrides (#8183), and a compute_id warning that now applies only to the selected target (#8350).
bundle init and generate: template prompt fixes for integer, anyOf and null properties and for runs without a TTY (#8094, #8155, #8168, #8160). generate fixes for apps and pipelines with no source files, and for file_path of dashboards and Genie spaces (#8244, #8289, #8293).
bundle run and pipelines:
Transient errors while waiting are retried (#7800).
A bundle that was never deployed gets a clearer error (#7985).
The resource prompt shows every resource with the same name (#8346).
--restart checks its arguments before it cancels anything (#8344).
New warnings: a run_as identity that may lack access to deployed files (#7313). The /Workspace/Shared warning now links to the FAQ (#6353).
Dependency updates
Dependencies with known vulnerabilities were bumped (#7904).
What could be integrated into the VS Code extension experience
Ranked roughly by effort-to-value. Each item was checked against the extension source on main.
1. Device-code login for Remote-SSH, WSL and Codespaces — small net-new work on existing plumbing
The extension builds databricks auth login --host <host> [--profile <p>] --timeout 300s and runs it through execFile with no TTY (packages/databricks-vscode/src/configuration/auth/DatabricksCliCheck.ts:146-159). The timeout is capped at 5 minutes (DatabricksCliCheck.ts:32). The comment there names the exact failure that #8069 addresses: in WSL, the CLI cannot open the browser or receive the localhost callback (DatabricksCliCheck.ts:19-31). When login fails, the user is told to run the command in a terminal themselves (DatabricksCliCheck.ts:160-178).
The extension already has a pattern to copy:
The Azure CLI check passes --use-device-code in Codespaces (packages/databricks-vscode/src/configuration/auth/AzureCliCheck.ts:365). It detects Codespaces with CODESPACES (AzureCliCheck.ts:62).
The extension already reads env.remoteName (packages/databricks-vscode/src/prerelease-invitation/PreReleaseInvitationManager.ts:90).
To add --use-device-code for remote windows, the extension must also show the user code in a notification, because the code is printed on stdout of a hidden process. That makes this small net-new work, not a pure flag-flip. It removes the "run this in a terminal" dead end for headless users.
2. Use the URLs that bundle summary builds — cleanup on existing plumbing
The extension already fetches bundle summary --include-locations --target <t> --force-pull (packages/databricks-vscode/src/cli/CliWrapper.ts:1083-1092). Generic resource nodes already read the URL from the summary (packages/databricks-vscode/src/ui/bundle-resource-explorer/UnknownResourceTreeNode.ts:30-32). Jobs and pipelines still build URLs by hand:
Now that #8111 builds URLs from resolved references, these two nodes can read this.data.url and the hand-built strings can go. Without any change, the generic nodes already get the improved URLs, for example synced tables in Catalog Explorer.
3. Serverless GPU picker for ssh connect — a comment fix now, net-new work to make it dynamic
The extension builds databricks ssh connect --ide=… --auto-approve [--accelerator=…] (packages/databricks-vscode/src/cli/CliWrapper.ts:152-175) and sends it to a terminal (packages/databricks-vscode/src/ssh/SshCommands.ts:489-509). The picker hardcodes GPU_1xA10 and GPU_8xH100 as "the serverless GPU accelerator types supported by the CLI" (SshCommands.ts:46-63). After #7833 and #7957, that is no longer true, because the workspace validates any GPU type name.
Cleanup: fix the comment.
Net-new: add a free-text entry or a picker that lists the workspace's GPU types.
Release-note item, no code change: because of #7847, the first serverless CPU connect after this bump starts a new server on environment version 5. The old server stays available with --environment-version 4.
4. AI tools behavior changes — mostly transparent, with two smoke tests
The extension installs, updates, uninstalls and lists AI tools through the CLI (packages/databricks-vscode/src/cli/CliWrapper.ts:847-979, packages/databricks-vscode/src/aitools/AiToolsManager.ts).
All four calls run with closeStdin: true (CliWrapper.ts:876, 914, 939, 972). A new CLI prompt therefore cannot block them.
aitoolsInstall already parses the JSON result after a non-zero exit (CliWrapper.ts:886-894). With #7962, that case becomes more common, and it is already handled.
Two things to smoke-test on 1.30.0:
auth login runs without closeStdin, and with empty options (DatabricksCliCheck.ts:154-159). v1.29.0 added an AI-tools consent card to auth login (#8242) and telemetry recording (#8194). The changelog says that automatic install does not ask without a terminal (#7828, #7834), so login from the extension should not stop at that question. Still, test it. If it misbehaves, a mitigation is to pass DATABRICKS_AITOOLS_AUTO_INSTALL=false to this spawn, or closeStdin: true as the aitools calls do. Today neither variable is set anywhere in the extension. The shared CLI env is in packages/databricks-vscode/src/utils/envVarGenerators.ts:176-188.
Version-bump auto-update (#8290): the first CLI run after this bump can update the user's installed AI tools by itself. Check that this does not conflict with the update flow in AiToolsManager.
5. New bundle resource types and fields — transparent today, dedicated tree nodes would be net-new
The bundle YAML schema comes from the bundled CLI at runtime through bundle schema (packages/databricks-vscode/src/cli/CliWrapper.ts:802-809). The extension loads it into redhat.vscode-yaml (packages/databricks-vscode/src/extension.ts:2010-2019). As a result, genie_agents (#7617), thumbnail_path (#7728) and job_runslifecycle.triggers.on_value_change (#6341) get validation and completion without extension work.
In the resource explorer, unknown types fall back to UnknownResourceTreeNode, which shows the summary URL and source location. Rich nodes like the job and pipeline nodes would be net-new work. The generated TS mirror, packages/databricks-vscode/src/bundle/BundleSchema.ts, needs regeneration only if new types are used at compile time.
The extension runs only bundle validate --target <t>, without --strict (packages/databricks-vscode/src/cli/CliWrapper.ts:1048-1053). The output goes to logs and is not parsed into diagnostics (runBundleCommand, CliWrapper.ts:413-508). Nothing breaks, but users do not see the new warning in the UI.
Optional net-new work: show bundle validate warnings as editor diagnostics. That would catch duplicate keys, which the YAML language server does not flag, before they become an error.
7. Sync warning line (#8307) — no-op, with a tiny cleanup available
The extension parses bundle sync --watch --output json line by line (packages/databricks-vscode/src/cli/CliWrapper.ts:686-700, packages/databricks-vscode/src/cli/DatabricksCliSyncParser.ts).
A non-JSON warning line is caught and logged as "Error parsing JSON line…" (DatabricksCliSyncParser.ts:134-140).
The parser treats only lines that start with Error: as errors (DatabricksCliSyncParser.ts:99-116).
Sync state is not affected. The only cost is a misleading log line, which an optional cleanup can remove.
No action needed
auth profiles --skip-validateValid column (#7638): the extension already passes --skip-validate and reads JSON output. It reads only name, host and the other identity fields, never valid (packages/databricks-vscode/src/cli/CliWrapper.ts:711, 755-768).
auth login keyring, auth_storage and browser-wait fixes (#7845, #7733, #7551): these are robustness wins for the login flow in DatabricksCliCheck.ts:146-159. No change is needed. The auth_storage fix matters because the extension sets DATABRICKS_CONFIG_FILE for CLI spawns (envVarGenerators.ts:181-182).
bundle run --restart (#8344) and the resource prompt fix (#8346): the extension never passes --restart (getBundleRunCommand, CliWrapper.ts:1320-1377). It selects resources itself, not through the CLI prompt.
databricks api (#8299), fs retries (#7607, #7763, #7839, #7926), sandbox and air: the extension does not run these commands. Workspace file operations go through the SDK in packages/databricks-vscode/src/workspace-fs/.
Error message changes (#7800, #7839): the extension matches CLI error text in a few places: ^Error: for sync (DatabricksCliSyncParser.ts:99-116), re-auth phrases (packages/databricks-vscode/src/python-setup/utils/authErrors.ts:18-43) and profile loading (CliWrapper.ts:733-743). None of these match the old empty-message forms, so the new messages stay compatible and are more useful to users.
Deployment history default (#7895):experimental.deployment_history is not referenced in the extension. Deploy output may change a little for users in enrolled workspaces, which helps when you triage reports.
Bundle robustness fixes (#7723, #7851, #7948, #7982, #8032, #8093, #8183, #8184, #8236, and the direct-engine, --plan, init and generate fixes): these harden commands the extension already runs (bundle validate, summary, deploy, destroy, sync, CliWrapper.ts:1040-1318), and no interface changes. Users could hit #7948 (a host with :443) and #8236 (sync overwriting state files) through the extension, so these are real fixes for extension users.
Context: the version pin
This PR changes "cli": {"version": "1.27.0"} in packages/databricks-vscode/package.json:1977-1978. Two checks read this version:
The dev-mode check for a stale bundled binary (packages/databricks-vscode/src/cli/CliWrapper.ts:1435).
The warning when a user's databricks.cliPath override is older than the bundled CLI (CliWrapper.ts:1381).
After you pull this bump, re-fetch the binary with yarn workspace databricks run package:cli:fetch.
🤖 Auto-generated executive summary of the CLI v1.27.0 → v1.30.0 changelog. Integration notes are opportunities, not commitments — verify before acting.
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
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.
Update Databricks CLI to v1.30.0