Skip to content

direct: treat a missing cluster's 400 "does not exist" as not found - #8068

Merged
denik merged 7 commits into
mainfrom
direct-cluster-missing-400
Nov 26, 2026
Merged

denik merged 7 commits into
mainfrom
direct-cluster-missing-400

Conversation

@denik

@denik denik commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Changes

ResourceCluster.DoRead ran clusters/get and libraries/cluster-status concurrently through an errgroup and returned whichever error came first. For a deleted cluster the backend answers both, and clusters/permanent-delete, with 400 INVALID_PARAMETER_VALUE "Cluster does not exist". The Go SDK maps only the clusters/get answer to ErrResourceDoesNotExist. When the library-status error came first, the plan warned about a read failure and kept the delete, permanent-delete failed with 400, and the re-read in deleteConfirmedGone lost the same race, so the command failed. Since #7931 that delete error fails bundle deploy / bundle destroy instead of dropping the entry from state, so the race now shows up as flaky failures.

  • DoRead: the cluster GET error takes precedence, and the library read is cancelled once the cluster GET failed (as the errgroup did before). A deleted cluster now always reads as not found, so the plan drops it without a delete; a delete that still hits an already-deleted cluster (saved plan, deleted after planning) is confirmed gone by the existing re-read in deleteConfirmedGone.
  • libs/testserver: clusters/get, libraries/cluster-status and permanent-delete for a missing cluster return the cloud's 400 (was 404 / success). One golden changes: bundle/migrate/auto/artifacts now shows the cloud's message instead of "Not Found".

Why

Dashboard: error/598, first seen on main on 2026-11-26 after #7931, on AWS, Azure and GCP:

Error: cannot delete resources.clusters.[NAME]: deleting id=[ID]: Cluster [ID] does not exist (400 INVALID_PARAMETER_VALUE)

Tests:

