Skip to content

v0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:10
· 38 commits to main since this release
Immutable release. Only release title and notes can be modified.
2f3322a

Added

  • A command-line tool runs the inspector's checks in a terminal or CI (#348). npx @uncoverthestack/databricks-bundle-inspector check checks every bundle under a folder with the same checks as the extension, and exits with 1 when it finds errors, so a pull request can fail before anything is deployed. Output as text, JSON, Markdown, or GitHub annotations with a summary on the run's page. --target checks a real target as the Databricks CLI resolves it, and never falls back to the structural preview. --fail-on sets which findings fail the run. Each finding shows how to fix it, a job written only under a target gets a note saying to check it with --target, and jobs defined in Python are listed as not checked. It needs the Databricks CLI v0.299.0 or newer and Node.js 22 or newer, has no dependencies, is also published as databricks-bundle-inspector, and once installed runs as dabi for short.
  • A {{name}} SQL parameter used as a catalog, schema or table name is reported (#707). Databricks fills {{name}} in with the value in quotes, so FROM {{catalog}}.sales.orders, a name in backticks, or USE SCHEMA {{schema}} fails the run even when the parameter is passed. The new warning sql_parameter_as_name suggests IDENTIFIER(), which works. USE CATALOG {{catalog}} without backticks and IDENTIFIER({{schema}}) run and are not reported. This includes USE CATALOG `{{catalog}}` , which databricks bundle init default-sql writes since CLI v1.13.0: the job deploys, then fails with Catalog ''<name>'' was not found. Checked with job runs on a serverless SQL warehouse, Databricks CLI v1.28.0.
  • A note when a job's environments use a variable and no target is picked (#687): "Not checked: job "nightly"'s environments use a variable, so they aren't known yet. Pick a target in the graph to check it." The structural preview keeps the variable as text, so a misspelled environment_key in such a job can't be found until a target is picked. The command-line tool says "Use --target to check it." New code environments_not_checked.
  • Copied reviews and the command-line tool say what the checks couldn't look at (#647), so "No issues" never hides code that wasn't read: a notebook in the workspace or in the job's Git repository, the code inside a wheel, JAR, spark_submit task or dbt project, R and Scala files (read for dbutils calls only), a %run the widget check couldn't follow, and widgets read by names set at run time. The short and full copied reviews list them under Not checked. The command-line tool prints them under each bundle, and --format json adds a notChecked list to each bundle (schemaVersion stays 1: fields are only added). Across 885 bundles from Databricks' examples and the Databricks CLI's tests, findings are unchanged.
  • A notebook that starts with an invisible byte-order mark is reported (#589). New error notebook_byte_order_mark, on a notebook task or a pipeline notebook library whose .py or .sql notebook starts with one. Such a file passes bundle validate and bundle deploy, then fails when the job or pipeline runs. A plain Python file with the mark runs fine and gets nothing. The notebook's cells are now also read past the mark, so its other checks still work. Checked by job runs and pipeline updates on Databricks CLI v1.28.0.
  • A job written only under a target says it wasn't checked (#583). With no target picked, a job such as targets.prod.resources.jobs.nightly isn't in the graph and none of the job checks run on it. The panel's Issues list now has a note under "Jobs Not Checked": Job "nightly" is only in target "prod": pick prod to check it. Picking the target checks the job. The note is only in the panel, not in VS Code's Problems panel.
  • A branches page for each Lakebase project (#543). On the bundle overview a postgres_projects resource is one box, with Branches ›, like a job's Open › and a pipeline's Data flow ›. Its branches, endpoints, databases, roles, synced tables and snapshot schedules fold into that box, which takes their lines. The page shows each branch under the branch it was made from, the project's first branch (production unless default_branch names another), branches made from a snapshot, and each branch's expiry, compute, what it holds and what uses it. Read from the YAML only: nothing is looked up in the workspace.
  • A warning when a pipeline task refreshes a table or flow its pipeline doesn't create (#539). refresh_selection, full_refresh_selection and refresh_flow_selection are compared with the tables, views and flows in the pipeline's SQL, letter case included: Rename "orders_silvr" in refresh_selection: pipeline "orders" may not have this table, so the run may fail. Did you mean "orders_silver"? Such a name passes validate and deploy, and the run fails. Pipelines with Python sources, or with names the inspector couldn't read, aren't judged.
  • Secrets whose scope is set at run time show up, and secret scopes get a key (#535). Code such as dbutils.secrets.get(scope=dbutils.widgets.get("env_scope"), ...) used to make a task look like it read no secrets. It now shows in the job's Uses row, the task's details and the overview's details as From job parameter env_scope, From parameter env_scope or Set at run time. Two tasks share one only when both read the same job parameter; otherwise each task has its own. When the bundle gives the parameter a value, the task shows that scope marked by default, and the secret scope name check runs on it. Secret scopes show a grey key instead of a dot.
  • A file in a pipeline glob's folder that fails the pipeline update is now an error (#531). Deploy uploads every file under include: ../src/dlt/**, hidden ones too, and the update fails on any type but .py and .sql, apart from a few it skips (.md, .txt, .csv, .json, .ipynb): a .gitkeep, a .DS_Store, a config.yml or a Makefile is enough. bundle validate and deploy pass. The finding names the file to add to sync.exclude.
  • Clusters on a Databricks Runtime near or past end of support (#485). A new check, runtime_end_of_support, reads each cluster's spark_version: all-purpose clusters, job clusters and a task's own cluster. A version whose support ends within a year gets a note with the date, such as Databricks Runtime 15.4 LTS is supported until 2027-08-19. One past end of support gets a warning that it may no longer get security fixes, and 10.4 LTS and earlier, which Databricks lists as end of life, a warning that runs may fail to start. bundle validate and bundle deploy don't look at the version. The dates come from the Databricks docs, read 2026-11-24, and a weekly check compares them with the docs pages so a new version or a moved date isn't missed.
  • Warns when a SQL file's {{name}} parameter may fail the run or give wrong results (#484). A {{name}} the task doesn't pass is left as written: inside quotes the query still runs and can succeed with wrong results, and outside quotes the run fails. A passed {{name}} inside quotes fails too, because Databricks already adds quotes. bundle validate and bundle deploy pass in all three cases. The warning highlights the placeholder in the SQL file.
  • Local files in a job environment's dependencies are checked (#482). bundle validate passes, and deploy fails with "file doesn't exist" or "no files match pattern". The usual mistake is a path written from the bundle root in resources/job.yml: ./dist/app.whl is read as resources/dist/app.whl, and the finding says Did you mean "../dist/app.whl"?. Files deploy builds first, and pip flags such as -r, are left alone.
  • Job settings that pass bundle validate and then fail bundle deploy are reported (#237). Seven new errors: multiple_job_triggers, a job with more than one of schedule, trigger and continuous; invalid_job_parameter_name, a parameter name with a character other than a letter, digit, -, _ or .; invalid_task_key, a task key that is empty, longer than 100 characters, or has a character other than a letter, digit, - or _; outcome_without_condition, an outcome on a dependency whose task is not an if/else condition; invalid_outcome, an outcome other than "true" or "false"; for_each_inputs_not_array, for_each_task.inputs that is not a JSON array of plain values or of objects; and for_each_inputs_too_long, inputs longer than 5,000 characters. Checked by deploying a bundle per case, broken and working, on Databricks CLI v1.28.0.
  • Job parameter references that bundle deploy rejects are reported (#237). Three new errors: unknown_job_parameter, a task's {{job.parameters.<name>}} naming a parameter its job doesn't have (letter case counts), with a "Did you mean" when one is close; job_parameter_reference_with_dot, a reference with a dot after parameters., which fails even when a parameter of that name exists; and job_parameter_in_default, a job parameter whose default refers to another job parameter. Checked by deploying a bundle per case, broken and working, on Databricks CLI v1.28.0.

Changed

  • A pipeline's details are on the bundle overview, and its data flow has its own page (#436). Select a pipeline's box to see, in the side panel, the job and task that run it, where it writes, its settings on one line, and each source with its problem directly under it. A pipeline with SQL sources gets Data flow › on its box, which opens the data flow on the whole page; a pipeline with only Python sources says so and has no link. The separate pipeline page is gone: a job task's Pipeline row, and opening the graph with the cursor in a pipeline, select the pipeline on the overview, and the dropdown lists each pipeline's data flow.
  • A missing wheel in a pyproject.toml project says why deploy doesn't build it (#680). With no artifacts and no setup.py, bundle deploy builds no wheel, so dist/*.whl must be built first. The fix now says so: build it before deploy (for example uv build --wheel), or add an artifacts entry with build: uv build --wheel. Found in public bundles on GitHub whose CI builds the wheel before deploy.
  • Python code is read with a full Python parser (#649). Widget, secret, task value and notebook run checks now read Python with tree-sitter instead of the inspector's own tokenizer, and each file is read once for all of them. Nothing in your code is run. Checked against 2,176 Python, notebook and SQL files from Databricks' example repositories, the Databricks CLI's tests, dqx, SQLMesh and this repository: the same results as before on every file, also with Windows line ends and non-English text, and the same findings on 885 bundles checked through Databricks CLI v1.28.0. Scala keeps the old reader. The extension and the command-line tool each ship three more files (about 0.8 MB) in a tree-sitter folder.
  • Setting values Databricks replaces with its own now say what it will use (#645). A job's schedule, trigger or continuous pause_status, its performance_target, or a task's run_if (including inside a for-each task) written with a value outside the allowed list, including the wrong letter case such as paused, passes bundle deploy, and Databricks stores its own value: UNPAUSED, so the schedule or trigger runs and a continuous job starts at once; no performance target; or ALL_SUCCESS. Once a target is picked in the panel, the Databricks CLI's warning for these now says so and lists the allowed values. The default view, before a target is picked, doesn't show this warning: the CLI only runs that check for a target. Other settings keep the CLI's text. Checked by deploying each value twice beside a correct job and reading the stored job back, on Databricks CLI v1.28.0.
  • Problem badges show how serious (#555). The count on a task box, an overview box and a search result now has the icon and colour of its worst problem: a circled X for an error, a triangle for warnings, as in the Problems panel. Before, it was a plain number on a faint tint that was hard to see in light themes. Point at it for the counts in words, such as 1 error, 2 warnings.
  • Job graph lines are grey, and a selected task's lines turn blue (#554). Lines used to be blue, which looked clickable, and an if/else task's True line was green, which read as "good". Now every line is grey and the False line is dashed, so red and amber on task boxes are the only colour at rest. Selecting a task turns its own lines, in and out, blue.
  • A job's graph opens with every task in view (#552). It used to open at full size from its top-left corner, so on a normal panel the last tasks started out of view, with any warning on them. It now opens fitted to the panel, never zoomed in past full size or out so far that names can't be read, and fits again when the task details close. Once you drag or zoom, it stays where you put it.
  • Resource types show an icon instead of a dot (#546). Boxes on the bundle overview, their search results, chips in a job's Uses row and a task's references now show an icon for their type, such as a warehouse for a SQL warehouse, a server for a cluster and a folder tree for a schema, so grey types are told apart by shape. Colours stay by type family and the type is still written beside it. No type icon looks like a button: a vector search endpoint is a radar, not a magnifier, and a Genie space is two speech bubbles, not sparkles (#556). Serverless or inherited compute, which isn't a cluster, shows a hollow dashed ring. Job graph task boxes, which print their type, and a reference shown in a problem colour keep their dot.
  • Usage telemetry records the type of resource selected in the bundle overview and includes the resource type when opening its definition or compute settings (#544). Resource names, keys and paths are never sent.
  • Clearer wording for four findings (#516). A SQL file's missing :name parameter now reads Pass "run_date" to this task: the SQL file reads ":run_date", so without it the run may fail. A task value read from a task that doesn't run first now reads Add "extract" to this task's depends_on: reading its value "output_path" doesn't make this task wait, so the value may not be set yet. A path with a variable says the file "isn't known yet", and a resource file no include loads says its resources "won't be deployed". When each one shows is unchanged.
  • Not-deployed warnings start with the fix and say what happens at run time (#514). "src/report.py" may not be deployed: it matches .gitignore. now reads Add "src/report.py" to sync.include: .gitignore stops it from being deployed, so it may be missing at run time. The sync.exclude, symbolic link and .git or .databricks warnings follow the same pattern. When they show is unchanged.

Fixed

  • A sign-in the workspace doesn't accept offers signing in again, and never looks like a problem in the bundle (#719). When the Databricks CLI's saved sign-in for a target is turned down, such as one that was revoked or has expired, the CLI says Invalid access token. The graph showed that text in its note; it now shows the sign-in banner, as for an expired browser sign-in, and databricks auth login --profile <name> replaces the old sign-in with a new one. The command-line tool listed it as an error in the bundle and exited with 1, or 0 with --fail-on never; it now exits with 3, like the other sign-in problems, and prints the command to sign in again. Checked on Databricks CLI v0.299.0 and v1.28.0.
  • A resource file in a sub-folder is flagged when no file matches include (#712). With include: ["resources/*.yml"] and the only job file in resources/jobs/, the Databricks CLI loads nothing, so the job is never deployed. resource_not_included said nothing in that case, only when another file sat directly in resources/. It now warns. A misspelled pattern that gets "Did you mean" stays one finding.
  • A job whose environments list is a variable no longer gets "Environment may not exist" (#679) for its tasks' environment_key in the structural preview. The preview keeps a complex variable as text, so the job's environments aren't known there; pick a target to check them. Found by running the inspector over 200 public bundles on GitHub.
  • Widget, task value and notebook reads the old reader missed or miscounted (#649, part of #601 and #602):
    • Another object's .widgets.text("needed", ...) no longer counts as a default for dbutils.widgets.get("needed"), so the missing widget is reported.
    • A widget removed with dbutils.widgets.remove("needed") and then read is reported, as the job run fails ("No input widget named needed is defined", checked on Databricks CLI v1.28.0). removeAll() is treated the same way.
    • read = dbutils.widgets.get, then read("needed"), is read as a widget read.
    • A # comment with a } inside a multi-line f-string no longer hides the code after it.
    • tv = dbutils.jobs.taskValues, then tv.get(taskKey=..., key=...), is read, so a missing task or key is reported. nb = dbutils.notebook, then nb.run(...), is read too.
  • A task value read written in YAML is reported where it is written (#637). A {{tasks.<task>.values.<key>}} in a task's settings got its finding at the task's first line. It now points at the line and column of the reference, inside a list or a for-each loop's inner task too.
  • A short value set outside the repository no longer scrambles the copied review (#635). The review leaves such values out, and a value like 1 or r was replaced inside every word and number: daily.yml:12 became daily.yml:[omitted]2. A value of three characters or fewer is now left out only where it stands on its own, longer values wherever they appear as before, and line numbers are never changed.
  • Hidden text-direction characters are shown in findings and reports (#633). A name from the bundle holding Unicode direction overrides or isolates (U+202A to U+202E, U+2066 to U+2069) could be shown as another name: a missing ./src/ + U+202E + yp.tset read as ./src/test.py. Findings, copied reviews and the command line's reports now show each one as a marker such as [U+202E]. Names on the graph's boxes are not changed yet.
  • Web addresses in bundle text are no longer links in pasted reviews (#631). A name such as ops https://example.com became a link when a copied review or the command line's Markdown report was pasted into GitHub. http://, https:// and www. addresses from the bundle now get a zero-width space where GitHub would start a link, as mentions already do. Links to the docs are unchanged.
  • getArgument reads are checked as Databricks runs them (#629). A plain getArgument("region"), in a Python notebook or a %python cell, was not seen as a read: the parameter got a false "may not be used" note, and a missing one got no warning although the run fails with "No input widget named region is defined". It is now read like dbutils.widgets.getArgument. And getArgument("region", "dflt"), in either spelling, is no longer warned about when region isn't passed: it returns its default. Checked with job runs on Databricks CLI v1.28.0.
  • Pipeline data flow names from dotted configuration keys no longer show backticks (#627). A table named ${my.name} with my.name: gold showed as `gold`, and ${my.catalog}.sales.orders as `main`.sales.orders. They now show as gold and main.sales.orders, as Databricks reads them (checked with a pipeline update on Databricks CLI v1.28.0).
  • A new resource file is checked when include starts with ./ (#625). With include: ["./resources/*.yml"], which the Databricks CLI loads like resources/*.yml, a file created under resources/ was not re-checked, so its problems stayed hidden until another save. New files are now matched against include the way the CLI reads it, as well as the way they were before, so no re-check is lost.
  • "Did you mean" no longer suggests a short name that is only part of the one written (#623). A task value read from load_orders_bronze suggested the task load, and a widget customer_id suggested the parameter id. A name inside another now counts as close only when it is at least half of it, so schema still suggests schema_name and laod still suggests load. Applies to task keys, widgets, parameters, task values and folders.
  • Databricks CLI recommendations are shown (#621). bundle validate prints some advice as Recommendation: lines, such as "define a single job in a file with the .job.yml extension.", and the inspector left them out, so the bundle showed no problems. Each one is now a note at the file and line the CLI gives, in the Problems panel, the graph and the command-line report. Notes don't change --fail-on error or --fail-on warning. Checked on Databricks CLI v1.28.0.
  • Jupyter notebook findings point to the code in the notebook file (#613), including findings in later cells and code split across source strings.
  • Catch three more settings that pass validation and fail deploy (#612). Local wheel and JAR paths must match files, so a directory is reported even when a glob also matches a valid file. Project environments cannot be combined with inline versions, images or dependencies. For-each inputs now flag dynamic references embedded in a JSON list and explain how to use one reference as the whole value.
  • A copied review no longer says "No issues detected" without saying what wasn't read (#611). A job's review lists the code it couldn't check, such as a notebook in the workspace. Files inside a for_each task are counted under Files, so a missing one is no longer "0 missing files". A pipeline's review lists the sources and SQL its data flow didn't read, such as a table named with IDENTIFIER(...).
  • Pipeline flow selections use full names (#607). refresh_flow_selection needs catalog.schema.flow, including for a table's own flow. A short name now gets a warning and, when its namespace is known, a full-name suggestion. Flows whose query reads no table are retained, so a working full name no longer gets a suggestion for a different flow. The SQL data flow also keeps self-reads, reads relations after LATERAL, and treats recursive CTE references as local.
  • Plaintext secret checks include target-only secrets and full variable references (#606). A secret written only under a target is checked at that target's line. ${variables.pw.default} and ${variables.pw.value} are also reported when pw has a value in the bundle's files, just as ${var.pw} is. Values supplied outside the bundle are not treated as plaintext repository defaults, and findings never copy the secret's value.
  • Project environments check the settings the run actually reads (#604). Parse the Databricks table in pyproject.toml, so a version in another table or an empty version no longer looks valid. Warn about project versions below 5 and project files left out of the upload, at their YAML references. Valid version 5 and base environments stay quiet.
  • Task values of a for-each task are checked under the right name (#601). Values set inside a for-each loop are read by the inner task's key. The inspector had it the wrong way round: it warned on the inner task's key, which works, and said nothing for the loop's key, which fails the run with No task values with key ... were found. A read by the loop's key now gets the warning, with the inner task's key as the suggestion. A task that reads its own value that it never sets is now reported too, as it fails the same way. Checked by job runs on Databricks CLI v1.28.0.
  • A notebook run with %run keeps its widget warnings when it also reads a widget by a variable name (#602). dbutils.widgets.get(name) doesn't set a widget, so dbutils.widgets.get("needed") in the same notebook still fails the run when nothing sets needed. Checked by job runs on Databricks CLI v1.28.0.
  • Failed checks no longer look like a clean bundle (#600). Unexpected CLI exits remain failures even if they printed JSON. Sign-in errors no longer hide unrelated CLI warnings. Unreadable source files show which checks failed. A checker failure keeps earlier findings marked out of date and adds an error, and slower older checks cannot replace newer findings.
  • Pipeline checks follow the sources deploy uploads (#600, #607). Read dot-prefixed SQL sources, including a folder containing only hidden SQL. Leave excluded files out of lineage, secret reads and refresh-selection checks, while respecting sync.include. An unreadable source folder gets an error and an incomplete-data-flow notice, instead of advice to remove a table the inspector could not check.
  • Copied reviews keep spaces at both ends of a value (#595), so a space that may explain a mismatch stays visible when the Markdown is rendered.
  • The overview resolves variables in warehouse type and job environment keys (#594), so it shows the compute settings the bundle names.
  • Parameter flow shows the referenced job parameter's name (#592) when a task passes it under a different name.
  • Findings refresh after four more kinds of file change (#590). A finding stayed on screen after the fix until something else triggered a check when the change was: a file a library glob matches, such as a wheel built into dist/ for ./dist/*.whl; the pyproject.toml a job's project_environment names, or a local environment dependency; a .gitignore that lists itself; or a file in a pipeline glob folder outside the bundle folder, such as ../external/**.
  • Notebook code is read the way Databricks runs it (#588). Three fixes. Comments in Scala files and notebooks (// and /* */) no longer count as widget, secret or task value reads. A name like w = dbutils.widgets stops counting as the widgets module once it is assigned something else. A %python cell in a Python notebook is now read; a job run confirmed Databricks runs it as Python.
  • A pipeline with more than 200 source files no longer gets false "may not have this table" warnings (#587). The inspector reads up to 200 files from a pipeline's globs. Past that, a table defined in a file it did not read was reported as missing, with a suggestion to rename it. Now no selection in that pipeline is judged, as with a pipeline that has Python sources.
  • A task value read with a default no longer gets the "may not set value" warning (#586). dbutils.jobs.taskValues.get(..., default="fallback"), by keyword or as the third argument, returns the default when the key isn't set, so the job runs. default=None, and debugValue on its own, still get the warning: both fail in a job run. Checked by job runs on Databricks CLI v1.28.0.
  • The header gives up space in a fixed order and never cuts the target (#553, #551). As the panel narrows, the search box first shrinks to its icon (click it to type), then Copy review keeps only its icon, then the bundle name and the job picker shorten. Below that, search, All / Issues and Copy review move to a second row. The target (structural preview or target: dev) always shows in full, since it says how far to trust what the panel shows. Wide panels look the same as before.
  • A narrow data flow shows that there is more to the right (#550). When a pipeline's data flow is wider than the panel, its right edge fades and a count such as 2 more → shows how many boxes are cut off. Both go once you scroll to the end. Before, macOS hid the scrollbar, so the flow looked like it stopped at the panel's edge.
  • An empty panel says why jobs may be missing (#549). In structural preview, a bundle whose jobs are defined in Python (the python section) or set only inside a target used to say it defines no jobs or pipelines. It now says "Jobs defined in Python may be missing: the inspector doesn't run bundle code." or "Jobs set inside the dev and prod targets may be missing until you pick one.", naming the targets that hold them.
  • A job parameter wins over a task parameter with the same name (#537). Databricks gives the notebook or SQL file the job parameter's value, but the task details showed the task's own value, with "TASK DEFAULT" and a task-to-notebook flow. They now show the job parameter's value, "JOB PARAM WINS" and a job-to-notebook flow, and Copy review says "job parameter". A task value that names another job parameter, such as {{job.parameters.stage}}, now shows that parameter's default.
  • A pipeline glob Databricks refuses, such as ../src/dlt/* or ../src/dlt/*.sql, is now an error (#530). bundle validate passes it, and deploy fails with "Single asterisk glob pattern is not supported": the only wildcard Databricks takes is a trailing /**. The finding says Did you mean "../src/dlt/**"?, with a quick fix. A folder/* glob was treated as valid before.
  • A pipeline glob whose files are all left out of the upload gets "Not deployed" (#526). When .gitignore or sync.exclude leaves out every file under include: ../src/dlt/**, deploy uploads nothing there, and the pipeline update fails with LIBRARY_FILE_NOT_FOUND. bundle validate and deploy pass. The warning names the rule and the sync.include pattern to add, such as src/dlt/**.
  • A wheel or JAR glob in a task's libraries, such as ../dist/*.whl, no longer gets "Missing local library" when a file matches it (#525). Deploy expands the glob and fails only when nothing matches, which the finding now says: ../dist/*.whl (no file matches). This also covers the inner task of a for_each task.
  • A library that deploy builds is no longer reported missing before it is built (#525). Deploy builds artifacts before it checks library files, so a fresh checkout of a bundle with artifacts, or a setup.py in its root, showed an error that deploy never gave.
  • A task with source: WORKSPACE and a relative path, in a job with git_source, is now an error (#524). The CLI rewrites no task path in such a job, so the path reaches Databricks as written, and deploy refuses it ("Only absolute paths are currently supported"), even when the file is on disk. bundle validate passes. This applies to notebook, Python file and SQL file tasks. Use a path from /Workspace, or remove source: WORKSPACE to read the path from the job's Git repository.
  • A task left with source: GIT after git_source is removed from its job is now an error, and its path is checked (#521). bundle validate passes, but deploy refuses the setting, for notebook, Python file and SQL file tasks. It was a warning, and only for notebooks. The path is now checked as a local file, as the CLI reads it, so a missing extension gets its "Did you mean".
  • A task in a job with git_source no longer gets "File not found" (#521). Its path is in the Git repo, which the CLI doesn't check, also when the task leaves source out.
  • With a real target, a pipeline glob whose folder doesn't exist now gets "Pipeline source folder has no files" (#520). bundle validate and deploy pass such a glob, and the pipeline fails when it runs. The glob was left as a workspace path and not checked; the structural preview already caught it.
  • A path written from the bundle root, in a file under resources/, is now reported as not found, as the Databricks CLI reports it (#518). The CLI reads a task, library or pipeline source path from the folder of the YAML file that writes it. The inspector also tried the bundle root, so src/etl.py in resources/job.yml showed no problem while bundle validate failed. For wheels and pipeline globs, which bundle validate doesn't check, the failure came only at deploy or when the pipeline ran. This often shows up after removing git_source from a job, as Git paths are read from the top of the repo. The finding now says Did you mean "../src/etl.py"?, adding the notebook extension when the path has none.
  • A resource key with a dot is an error, as deploy stops on it (#511). bundle validate accepts a key such as nightly.load, and bundle deploy then fails before it creates anything, with "Invalid resource name" or a Databricks CLI crash, on every CLI from v0.299.2 to v1.28.0. The finding, resource_key_has_dot, is on the key's line and suggests a key with _ instead that the bundle doesn't already use. Before, a job such as a.tasks.b could also hide behind task b of job a in the graph.
  • A resource with the key __proto__ is shown, no longer dropped without a word (#510). The Databricks CLI accepts the key and prints the resource, and the inspector lost it while reading the CLI's output, so the graph and the overview had nothing for it. Variables and targets with that name are kept too.
  • The inspection copes with two unusual bundle shapes found by stress testing (#508, #509). A task or pipeline path that points at a named pipe no longer leaves the inspection waiting, and a chain of thousands of variables that each refer to the next no longer stops it. Neither shape is expected in a real bundle.
  • Schedules say every limit on when a job runs (#506). The schedule in the job tooltip and the Copy review summaries could leave out the hours, days or month a schedule is limited to: 0 0/15 9-17 ? * MON-FRI read "Runs every 15 minutes". It now reads "Runs every 15 minutes, 09:00 to 17:45, every weekday (Mon–Fri)". A schedule that can't be said fully in words shows its cron expression instead.
  • On Linux, a resource file whose name differs only in letter case from an included one now gets its "not included" warning (#504). With only resources/JOB.yml included, resources/job.yml was treated as loaded too, although Linux keeps them as two files and the CLI loads one.
  • Selecting a task in a large job no longer redraws every task box (#500). A click redrew every box in the job three times. It now redraws only the boxes that change. In a 1,000-task job, selecting a task took about 290 ms and now takes about 70 ms; at 300 tasks, about 85 ms became 40 ms. Jobs with a few dozen tasks feel the same as before.

Security

  • Releases are built and published with less room for a hijacked npm package to interfere (#492). The jobs that publish to the Marketplace and Open VSX no longer run any package's install script. The job that runs the tests and builds the extension can no longer write to the repository; a separate job that installs nothing creates the GitHub release. Dependabot now waits 7 days before offering a new version, and the commit hook no longer needs lint-staged and its 24 packages. Nothing changes in the extension itself.
  • Names in the short Copy review summaries show as text: never a link, an image, HTML or an @mention that notifies someone (#486). The job and pipeline summaries pasted bundle, job, pipeline and task names, schedules and problem titles into the text as they were. They now escape them as the full reports do, and parameter names stay as code.