Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
### Bundles
* Added support for UC external locations (direct mode only) ([#4484](https://github.com/databricks/cli/pull/4484))
* Log artifact build output in debug mode ([#4208](https://github.com/databricks/cli/pull/4208))
* Fix bundle init not working in Azure Government ([#4286](https://github.com/databricks/cli/pull/4286))
* engine/direct: Replace server_side_default with more precise backend_default rule in bundle plan ([#4490](https://github.com/databricks/cli/pull/4490))

### Dependency updates

### Bundles
* Fix bundle init not working in Azure Government ([#4286](https://github.com/databricks/cli/pull/4286))
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
},
"tasks[task_key='ServerlessTestTask'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='ServerlessTestTask'].timeout_seconds": {
Expand All @@ -199,7 +199,7 @@
},
"tasks[task_key='TestTask'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='TestTask'].timeout_seconds": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Changes detected:
~ edition: null -> "ADVANCED"
~ libraries: [{"glob":{"include":"/Workspace/Users/someuser@databricks.com/lakeflow_pipeline/transformations/**"}},{"glob":{"include":"/Workspace/Users/foo@databricks.com/another/**"}}] -> [{"notebook":{"path":"/Workspace/Users/[USERNAME]/.bundle/test-pipeline-recreate-[UNIQUE_NAME]/default/files/nb"}}]
~ name: "lakeflow-pipeline-[UNIQUE_NAME]" -> "test-pipeline-[UNIQUE_NAME]"
~ root_path: "/Workspace/Users/someuser@databricks.com/lakeflow_pipeline" -> null
~ storage: "/Shared/old_storage" -> "/Shared/new_storage"

Error: This bind operation requires user confirmation, but the current console does not support prompting. Please specify --auto-approve if you would like to skip prompts and proceed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Changes detected:
~ edition: null -> "ADVANCED"
~ libraries: [{"glob":{"include":"/Workspace/Users/[USERNAME]/lakeflow_pipeline/transformations/**"}},{"glob":{"include":"/Workspace/Users/foo@databricks.com/another/**"}}] -> [{"notebook":{"path":"/Workspace/Users/[USERNAME]/.bundle/test-pipeline-recreate/default/files/nb"}}]
~ name: "lakeflow-pipeline" -> "test-pipeline"
~ root_path: "/Workspace/Users/[USERNAME]/lakeflow_pipeline" -> null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened here?

Copy link
Contributor Author

@denik denik Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is real change in this test (it was set on remote but not in the config), but it was NOT noticed before because server_side_default applied.


Error: This bind operation requires user confirmation, but the current console does not support prompting. Please specify --auto-approve if you would like to skip prompts and proceed.

10 changes: 4 additions & 6 deletions acceptance/bundle/invariant/no_drift/script
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ cat LOG.deploy | contains.py '!panic' '!internal error' > /dev/null
# Any failures after this point will be considered as "bug detected" by fuzzer.
echo INPUT_CONFIG_OK

$CLI bundle plan -o json &> plan.json
cat plan.json | contains.py '!panic' '!internal error' > /dev/null

# Check both text and JSON plan for no changes
# Note, expect that there maybe more than one resource unchanged
$CLI bundle plan | contains.py '!panic' '!internal error' 'Plan: 0 to add, 0 to change, 0 to delete' > LOG.plan
$CLI bundle plan -o json &> LOG.planjson
cat LOG.planjson | contains.py '!panic' '!internal error' > /dev/null
verify_no_drift.py LOG.planjson

$CLI bundle plan -o json > plan.json
verify_no_drift.py plan.json
$CLI bundle plan | contains.py '!panic' '!internal error' 'Plan: 0 to add, 0 to change, 0 to delete' > LOG.plan
8 changes: 4 additions & 4 deletions acceptance/bundle/migrate/basic/out.plan_update.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@
},
"tasks[task_key='main'].notebook_task.source": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "WORKSPACE"
},
"tasks[task_key='main'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='main'].timeout_seconds": {
Expand Down Expand Up @@ -202,7 +202,7 @@
},
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
},
"tags['myjob_name']": {
Expand Down Expand Up @@ -237,7 +237,7 @@
"changes": {
"storage_location": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "s3://deco-uc-prod-isolated-aws-us-east-1/metastore/[UUID]/volumes/[UUID]"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@
},
"tasks[task_key='notebook_task'].notebook_task.source": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "WORKSPACE"
},
"tasks[task_key='notebook_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='notebook_task'].timeout_seconds": {
Expand All @@ -268,7 +268,7 @@
},
"tasks[task_key='python_wheel_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='python_wheel_task'].timeout_seconds": {
Expand All @@ -283,7 +283,7 @@
},
"tasks[task_key='refresh_pipeline'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='refresh_pipeline'].timeout_seconds": {
Expand Down Expand Up @@ -342,7 +342,7 @@
"changes": {
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@
},
"tasks[task_key='notebook_task'].notebook_task.source": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "WORKSPACE"
},
"tasks[task_key='notebook_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='notebook_task'].timeout_seconds": {
Expand All @@ -268,7 +268,7 @@
},
"tasks[task_key='python_wheel_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='python_wheel_task'].timeout_seconds": {
Expand All @@ -283,7 +283,7 @@
},
"tasks[task_key='refresh_pipeline'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='refresh_pipeline'].timeout_seconds": {
Expand Down Expand Up @@ -342,7 +342,7 @@
"changes": {
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down
20 changes: 10 additions & 10 deletions acceptance/bundle/migrate/default-python/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ Building python_artifact...
},
"tasks[task_key='notebook_task'].notebook_task.source": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "WORKSPACE"
},
"tasks[task_key='notebook_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='notebook_task'].timeout_seconds": {
Expand All @@ -118,7 +118,7 @@ Building python_artifact...
},
"tasks[task_key='python_wheel_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='python_wheel_task'].timeout_seconds": {
Expand All @@ -133,7 +133,7 @@ Building python_artifact...
},
"tasks[task_key='refresh_pipeline'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='refresh_pipeline'].timeout_seconds": {
Expand All @@ -155,7 +155,7 @@ Building python_artifact...
{
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down Expand Up @@ -211,12 +211,12 @@ Building python_artifact...
},
"tasks[task_key='notebook_task'].notebook_task.source": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "WORKSPACE"
},
"tasks[task_key='notebook_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='notebook_task'].timeout_seconds": {
Expand All @@ -237,7 +237,7 @@ Building python_artifact...
},
"tasks[task_key='python_wheel_task'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='python_wheel_task'].timeout_seconds": {
Expand All @@ -252,7 +252,7 @@ Building python_artifact...
},
"tasks[task_key='refresh_pipeline'].run_if": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "ALL_SUCCESS"
},
"tasks[task_key='refresh_pipeline'].timeout_seconds": {
Expand All @@ -274,7 +274,7 @@ Building python_artifact...
{
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
2 changes: 1 addition & 1 deletion acceptance/bundle/migrate/runas/out.plan.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"changes": {
"run_as": {
"action": "skip",
"reason": "not_returned_by_api",
"reason": "input_only",
"old": {
"service_principal_name": "[UUID]"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"changes": {
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down Expand Up @@ -57,7 +57,7 @@
"changes": {
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down Expand Up @@ -89,7 +89,7 @@
"changes": {
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down Expand Up @@ -121,7 +121,7 @@
"changes": {
"storage": {
"action": "skip",
"reason": "server_side_default",
"reason": "backend_default",
"remote": "dbfs:/pipelines/[UUID]"
}
}
Expand Down
Loading