Repository navigation
for_each_task checks on databricks bundle validate - #4104
idelafuente-oc wants to merge 8 commits into
Conversation
|
Hi @idelafuente-oc ! Thanks for the PR! Contributing to Databricks CLI requires you to sign a CLA If that's something you're okay with, please send a request to sign the CLA to [email protected], and we'll take it from there. Thank you! |
Hello @andrewnester! Since the CLA has been completed, is this good to be reviewed? I added a commit with a small change for a few lines that the gh linter was complaining about. Thank you! |
|
Thank you for the feedback @andrewnester, Is there anything missing to merge this? |
andrewnester
left a comment
There was a problem hiding this comment.
The branch is based on a February main (about 2000 commits behind). On current main the acceptance matrix is DMS instead of DATABRICKS_BUNDLE_ENGINE, so the three out.test.toml files will not match after a rebase, and user-visible changes now need a fragment under .nextchanges/bundles/ (see .nextchanges/README.md). Can you rebase, re-run ./task test-update for these tests, and add the fragment?
Clarify API-backed retry diagnostics, use field-level locations, consolidate acceptance coverage, and add a changelog fragment. Co-authored-by: Copilot <[email protected]>
b7ebe59 to
dd98f35
Compare
|
Rebased onto upstream main at 7ac220c and pushed review fixes in dd98f35.
Validation passed:
The full repository test suite was not run. |
Sort retry diagnostics by configuration path and describe unsupported or ineffective settings in their summaries. Co-authored-by: Copilot <[email protected]>
andrewnester
left a comment
There was a problem hiding this comment.
The two remaining comments above are nits; everything from the earlier rounds is addressed. Approving.
|
@andrewnester FYI, I already signed the CLA last year when I originally opened this 😄 |
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Closes: #3977
Changes
Adds to the
databricks bundle validatethe ability to detect properties wrongly added to the parent task in for_each_task.Currently it checks for:
Can easily be extended to other configs with it's custom check.
Why
Currently
databricks bundle validatedoesn't detect this kind of issues, only on deployment this error was thrown. I think it's a good idea to add to the validate logic this typos of checks to prevent issues early on.Tests
I have tested this changes by building the wheel locally with the changes implemented, here is the output of a validate run over code with the issue:

I also added the unit tests for this.