databricks-vscode
databricks-vscode copied to clipboard
The JSON schema feature for DABs is unreliable
Describe the bug The extension feature of loading DABs JSON schema for bundle configuration files is unreliable.
- For databricks.yml files sometimes it works, sometimes it does not.
- For other files (i.e. those specified in the
include
block) glob patterns do not work. That isinclude: resources.yml
will load the JSON schema for theresouces.yml
file, butinclude: *.yml
does not do so.
To Reproduce For issue (1) Create a databricks.yml file in your current working directory. I'd expect autocomplete and validation via JSON schema to work, but it does not work all the time. Maybe it just takes a while to load sometimes.
For issue (2) Steps to reproduce the behavior:
- Create a databricks.yml file
- Add
include: *.yml
to the file - Create
resources.yml
in the same directory.
I'd now expect to get DABs autocomplete and validation features resources.yml
System information:
Version: 1.92.2 (Universal)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z (1 wk ago)
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.4.0
Databricks extension version: v2.0.0