Tests

  • New bundle/resources/clusters/deleted-out-of-band: the state points at a cluster that no longer exists, and a clusters/get stub answers the 400 after 300ms, so the library-status 400 always comes first. bundle destroy and a deploy that removes the cluster both fail on main with the error above; they pass here.
  • New bundle/resources/clusters/deleted-out-of-band-plan (no stub): a cluster deleted out of band and still in config is created again; a saved-plan delete of a cluster deleted after the plan sends permanent-delete, gets the 400, and deleteConfirmedGone drops the state entry (with its existing warning; direct: don't warn when a retried delete finds the resource gone #8046 moves that warning to debug).
  • A unit test that the library read is cancelled once the cluster GET failed (main's errgroup did that too; it guards the new code).
  • The cloud run (commit message) reruns both invariants on every cloud.

Gaps and risks

  • The 400 responses were checked on AWS only. The cloud run of the invariants covers the read path on Azure and GCP; no cloud test sends permanent-delete for a missing cluster, so the fake's 400 there rests on the AWS check (the CLI drops the state entry whatever that call returns, since the re-read decides). Follow-up: make deleted-out-of-band-plan a cloud test.
  • A cluster deleted between the two concurrent GETs (cluster GET succeeds, library status says it does not exist) still fails that plan once with a read error; the next command reads it as not found. No message matching is added for it (AGENTS.md rules out branching on error text).
  • Overlaps with direct: don't warn when a retried delete finds the resource gone #8046 (open) in purpose only: that PR logs the deleteConfirmedGone fallback at debug level; this PR relies on that fallback for the saved-plan case. No shared lines.
  • Risk: medium (deploy/destroy path, concurrency in DoRead).

🤖 AI agent (opus5.5, isaac_claude)

This pull request and its description were written by Isaac.

denik and others added 4 commits November 26, 2026 15:26
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
…400, exercise destroy and saved-plan delete

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Nov 26, 2026
cloud: TestAccept/bundle/invariant/delete_idempotent TestAccept/bundle/invariant/destroy_idempotent

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: a51930575 | Workflow run

Selected 3 changed tests (limit=20, 0 not selected)

272 tests: regression=7 unreleased=0 coverage=265 failing=0
test branch main (7a48abb) latest (v1.28.0)
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=alert.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=alert.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=app.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=app.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=catalog.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=catalog.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=catalog_optional_fields.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=catalog_optional_fields.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ✅ ❌ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_policy.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_policy.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=dashboard.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=dashboard.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=data_quality_monitor.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=data_quality_monitor.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=database_catalog.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=database_catalog.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=database_instance.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=database_instance.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=experiment.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=experiment.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=external_location.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=external_location.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=feature.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=feature.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=feature_spec.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=feature_spec.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=genie_space.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=genie_space.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=instance_pool.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=instance_pool.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_cross_resource_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_cross_resource_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_escaped_refs.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_escaped_refs.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_permission_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_permission_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_pydabs_1000_tasks.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_pydabs_1000_tasks.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_pydabs_10_tasks.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_pydabs_10_tasks.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_run.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_run.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_run_job_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_run_job_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_table_update_trigger.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_table_update_trigger.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_depends_on.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_depends_on.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_service.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_service.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint_telemetry.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint_telemetry.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_with_permissions.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_with_permissions.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline_allow_duplicate_names.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline_allow_duplicate_names.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline_apply_policy_default_values.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline_apply_policy_default_values.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline_config_dots.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=pipeline_config_dots.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_branch.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_branch.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_catalog.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_catalog.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_data_api.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_data_api.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_database.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_database.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_endpoint.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_endpoint.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_project.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_project.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_role.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_role.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_synced_table.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=postgres_synced_table.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=registered_model.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=registered_model.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_empty_grants.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_empty_grants.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_grant_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_grant_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_tf_compat.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_tf_compat.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_uppercase_name.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=schema_uppercase_name.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=secret.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=secret.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=secret_scope.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=secret_scope.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=secret_scope_default_backend_type.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=secret_scope_default_backend_type.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=sql_warehouse.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=sql_warehouse.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=synced_database_table.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=synced_database_table.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=uc_trailing_slash.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=uc_trailing_slash.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_endpoint.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_endpoint.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume_external.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume_external.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume_path_job_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume_path_job_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume_uppercase_name.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=volume_uppercase_name.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=alert.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=alert.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=app.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=app.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=catalog.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=catalog.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=catalog_optional_fields.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=catalog_optional_fields.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ✅ ❌ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ✅ ❌ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_policy.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_policy.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=dashboard.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=dashboard.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=data_quality_monitor.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=data_quality_monitor.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=database_catalog.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=database_catalog.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=database_instance.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=database_instance.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=experiment.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=experiment.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=external_location.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=external_location.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=feature.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=feature.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=feature_spec.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=feature_spec.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=genie_space.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=genie_space.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=instance_pool.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=instance_pool.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_for_each_task.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_job_cluster.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_apply_policy_default_values_task_cluster.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_cross_resource_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_cross_resource_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_escaped_refs.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_escaped_refs.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_permission_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_permission_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_pydabs_1000_tasks.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_pydabs_1000_tasks.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_pydabs_10_tasks.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_pydabs_10_tasks.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_run.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_run.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_run_job_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_run_job_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_table_update_trigger.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_table_update_trigger.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_with_depends_on.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_with_depends_on.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=job_with_task.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_service.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_service.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint_telemetry.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_serving_endpoint_telemetry.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_with_permissions.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=model_with_permissions.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline_allow_duplicate_names.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline_allow_duplicate_names.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline_apply_policy_default_values.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline_apply_policy_default_values.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline_config_dots.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=pipeline_config_dots.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_branch.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_branch.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_catalog.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_catalog.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_data_api.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_data_api.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_database.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_database.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_endpoint.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_endpoint.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_project.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_project.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_role.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_role.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_synced_table.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=postgres_synced_table.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=registered_model.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=registered_model.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_empty_grants.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_empty_grants.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_grant_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_grant_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_tf_compat.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_tf_compat.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_uppercase_name.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=schema_uppercase_name.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=secret.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=secret_scope.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=secret_scope.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=secret_scope_default_backend_type.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=secret_scope_default_backend_type.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=sql_warehouse.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=sql_warehouse.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=synced_database_table.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=synced_database_table.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=uc_trailing_slash.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=uc_trailing_slash.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=vector_search_endpoint.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=vector_search_endpoint.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume_external.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume_external.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume_path_job_ref.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume_path_job_ref.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume_uppercase_name.yml.tmpl/READPLAN= ✅ ✅ ✅
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=volume_uppercase_name.yml.tmpl/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/migrate/auto/artifacts/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/clusters/deleted-out-of-band-plan/DMS= ✅ ❌ ✅
TestAccept/bundle/resources/clusters/deleted-out-of-band-plan/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/clusters/deleted-out-of-band/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/clusters/deleted-out-of-band/DMS=true ✅ ❌ ❌
TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=: branch ✅ | main (7a48abb) ❌ | latest (v1.28.0) ✅

main (7a48abb):

acceptance_test.go:1402: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1402
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1143
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:704
        	Error:      	Not equal: 
        	            	expected: "INPUT_CONFIG_OK\n"
        	            	actual  : "INPUT_CONFIG_OK\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2 +2,3 @@
        	            	 
        	            	+Exit code: 1
        	            	+
        	Test:       	TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
        	Messages:   	bundle/invariant/delete_idempotent/output.txt vs /tmp/TestAcceptbundleinvariantdelete_idempotentDMS=INPUT_CONFIG=1696863467/002/output.txt
    acceptance_test.go:1180: 
        LOG.config: bundle:
        LOG.config:   name: test-bundle-xbfcuvy7hzb23iywrbfj42miue
        LOG.config: 
        LOG.config: resources:
        LOG.config:   clusters:
        LOG.config:     foo:
        LOG.config:       cluster_name: test-cluster-xbfcuvy7hzb23iywrbfj42miue
        LOG.config:       spark_version: 13.3.x-scala2.12
        LOG.config:       node_type_id: i3.xlarge
        LOG.config:       instance_pool_id: 0123-456789-pool0
        LOG.config:       num_workers: 1
        LOG.config:       libraries:
        LOG.config:         - pypi:
        LOG.config:             package: requests
    acceptance_test.go:1180: LOG.cp: 
    acceptance_test.go:1180: 
        LOG.deploy_delete: 
        LOG.deploy_delete: >>> /tmp/TestAccept865074703/001/databricks bundle deploy --auto-approve
        LOG.deploy_delete: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/test-bundle-xbfcuvy7hzb23iywrbfj42miue/default/files...
        LOG.deploy_delete: Deleted clusters.foo
        LOG.deploy_delete: Files: 3 uploaded, 0 deleted
        LOG.deploy_delete: Resources: 0 created, 0 changed, 1 deleted, 0 unchanged
    acceptance_test.go:1180: 
        LOG.deploy_delete2: 
        LOG.deploy_delete2: >>> /tmp/TestAccept865074703/001/databricks bundle deploy --auto-approve
        LOG.deploy_delete2: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/test-bundle-xbfcuvy7hzb23iywrbfj42miue/default/files...
        LOG.deploy_delete2: Warn: planning resources.clusters.foo: reading resources.clusters.foo id="7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd": Cluster 7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd does not exist
        LOG.deploy_delete2: Error: cannot delete resources.clusters.foo: deleting id=7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd: Cluster 7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd does not exist (400 INVALID_PARAMETER_VALUE)
        LOG.deploy_delete2: 
        LOG.deploy_delete2: Endpoint: POST http://127.0.0.1:39601/api/2.1/clusters/permanent-delete
        LOG.deploy_delete2: HTTP Status: 400 Bad Request
        LOG.deploy_delete2: API error_code: INVALID_PARAMETER_VALUE
        LOG.deploy_delete2: API message: Cluster 7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd does not exist
        LOG.deploy_delete2: 
        LOG.deploy_delete2: Files: 5 uploaded, 0 deleted
    acceptance_test.go:1180: 
        LOG.deploy_initial: 
        LOG.deploy_initial: >>> /tmp/TestAccept865074703/001/databricks bundle deploy
        LOG.deploy_initial: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/test-bundle-xbfcuvy7hzb23iywrbfj42miue/default/files...
        LOG.deploy_initial: Created clusters.foo
        LOG.deploy_initial: Files: 12 uploaded, 0 deleted
        LOG.deploy_initial: Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
    acceptance_test.go:1180: 
        LOG.destroy: 
        LOG.destroy: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy: Warn: planning resources.clusters.foo: reading resources.clusters.foo id="7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd": Cluster 7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd does not exist
        LOG.destroy: The following resources will be deleted:
        LOG.destroy:   delete resources.clusters.foo
        LOG.destroy: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-xbfcuvy7hzb23iywrbfj42miue/default
        LOG.destroy: 
        LOG.destroy: Error: cannot delete resources.clusters.foo: deleting id=7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd: Cluster 7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd does not exist (400 INVALID_PARAMETER_VALUE)
        LOG.destroy: 
        LOG.destroy: Endpoint: POST http://127.0.0.1:39601/api/2.1/clusters/permanent-delete
        LOG.destroy: HTTP Status: 400 Bad Request
        LOG.destroy: API error_code: INVALID_PARAMETER_VALUE
        LOG.destroy: API message: Cluster 7a10ab2c-7e1f-1f03-7a10-ab2c7e1f1ffd does not exist
    acceptance_test.go:1180: LOG.wipe_remote_state:
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=: branch ✅ | main (7a48abb) ❌ | latest (v1.28.0) ✅

main (7a48abb):

acceptance_test.go:1402: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1402
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1143
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:704
        	Error:      	Not equal: 
        	            	expected: "INPUT_CONFIG_OK\n"
        	            	actual  : "INPUT_CONFIG_OK\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2 +2,3 @@
        	            	 
        	            	+Exit code: 1
        	            	+
        	Test:       	TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
        	Messages:   	bundle/invariant/destroy_idempotent/output.txt vs /tmp/TestAcceptbundleinvariantdestroy_idempotentDMS=INPUT_CONFIG2065013652/002/output.txt
    acceptance_test.go:1180: 
        LOG.config: bundle:
        LOG.config:   name: test-bundle-wf7h52bhlzga5levqgju7cefni
        LOG.config: 
        LOG.config: resources:
        LOG.config:   clusters:
        LOG.config:     foo:
        LOG.config:       cluster_name: test-cluster-wf7h52bhlzga5levqgju7cefni
        LOG.config:       spark_version: 13.3.x-scala2.12
        LOG.config:       node_type_id: i3.xlarge
        LOG.config:       instance_pool_id: 0123-456789-pool0
        LOG.config:       num_workers: 1
        LOG.config:       apply_policy_default_values: true
    acceptance_test.go:1180: LOG.cp: 
    acceptance_test.go:1180: 
        LOG.deploy_initial: 
        LOG.deploy_initial: >>> /tmp/TestAccept865074703/001/databricks bundle deploy
        LOG.deploy_initial: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/test-bundle-wf7h52bhlzga5levqgju7cefni/default/files...
        LOG.deploy_initial: Created clusters.foo
        LOG.deploy_initial: Files: 12 uploaded, 0 deleted
        LOG.deploy_initial: Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
    acceptance_test.go:1180: 
        LOG.destroy: 
        LOG.destroy: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-wf7h52bhlzga5levqgju7cefni/default
        LOG.destroy: 
        LOG.destroy: Destroy: 0 deleted
    acceptance_test.go:1180: 
        LOG.destroy1: 
        LOG.destroy1: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy1: The following resources will be deleted:
        LOG.destroy1:   delete resources.clusters.foo
        LOG.destroy1: 
        LOG.destroy1: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-wf7h52bhlzga5levqgju7cefni/default
        LOG.destroy1: 
        LOG.destroy1: Destroy: 1 deleted
    acceptance_test.go:1180: 
        LOG.destroy2: 
        LOG.destroy2: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy2: Warn: planning resources.clusters.foo: reading resources.clusters.foo id="7a10ab40-1dfd-a364-7a10-ab401dfda455": Cluster 7a10ab40-1dfd-a364-7a10-ab401dfda455 does not exist
        LOG.destroy2: The following resources will be deleted:
        LOG.destroy2:   delete resources.clusters.foo
        LOG.destroy2: 
        LOG.destroy2: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-wf7h52bhlzga5levqgju7cefni/default
        LOG.destroy2: 
        LOG.destroy2: Error: cannot delete resources.clusters.foo: deleting id=7a10ab40-1dfd-a364-7a10-ab401dfda455: Cluster 7a10ab40-1dfd-a364-7a10-ab401dfda455 does not exist (400 INVALID_PARAMETER_VALUE)
        LOG.destroy2: 
        LOG.destroy2: Endpoint: POST http://127.0.0.1:45437/api/2.1/clusters/permanent-delete
        LOG.destroy2: HTTP Status: 400 Bad Request
        LOG.destroy2: API error_code: INVALID_PARAMETER_VALUE
        LOG.destroy2: API message: Cluster 7a10ab40-1dfd-a364-7a10-ab401dfda455 does not exist
    acceptance_test.go:1180: LOG.mkdirs:
TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1: branch ✅ | main (7a48abb) ❌ | latest (v1.28.0) ✅

main (7a48abb):

acceptance_test.go:1402: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1402
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1143
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:704
        	Error:      	Not equal: 
        	            	expected: "INPUT_CONFIG_OK\n"
        	            	actual  : "INPUT_CONFIG_OK\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2 +2,3 @@
        	            	 
        	            	+Exit code: 1
        	            	+
        	Test:       	TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
        	Messages:   	bundle/invariant/destroy_idempotent/output.txt vs /tmp/TestAcceptbundleinvariantdestroy_idempotentDMS=INPUT_CONFIG3674878126/002/output.txt
    acceptance_test.go:1180: 
        LOG.config: bundle:
        LOG.config:   name: test-bundle-3z4td6yburdw7o3o3hrnts2ira
        LOG.config: 
        LOG.config: resources:
        LOG.config:   clusters:
        LOG.config:     foo:
        LOG.config:       cluster_name: test-cluster-3z4td6yburdw7o3o3hrnts2ira
        LOG.config:       spark_version: 13.3.x-scala2.12
        LOG.config:       node_type_id: i3.xlarge
        LOG.config:       instance_pool_id: 0123-456789-pool0
        LOG.config:       num_workers: 1
        LOG.config:       apply_policy_default_values: true
    acceptance_test.go:1180: LOG.cp: 
    acceptance_test.go:1180: 
        LOG.deploy_initial: 
        LOG.deploy_initial: >>> /tmp/TestAccept865074703/001/databricks bundle deploy --plan plan_initial.json
        LOG.deploy_initial: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/test-bundle-3z4td6yburdw7o3o3hrnts2ira/default/files...
        LOG.deploy_initial: Created clusters.foo
        LOG.deploy_initial: Files: 14 uploaded, 0 deleted
        LOG.deploy_initial: Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
    acceptance_test.go:1180: 
        LOG.destroy: 
        LOG.destroy: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-3z4td6yburdw7o3o3hrnts2ira/default
        LOG.destroy: 
        LOG.destroy: Destroy: 0 deleted
    acceptance_test.go:1180: 
        LOG.destroy1: 
        LOG.destroy1: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy1: The following resources will be deleted:
        LOG.destroy1:   delete resources.clusters.foo
        LOG.destroy1: 
        LOG.destroy1: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-3z4td6yburdw7o3o3hrnts2ira/default
        LOG.destroy1: 
        LOG.destroy1: Destroy: 1 deleted
    acceptance_test.go:1180: 
        LOG.destroy2: 
        LOG.destroy2: >>> /tmp/TestAccept865074703/001/databricks bundle destroy --auto-approve
        LOG.destroy2: Warn: planning resources.clusters.foo: reading resources.clusters.foo id="7a10ab40-156a-fa77-7a10-ab40156afbad": Cluster 7a10ab40-156a-fa77-7a10-ab40156afbad does not exist
        LOG.destroy2: The following resources will be deleted:
        LOG.destroy2:   delete resources.clusters.foo
        LOG.destroy2: 
        LOG.destroy2: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-3z4td6yburdw7o3o3hrnts2ira/default
        LOG.destroy2: 
        LOG.destroy2: Error: cannot delete resources.clusters.foo: deleting id=7a10ab40-156a-fa77-7a10-ab40156afbad: Cluster 7a10ab40-156a-fa77-7a10-ab40156afbad does not exist (400 INVALID_PARAMETER_VALUE)
        LOG.destroy2: 
        LOG.destroy2: Endpoint: POST http://127.0.0.1:41265/api/2.1/clusters/permanent-delete
        LOG.destroy2: HTTP Status: 400 Bad Request
        LOG.destroy2: API error_code: INVALID_PARAMETER_VALUE
        LOG.destroy2: API message: Cluster 7a10ab40-156a-fa77-7a10-ab40156afbad does not exist
    acceptance_test.go:1180: LOG.mkdirs: 
    acceptance_test.go:1180: LOG.plan_initial.err:
TestAccept/bundle/resources/clusters/deleted-out-of-band-plan/DMS=: branch ✅ | main (7a48abb) ❌ | latest (v1.28.0) ✅

main (7a48abb):

acceptance_test.go:1402: Diff:
        --- bundle/resources/clusters/deleted-out-of-band-plan/output.txt
        +++ /tmp/TestAcceptbundleresourcesclustersdeleted-out-of-band-planDM437852677/002/output.txt
        @@ -32,19 +32,13 @@
         
         >>> [CLI] bundle deploy --plan plan.json --auto-approve
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Warn: destroying resources.clusters.foo: Treating resources.clusters.foo id=[FOO_ID_2] as already deleted despite delete error: Cluster [FOO_ID_2] does not exist
        -Deleted clusters.foo
        -Files: 3 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 1 deleted, 0 unchanged
        +Error: cannot delete resources.clusters.foo: deleting id=[FOO_ID_2]: Cluster [FOO_ID_2] does not exist (400 INVALID_PARAMETER_VALUE)
         
        ->>> print_state.py
        -[]
        +Endpoint: POST [DATABRICKS_URL]/api/2.1/clusters/permanent-delete
        +HTTP Status: 400 Bad Request
        +API error_code: INVALID_PARAMETER_VALUE
        +API message: Cluster [FOO_ID_2] does not exist
         
        ->>> print_requests.py //clusters
        -{
        -  "method": "POST",
        -  "path": "/api/2.1/clusters/permanent-delete",
        -  "body": {
        -    "cluster_id": "[FOO_ID_2]"
        -  }
        -}
        +Files: 3 uploaded, 0 deleted
        +
        +Exit code: 1
        
    acceptance_test.go:1180: 
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace-files/import-file/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/state/deploy.lock",
        LOG.requests_deploy:   "q": {
        LOG.requests_deploy:     "overwrite": "false"
        LOG.requests_deploy:   },
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "ID": "d477af60-e28c-4bf6-9573-6cdb2ec17216",
        LOG.requests_deploy:     "AcquisitionTime": "2026-11-26T18:38:03.997689452Z",
        LOG.requests_deploy:     "IsForced": false,
        LOG.requests_deploy:     "User": "tester@databricks.com"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace/mkdirs",
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "path": "/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/state"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace-files/import-file/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/state/deploy.lock",
        LOG.requests_deploy:   "q": {
        LOG.requests_deploy:     "overwrite": "false"
        LOG.requests_deploy:   },
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "ID": "d477af60-e28c-4bf6-9573-6cdb2ec17216",
        LOG.requests_deploy:     "AcquisitionTime": "2026-11-26T18:38:03.997689452Z",
        LOG.requests_deploy:     "IsForced": false,
        LOG.requests_deploy:     "User": "tester@databricks.com"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace/delete",
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "path": "/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/artifacts/.internal",
        LOG.requests_deploy:     "recursive": true
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace/mkdirs",
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "path": "/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/artifacts/.internal"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace/mkdirs",
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "path": "/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/files"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace-files/import-file/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/files/databricks.yml",
        LOG.requests_deploy:   "q": {
        LOG.requests_deploy:     "overwrite": "true"
        LOG.requests_deploy:   },
        LOG.requests_deploy:   "raw_body": "bundle:\n  name: test-bundle\n\nresources:\n  clusters:\n    foo:\n      cluster_name: foo\n      spark_version: 13.3.x-scala2.12\n      node_type_id: i3.xlarge\n      num_workers: 1\n"
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace-files/import-file/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/state/deployment.json",
        LOG.requests_deploy:   "q": {
        LOG.requests_deploy:     "overwrite": "true"
        LOG.requests_deploy:   },
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "version": 1,
        LOG.requests_deploy:     "seq": 1,
        LOG.requests_deploy:     "cli_version": "1.29.0-dev",
        LOG.requests_deploy:     "timestamp": "2026-11-26T18:38:04.012629072Z",
        LOG.requests_deploy:     "files": [
        LOG.requests_deploy:       {
        LOG.requests_deploy:         "local_path": "databricks.yml",
        LOG.requests_deploy:         "is_notebook": false
        LOG.requests_deploy:       }
        LOG.requests_deploy:     ],
        LOG.requests_deploy:     "id": "3747354f-c3b7-4a56-b3b0-94f004705aa2"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.1/clusters/create",
        LOG.requests_deploy:   "body": {
        LOG.requests_deploy:     "autotermination_minutes": 60,
        LOG.requests_deploy:     "cluster_name": "foo",
        LOG.requests_deploy:     "node_type_id": "i3.xlarge",
        LOG.requests_deploy:     "num_workers": 1,
        LOG.requests_deploy:     "spark_version": "13.3.x-scala2.12"
        LOG.requests_deploy:   }
        LOG.requests_deploy: }
        LOG.requests_deploy: {
        LOG.requests_deploy:   "method": "POST",
        LOG.requests_deploy:   "path": "/api/2.0/workspace-files/import-file/Workspace/Users/tester@databricks.com/.bundle/test-bundle/default/state/resources.json",
        LOG.requests_deploy:   "q": {
        LOG.requests_deploy:     "overwrite": "true"
        LOG.requests_deploy:   },
        LOG.requests_deploy: ... (64 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)
    acceptance_test.go:1180: 
        LOG.requests_oob_delete: {
        LOG.requests_oob_delete:   "method": "POST",
        LOG.requests_oob_delete:   "path": "/api/2.1/clusters/permanent-delete",
        LOG.requests_oob_delete:   "body": {
        LOG.requests_oob_delete:     "cluster_id": "7a10ab2d-7844-aefb-7a10-ab2d7844b009"
        LOG.requests_oob_delete:   }
        LOG.requests_oob_delete: }
    acceptance_test.go:1180: 
        LOG.requests_plan: {
        LOG.requests_plan:   "method": "POST",
        LOG.requests_plan:   "path": "/api/2.1/clusters/permanent-delete",
        LOG.requests_plan:   "body": {
        LOG.requests_plan:     "cluster_id": "7a10ab2d-8b81-4b9b-7a10-ab2d8b814cf0"
        LOG.requests_plan:   }
        LOG.requests_plan: }

3 more failure details omitted, see the full report in the run.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: a519305

Run: 45876133347

Env 🔄​flaky 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 468 22 29:36
🔄​ aws-windows-latest-4core-16gb 4 1 466 20 36:10
💚​ azure linux-2core-8gb 1 467 22 26:38
💚​ azure-windows-latest-4core-16gb 1 469 20 33:11
🔄​ gcp linux-2core-8gb 4 1 464 22 29:13
💚​ gcp-windows-latest-4core-16gb 1 470 20 34:54
9 interesting tests: 8 flaky, 1 RECOVERED
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🔄​ TestFsCpFileToDirFileNotOverwritten ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p
🔄​ TestFsCpFileToDirFileNotOverwritten/dbfs_to_uc-volumes ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p
🔄​ TestFsCpFileToFileFileNotOverwritten/local_to_dbfs ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p
🔄​ TestFsCpFileToFileFileNotOverwritten/local_to_uc-volumes ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p
🔄​ TestFilerReadDir ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestFilerReadDir/files ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestFilerReadWrite ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestFilerReadWrite/files ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
Top 50 slowest tests (at least 2 minutes):
duration env testname
6:33 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
4:05 gcp-windows-latest-4core-16gb TestAccept
3:54 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
3:43 aws-windows-latest-4core-16gb TestAccept
3:43 azure-windows-latest-4core-16gb TestAccept
3:40 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:39 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
3:35 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:28 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
3:28 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:22 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
3:21 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:16 aws linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:15 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:15 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
3:14 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:10 azure linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:09 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
3:04 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
3:02 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
3:02 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:01 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:01 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:59 aws linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:59 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
2:59 azure linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:57 azure linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:55 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
2:51 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:47 aws linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
2:42 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
2:40 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
2:37 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:36 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:35 azure linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:33 azure linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:31 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:30 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:29 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:29 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
2:25 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:25 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:23 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:21 aws linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:19 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:17 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:15 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:12 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:11 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:10 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1

@denik
denik marked this pull request as ready for review November 26, 2026 17:10
@denik
denik requested review from a team as code owners November 26, 2026 17:10

@review-oss-bot review-oss-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated review at db54596. Each finding was verified against the code.

No blocking issues found. 4 non-blocking comment(s) below.

This PR fixes the flaky "Cluster ... does not exist" failures in direct-engine deploy and destroy. DoRead now prefers the cluster GET error over the library-status error. The 400 "does not exist" response from library-status and permanent-delete is mapped to not-found, and the fake server now returns the cloud's 400 for missing clusters. The DoRead precedence fix looks right and is enough on its own for the reported failures. My main concern is the new exact-message matcher, which the repo's error rules discourage and which mostly duplicates deleteConfirmedGone. The rest are small test and comment cleanups.

Comment thread bundle/direct/dresources/cluster.go Resolved
Comment thread libs/testserver/clusters.go Resolved
denik and others added 2 commits November 26, 2026 18:08
…firmedGone

Address review: AGENTS.md rules out branching on error message text, and
with the cluster GET error taking precedence the re-read in
deleteConfirmedGone already confirms an already-deleted cluster. Narrow the
testserver comment, keep drained requests in LOG files, drop the unit test
that duplicated the acceptance test.

cloud: TestAccept/bundle/invariant/delete_idempotent TestAccept/bundle/invariant/destroy_idempotent

Co-authored-by: Isaac <no-reply@databricks.com>
…destroy

cloud: TestAccept/bundle/invariant/delete_idempotent TestAccept/bundle/invariant/destroy_idempotent

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik requested a review from andrewnester November 26, 2026 18:27

@Sankalp-Mittal Sankalp-Mittal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[AI Generated] Follow-up review by review-factory (Claude Opus 5.5 + Claude Sonnet 5.5 + Claude Opus 5.5, cross-verified). Only points the reviewers agreed on are posted.

No new issues found.

@denik
denik added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 4b067de Nov 26, 2026
28 checks passed
@denik
denik deleted the direct-cluster-missing-400 branch November 26, 2026 19:37
deco-sdk-tagging Bot added a commit that referenced this pull request Dec 2, 2026
## Release v1.29.0

### Notable Changes

 * Introduce device code login: `databricks auth login --use-device-code` logs in from a machine that cannot open a browser, such as a headless server or an SSH session, by approving the login in a browser on another device. See [docs/device-code-login.md](https://github.com/databricks/cli/blob/main/docs/device-code-login.md). ([#8069](#8069))

### CLI

 * Automatic installation of Databricks AI tools no longer moves a Databricks skill that you put into a coding agent's skills directory (for example `~/.cursor/skills/databricks-sql`) to a temporary directory when no `databricks aitools install` has run yet. While that skill is there it installs no skills, though agents that use the Databricks plugin still get it; if you answered yes to the install question, it prints which skill it kept and the command that replaces it. A later CLI version finishes the install once you move the skill out. ([#8071](#8071))
 * Automatic installation of Databricks AI tools no longer runs a coding agent's CLI after a command you ran for something else, so a Databricks plugin install no longer runs out of time there: an agent without the Databricks plugin gets skill files, an agent that has the plugin keeps it and gets no skill files next to it, and `databricks aitools update` still updates the plugin. Only the install that follows a yes to the question of `databricks auth login` installs the plugins, as `databricks aitools install --scope=global` does. When that install is stopped, a later run gives the skill files to the agents that did not get them, keeping the skill files you edited since, and runs no agent's CLI: an agent that was to get the plugin is left for `databricks aitools install`. On Windows, where stopping an agent's CLI does not stop the processes it started, no automatic installation runs an agent's CLI. `databricks aitools update` no longer gives skill files to an agent that has the Databricks plugin and none of the CLI's skill files. ([#8224](#8224))
 * `databricks aitools install --skills-only --scope project` now installs Codex skills into `<project>/.agents/skills` instead of skipping Codex. `databricks aitools update --scope project` refreshes those skills, and adds none for Codex to a project that does not have them. ([#7990](#7990))
 * `databricks aitools auto-install enable` and `disable` now send usage telemetry when they change the setting, and the other places that ask for or change the consent to installing Databricks AI tools automatically record that too. `databricks auth login` sends that record, and the events of the automatic installation that runs after the answer, with the profile it saved, but only when it asked about installing the tools. When the configured workspace is slow or unreachable, `enable` and `disable` can take up to about 6 seconds longer. Such a login prepares the upload while it waits for the answer, so it takes up to about 3 seconds longer, or up to about 6 when the answer comes within 3 seconds. Set `DATABRICKS_CLI_DISABLE_TELEMETRY=1` to opt out. ([#8194](#8194))
 * When the automatic installation of Databricks AI tools is turned off (for example by `databricks aitools auto-install disable` or `DATABRICKS_AITOOLS_AUTO_INSTALL=false`), the CLI no longer prints its install hint for coding agents or Claude Code's plugin install line. ([#8194](#8194), [#8211](#8211))
 * `databricks aitools install` now reports a coding agent as failed, with a step to recover, when it cannot write the skill files into that agent's skills directory (for example one left owned by root by an earlier run with sudo). It used to report the agent as installed and exit with code 0; it now exits with code 1 when that agent was named with `--agents` or no other agent was set up. `databricks apps init` names such an agent with the same kind of step, and the automatic install retries when no agent got the skills. ([#7962](#7962))
 * `databricks aitools install`, `databricks aitools update` and the automatic install now see a Databricks plugin for Codex or GitHub Copilot installed with the agent's own CLI. When the agent's CLI is not on PATH they keep the plugin and add or update no skill files next to it, and `install` and `update` remove the skill files an earlier run added, so the agent no longer loads every Databricks skill twice. `install --skills-only` skips such an agent and names the agent's own command that removes the plugin. ([#7917](#7917))
 * `databricks auth login` now asks about installing Databricks AI tools with a short card that names the coding agents that get them and says how to turn automatic installs off. An empty reply asks only the card's last line again. ([#8242](#8242))
 * `databricks aitools` commands no longer fail when the latest skills release cannot be looked up: they warn and use the newest release they know, and never downgrade installed skills unless the compatibility manifest entry sets `"allow_downgrade": true` to roll back a bad release. The lookup now reads the version file the skills repository publishes on the host that serves the skill files, instead of the rate-limited GitHub API, so `DATABRICKS_CLI_GITHUB_API_URL` no longer affects it and a `DATABRICKS_SKILLS_BASE_URL` mirror must serve `main/metaplugin/version.meta.json`, and answer `HEAD` for each release's `manifest.json`, for the lookup to succeed. A compatibility manifest entry can track the latest release with `"use_latest": true`, which older CLI versions ignore, and the entry for CLI 1.23.0 and newer now does, so `databricks aitools install` and `update` install the latest skills release instead of 0.2.47. ([#8202](#8202), [#8203](#8203))
 * `databricks aitools uninstall` now removes the skill directories it copied into a single agent's skills directory when they are unmodified; before, it reported them as uninstalled but left them in place. ([#7936](#7936))
 * A global `databricks aitools uninstall` run while the automatic installation of Databricks AI tools is installing now fails before it removes anything and asks to run it again, instead of reporting success and having the installation put the tools back seconds later. An opt-out stored while an automatic installation is deciding whether to install (`databricks aitools auto-install disable`, say) now stops it. ([#7924](#7924))
 * Fix `databricks fs rm` and `fs rm -r` on UC Volumes failing with "file does not exist" or "no such directory" after a delete was retried. ([#7926](#7926))
 * Use the public Sandbox SDK for `databricks sandbox` lifecycle commands, including native SDK JSON output that requires scripts using the previous field names to migrate; preserve short IDs, readiness and terminal text, with SSH through port forwarding. `--idle-timeout 0` now disables auto-stop; use `--no-autostop=false` to reset to the 10-minute default. ([#8040](#8040))
 * Remove `sandbox register` and `sandbox ssh-key`; use OAuth-backed `sandbox ssh` or `sandbox ssh-setup` instead, without changing existing SSH keys, configuration, or server registrations. ([#8098](#8098))
 * Show migration instructions when retired `sandbox register` or `sandbox ssh-key` commands are invoked, including with their legacy flags. ([#8180](#8180))
 * `databricks ssh connect --accelerator` now accepts any serverless GPU type name, such as `GPU_1xRTX6000`, instead of only `GPU_1xA10` and `GPU_8xH100`; the workspace validates which GPU types and environment versions are available. ([#7833](#7833), [#7957](#7957))
 * `databricks ssh connect` now reuses an existing secret scope for its SSH keys only if the scope is Databricks-backed and its ACL grants MANAGE to the current user and no access to any other principal, and otherwise fails with an error that explains how to delete the scope and connect again. ([#8141](#8141))
 * `databricks ssh connect`: the SSH server now writes the client public key from the session's secret scope to `authorized_keys` in canonical form, and fails with an actionable error if the stored key is not a single SSH public key without options. ([#7994](#7994))

### AI Runtime

 * Show workspace-specific supported GPU counts in `databricks air run -h config.compute.num_accelerators`. ([#8215](#8215))
 * `databricks air cancel --all` now lists the runs it matches even with `--yes`, and its help says that `--all` includes runs started from other terminals, scripts and agents, and that runs can be cancelled by ID instead. `air get` now shows a "Cancel reason" for cancelled runs, such as "Run cancelled by user". ([#8233](#8233))
 * Clarify that the `air run` PyTorch warning checks direct dependencies and may appear when another dependency installs PyTorch. ([#8214](#8214))
 * Make `databricks air run --dry-run` say that only static and workspace validation ran, and that dependencies were not installed and code was not run. ([#8219](#8219))
 * Remove outdated Preview labels and the runtime warning from `databricks air images push`. ([#8097](#8097))
 * Print the source image size in `databricks air images push`, and after the push the compressed size and layer count from the pushed manifest, with a link to the Databricks Artifact Registry image limits. ([#7868](#7868))
 * Warn in `databricks air images push` when the source image sets a `WORKDIR` other than `/`, suggest absolute paths in commands and scripts, and link the AI Runtime `command` docs. ([#7867](#7867))
 * Accept `experiment_name` as an alias for `experiment` in `databricks air list --filter`. ([#8220](#8220))
 * `databricks air logs` with no logs to show now reports `PENDING` for a run that is waiting for compute (matching `air get`), prints the `air logs --follow` command to run when not following an active run, and for `--retry N` on a finished retry reports how that retry ended. ([#8232](#8232))
 * `databricks air run` now warns when code passes a run ID to `mlflow.start_run()` before training a Hugging Face Trainer that reports to MLflow, which fails the job with "Run ... is already active" when training begins. ([#8234](#8234))

### Bundles

 * Record deployment history by default for bundles deployed to a workspace that Databricks has enrolled. Set `experimental.deployment_history: false` to opt out. ([#7895](#7895))
 * Recover from a create request that failed after the backend applied it for more resources (Unity Catalog catalogs, schemas, volumes, external locations, registered models and secrets; Lakebase endpoints, databases, synced tables and snapshot schedules; secret scope permissions), in the direct deployment engine. ([#7910](#7910))
 * Fix the bundle auth error "the host in the profile doesn’t match the host configured in the bundle" when only one of the hosts includes the default port, such as `:443`. ([#7948](#7948))
 * Do not warn about missing required fields under an optional block that is explicitly null, such as a job's `schedule: null`. ([#7982](#7982))
 * Fix `bundle deploy` failing with "no such file or directory" when a `dynamic_version` wheel artifact has several wheels of the same package. ([#8027](#8027))
 * `bundle deploy` and `bundle destroy` no longer warn when a delete fails but a read finds the resource missing or in terminal teardown, which is the usual outcome when a delete is retried after a transient error. The message is logged at debug level. ([#8046](#8046))
 * Fix `bundle deploy` and `bundle destroy` with the direct engine sometimes failing with "Cluster ... does not exist" when a cluster in the state was already deleted. ([#8068](#8068))
 * Fix notebooks with an upper-case extension (for example `notebook_path: ./etl.R`) being reported as not found when deploying a bundle from the workspace. ([#8093](#8093))
 * Fix `bundle init` ignoring the default of, and not prompting for, a template property with a JSON schema `format` other than `warehouse_path` (an integer one printed `Validation failed` forever). Without a TTY, such a property with no default and no value from `--config-file` now fails like any other property instead of rendering as an empty string. ([#8094](#8094))
 * Don't update the unchanged permissions of a vector search endpoint, model serving endpoint or model when the resource itself is updated in place (direct engine). ([#8108](#8108))
 * Fix a crash in `bundle init` when the config file sets a `number` property, or an `integer` property declared only in `anyOf`, to null, or when a `number` property has null in its `enum`. ([#8155](#8155))
 * Fix `bundle deploy --plan` uploading the wrong wheels for `dynamic_version` artifacts with a build command when the build output matches several wheels. It now also uploads every library file the plan references, and fails before uploading anything when one of them no longer exists locally. ([#8157](#8157))
 * Fix target overrides of `mode`, `cluster_id` and `git` failing with `expected a map to index ..., found nil` when the top-level `bundle` key is empty. ([#8166](#8166))
 * Fix a crash in `bundle init` when a template schema sets a property to null, for example `"properties": {"p": null}`. It now fails with an error naming the property. ([#8168](#8168))
 * Fix target variable overrides being dropped with a warning, so the root value was used: short-form and complex-value overrides under the deprecated `environments` key, and unquoted dates under `targets`. Short-form overrides under `environments` of a variable that is not defined now fail with `variable x is not defined but is assigned a value`, as they already did under `targets`. A target override no longer panics when the variable's `type` is not a string, and a scalar `targets` value (such as `targets: false`) is reported at its location instead of failing with `failed to rewrite`. ([#8183](#8183))
 * Fix bundle commands failing with `can't find ".venv/bin/python3"` when run from a subdirectory of a bundle that sets a relative `python.venv_path`. ([#8184](#8184))
 * Fix external location updates not clearing `read_only` or `fallback` in the direct deployment engine when they are removed from the bundle configuration; a value set outside the bundle is now reset to the configuration on deploy, as the plan already showed. ([#8230](#8230))
 * Fix `bundle generate app` for an app with no source code to download (never deployed, or an empty workspace source folder): it now creates the source directory, so the generated bundle loads. ([#8244](#8244))
 * Fix `bundle deploy` and `bundle destroy` without deployment history reporting success and dropping a resource from state when the backend rejects its delete; the resource stayed in the workspace untracked. ([#7931](#7931))
 * Add the `genie_agents` resource for managing AI/BI Genie agents on the direct deployment engine. ([#7617](#7617))
 * Apply a secret scope rename that was pending when a bundle migrates from terraform state to the direct engine: the scope is recreated under the new name, which deletes the secrets stored in the old scope, as a direct deploy of the same rename does. ([#7980](#7980))
 * `bundle deploy --plan` now pulls the deployment state, so applying a saved plan from a fresh checkout deletes files removed from the bundle. Because `--plan` skips the build, synced build outputs missing from the apply checkout (for example files a `prebuild` script writes) are deleted from the workspace too. ([#7988](#7988))
 * Record deployment history for `bundle deployment bind` when deployment history is enabled. ([#7817](#7817))
 * Rename registered models in place; a model in a renamed catalog or schema keeps its versions. ([#7379](#7379))
 * `bundle run` and `pipelines run`, `stop`, `dry-run` and `test` on a never-deployed bundle now report a KEY that is not defined in config, instead of suggesting `databricks bundle deploy`. ([#7985](#7985))
 * UC secrets follow a renamed catalog or schema. ([#7381](#7381))
 * The warning shown when a bundle's root path is under `/Workspace/Shared` now links to the FAQ on moving a deployment off `/Workspace/Shared`. ([#6353](#6353))
 * `bundle summary` (text and JSON output) now resolves `${resources.*}` references from the configuration and the deployed resource ids, for example a synced table named after its catalog, and builds resource URLs from them, so `bundle open` and `pipelines open` open the right page. References to values that are not set locally (ids of resources not deployed yet, fields only the workspace has) and to sensitive fields stay as they are. Synced database table URLs now point to the table in Catalog Explorer. ([#8111](#8111))
 * Fix `bundle deploy` and `sync` deleting the remote copy of a notebook or file when the local file is an `.ipynb` with invalid JSON or cannot be read. ([#8032](#8032))
 * Warn when a bundle's `run_as` identity may lack access to deployed files, with guidance for top-level permissions and source-linked files. ([#7313](#7313))

### Dependency Updates

 * Update the Go SDK to [v0.204.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.204.0). ([#7955](#7955))
 * Update `go.yaml.in/yaml` from v3 to [v4.0.0](https://github.com/yaml/go-yaml/releases/tag/v4.0.0). ([#7987](#7987))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues factory-generated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants