Find Databricks bundle problems before you deploy, including ones databricks bundle validate misses. See them in your code, at the exact line, and explore how your jobs and tasks connect.
It checks your Declarative Automation Bundle (formerly Databricks Asset Bundle) for missing files, broken task dependencies, notebook parameters a task doesn't pass, and more. Findings go to the Problems panel. The graph shows each job's tasks and how they depend on each other. Select a pipeline on the bundle overview to see what runs it and its sources; one with SQL sources also has a data flow of its tables.
Available on the VS Code Marketplace and on Open VSX for Cursor and Windsurf.
what-it-does.mp4
Watch the 2-minute video: what the inspector checks and shows, feature by feature.
Problems that pass databricks bundle validate and only fail when you deploy or run the job:
- Missing files and libraries that tasks and pipelines point at.
- Files that won't be deployed, because
.gitignore, your global git ignore file orsync.excludeskips them. includemistakes: a pattern with a typo, or a resource file no pattern covers.- Notebook and file mix-ups: a path without its extension, or a notebook where a file is expected.
- Widgets a notebook reads that the task doesn't pass.
- Task values read from a task that isn't upstream, or that never sets them.
- Secret scopes named by their resource key instead of their name.
- Unresolved variables for the selected target.
Where it can, it suggests the fix: "Did you mean resources/*.yml?" For a notebook path missing its extension or a mistyped include pattern, use the light bulb to apply a suggested Quick Fix. Click a finding's code in the Problems panel to read what it means and how to fix it.
The inspector also reports Not checked when a variable prevents it from checking a local file, and copied reviews list the code it couldn't read, such as notebooks in the workspace. Checks on code read Python and SQL. Scala and R files are read for dbutils calls only.
Every check, and what code is read
- Job graph: tasks and what they depend on, with pan, zoom and search.
- Task details: type, source file, parameters, compute, linked pipelines and problems labelled Error, Warning or Note.
- Pipelines: select a pipeline on the bundle overview to see the jobs in the bundle that run it, its default catalog and schema, its settings, and each source in
librarieswith its problems, all from the YAML. A pipeline with SQL sources has a Data flow page of the tables and views they create. - Secrets and widgets found in each task's code.
- Targets: pick a target in the graph to see its variables and issues resolved for it. The Problems panel keeps showing the structural preview, which needs no login.
- Review report: copy a short summary for chat, or a full report for a pull request with a picture of the job's tasks, its errors and warnings, and tables of tasks, parameters and files.
- Sidebar: the Databricks Bundle Inspector icon in the Activity Bar lists every bundle in the folder with its result, the targets each can be checked against, and the Databricks CLI and sign-in profile the checks use.
Jobs and pipelines have dedicated views and checks. Secret scopes and clusters are used by some checks, and other resource groups have no checks yet. See Supported resources for the full list and limits.
- Install the Databricks CLI,
v0.299.0or newer. - Open a folder that contains a
databricks.ymlordatabricks.yaml. The extension checks the bundle by itself, lists what it finds in the Problems panel, shows the count in the status bar, and checks again every time you save. - For the graph, open the bundle file or a resource file it loads through
include, then click Open Graph (the cube and magnifier button) in the editor title bar. From a resource file, the graph opens on the job under your cursor, or the file's first job.
If the CLI can't be found, Open Graph says why and links to the install steps for your OS. Besides your PATH, the inspector looks for the CLI the Databricks extension ships and, on Windows, in the Path Windows has stored, so a WinGet install works without a restart. Otherwise restart VS Code so it sees the new PATH, or click Locate CLI… and pick the CLI file.
The same checks run from the command line, so a pull request can fail before anything is deployed. It needs the Databricks CLI too, and Node.js 22 or newer:
npx @uncoverthestack/databricks-bundle-inspector checkIt checks every bundle under the folder and exits with 1 when it finds errors. --format github shows the findings as annotations in a pull request, and --target checks a real target. Command-line tool
- It runs one program, the Databricks CLI you installed, to validate the bundle. To find it, Windows only, it may also read (never change) your stored
Pathwithreg.exe. Nothing is deployed and your code is never run, including scripts and Python a bundle asks the CLI to run. That last part needs Databricks CLI v0.246.0 or newer: an older CLI runs them anyway. - It writes nothing into your bundle folder, not even the
.databricksfolder the CLI creates for a real target. - It stays off until you tell VS Code you trust the folder.
- The checks that run by themselves need no login. Picking a real target in the graph uses your active CLI profile, or the one set in
databricksBundleInspector.profile, and may contact your workspace. With a login, the CLI'svalidatealso creates the target's empty files folder in your workspace if it is missing; nothing is uploaded. A target that sets noworkspace.hostuses the workspace of your default profile. If the workspace doesn't answer within 15 seconds, the graph shows the structural preview instead and says why.
See the security policy.
The extension collects usage data, such as which features are used. Never file paths, names or contents. Nothing is sent until you have closed the notice about it, and then only from another VS Code window or after a restart.
To turn it off, use either setting:
databricksBundleInspector.telemetry.enabled: set tofalse, for this extension only.telemetry.telemetryLevel: anything other thanall, for VS Code and every extension that respects it.
What is collected, and where it goes
Latest release: 0.10.0. This README also describes changes on main that are awaiting release; see Unreleased changes.
Active development. Feedback, bug reports, and feature requests are welcome on the issue tracker. To work on the code, see Which tests to run.
Apache-2.0. See LICENSE.