Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 07:15
· 96 commits to main since this release
Immutable release. Only release title and notes can be modified.
9b139d3

Added

  • A bundle with no jobs and no pipelines opens on a bundle overview (#377). Every resource in the bundle is a box, in two columns: what runs or shows data, and the compute, secrets and data those use. A line joins two boxes where the bundle's settings link them. Click a box to see where it is defined and what it is linked to. Resource types the inspector has no checks for are marked "not checked yet". Before, the panel only named the resource groups.
  • Find and filter on the bundle overview (#377). The header's search box finds resources by name on the overview, lighting up the matches and what they link to. Issues keeps only the resources with a problem and what they link to. In every group, resources with errors come first, then those with warnings.
  • A "Uses" row above the job graph shows the SQL warehouses, clusters and secret scopes the job uses (#363). Each chip says how many tasks use it, so tasks sharing a warehouse are visible without clicking a task. A solid chip is defined in the bundle; a dashed one is named by a variable or an ID, is a secret scope from outside the bundle, or is the serverless default. Pointing at a chip lights up its tasks; clicking keeps them lit. The graph itself is unchanged.
  • Warns when a SQL file reads a :name parameter its task doesn't pass (#234). A SQL file task fills :catalog-style markers from its sql_task.parameters and the job's parameters; one neither passes deploys fine and fails the run with UNBOUND_SQL_PARAMETER. New code sql_parameter_not_set, with a "Did you mean" when a passed name is close. Casts, JSON paths, comments and strings are not counted.
  • Warns when code or task parameters write the name of a bundle schema that a target renames (#235). Development mode and presets.name_prefix deploy every bundle schema under a prefixed name, such as dev_<you>_sales, while a name written in a notebook, a SQL file or a task parameter stays as it is. Deploy succeeds, then the run fails with SCHEMA_NOT_FOUND, or reads and writes a different schema of the same name, such as production's. New code schema_renamed_in_target, pointing at ${resources.schemas.<key>.name} as the fix.
  • Two files that deploy to the same workspace path are reported (#370). A notebook loses its file extension when deployed, so notebooks src/load.py and src/load.sql, or a notebook src/load.py and a plain file src/load, both become src/load. bundle validate passes and bundle deploy stops with "point to the same remote file location". A notebook next to a folder of the same name fails the same way. The new same_workspace_path error names both files. Files .gitignore or sync.exclude leave out don't count, and it isn't checked when sync.paths is set. Checked by deploying one bundle per case.

Changed

  • Every bundle opens on the bundle overview (#377). Before, a bundle with jobs opened on its first job. Each job and pipeline box has an Open link to its graph, and the arrow beside the bundle name goes back to the overview with your selection kept. The picker lists Bundle overview above the jobs and pipelines. From a resource file, the graph still opens on the job or pipeline under your cursor.
  • The bundle overview keeps its place, and fits a narrow or short panel (#377). Coming back from a job or pipeline, the overview is scrolled where you left it, with the groups you opened still open. In a narrow panel it uses less margin and draws no lines, and the header's search box shows only its icon instead of a cut-off hint. In a short panel, a resource's details take at most part of it and scroll inside.
  • Types are named in Databricks' words, not short codes (#400). Task boxes, the Uses row, the bundle overview and the pipeline view showed codes the inspector made up (NB, PY, J, WH, C, S…), and If/else and For each tasks showed the same J as Run Job. Each item now has a small dot in its type's colour and its type in words: "Notebook · notebooks/ingest", "If/else", "SQL warehouse · 3 tasks". Serverless or inherited compute is called compute, not a cluster.
  • Issues is dimmed when there is nothing to filter (#390). On a bundle or job with no problems, Issues can't be pressed, and pointing at it says "No problems found". Opening the graph from the status bar on such a bundle shows All, instead of an empty bundle overview.
  • Pressing Issues again closes its list (#390), as the x on the list does. The view stays on Issues, and another press opens the list again. Before, a second press kept the list open.

Fixed

  • Bundle overview: long names in the details, and focus under Issues (#395). A very long resource name in a resource's Uses or Used by list no longer scrolls the details sideways; the name is cut short and shown in full on hover. A box with keyboard focus that Issues filters out no longer leaves every other box faded.
  • Bundle overview: details, search and focus in edge cases (#395). In a wide panel, a resource's details now sit beside the boxes instead of pushing them out of view. Searching a type, such as "cluster", lights its boxes, and a search lights its matches even with a box selected. A search result picked from the list comes into view, and stays shown under Issues. Removing the resource that has keyboard focus no longer fades every other box. A long file name in the details wraps instead of scrolling sideways.
  • Task boxes show every problem, in the right colour (#393). A for-each task whose inner task has a missing file now has a red border, like other tasks with missing files. A task with only warnings has an amber border and a count. The tasks' counts now add up to the Issues count. Before, a box only counted missing files, libraries and variables, so warnings such as a git source never showed on it.
  • A pipeline's "Defined in" line is the line its name is on (#377). It was the line of the pipeline's first setting, one line lower in most files.
  • Files bundle deploy skips are reported with a real target picked, not only in the preview (#374). The Databricks CLI fills in sync.paths: ["."] when the bundle sets none, and the inspector read any sync.paths as a different sync root, so with a real target the excluded_from_sync warning never appeared. It now only stops checking when sync.paths reaches outside the bundle folder.
  • Symbolic links are reported as not deployed (#372). bundle deploy skips symbolic links, so a task, %run or dbutils.notebook.run that points at a linked notebook, or at a file in a linked folder, deploys and then fails when the job runs with "Unable to access the notebook" or "Notebook not found". The inspector followed the link to the real file and said nothing. These paths now get the excluded_from_sync warning, which says the path is a symbolic link. Checked by deploying a bundle and running its job.