Skip to content

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

Open
denik wants to merge 5 commits into
mainfrom
direct-cluster-missing-400
Open

denik wants to merge 5 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).
  • readLibraries and DoDelete: the exact "Cluster does not exist" 400 for the requested id is mapped to ErrResourceDoesNotExist, so a cluster deleted between the two reads plans a create, and Delete/Recreate treat a delete of an already-deleted cluster as done without a warning.
  • 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 drops the state entry without a warning.
  • Unit tests in cluster_test.go for each mapping and for a different 400 message staying an error (each fails without its change), and one 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; Azure and GCP are covered by the cloud run of the invariants.
  • The match is on the exact message "Cluster does not exist". If a cloud words it differently, DoDelete falls back to the existing re-read in deleteConfirmedGone, which keeps state unless the read confirms the cluster is gone, so a live cluster is not dropped.
  • 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 makes clusters not need the fallback. 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

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: db54596f6 | Workflow run

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

272 tests: regression=5 unreleased=0 coverage=267 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/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.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.yml.tmpl/READPLAN=
        	Messages:   	bundle/invariant/destroy_idempotent/output.txt vs /tmp/TestAcceptbundleinvariantdestroy_idempotentDMS=INPUT_CONFIG4217620867/002/output.txt
    acceptance_test.go:1180: 
        LOG.config: bundle:
        LOG.config:   name: test-bundle-whm7xkbxqfdllh26sklvdreuzq
        LOG.config: 
        LOG.config: resources:
        LOG.config:   clusters:
        LOG.config:     foo:
        LOG.config:       cluster_name: test-cluster-whm7xkbxqfdllh26sklvdreuzq
        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:       permissions:
        LOG.config:         - level: CAN_ATTACH_TO
        LOG.config:           group_name: users
    acceptance_test.go:1180: LOG.cp: 
    acceptance_test.go:1180: 
        LOG.deploy_initial: 
        LOG.deploy_initial: >>> /tmp/TestAccept2002597558/001/databricks bundle deploy
        LOG.deploy_initial: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/test-bundle-whm7xkbxqfdllh26sklvdreuzq/default/files...
        LOG.deploy_initial: Created clusters.foo
        LOG.deploy_initial: Created clusters.foo.permissions
        LOG.deploy_initial: Files: 12 uploaded, 0 deleted
        LOG.deploy_initial: Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
    acceptance_test.go:1180: 
        LOG.destroy: 
        LOG.destroy: >>> /tmp/TestAccept2002597558/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-whm7xkbxqfdllh26sklvdreuzq/default
        LOG.destroy: 
        LOG.destroy: Destroy: 0 deleted
    acceptance_test.go:1180: 
        LOG.destroy1: 
        LOG.destroy1: >>> /tmp/TestAccept2002597558/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-whm7xkbxqfdllh26sklvdreuzq/default
        LOG.destroy1: 
        LOG.destroy1: Destroy: 1 deleted
    acceptance_test.go:1180: 
        LOG.destroy2: 
        LOG.destroy2: >>> /tmp/TestAccept2002597558/001/databricks bundle destroy --auto-approve
        LOG.destroy2: Warn: planning resources.clusters.foo: reading resources.clusters.foo id="7a10a2e1-fed7-deae-7a10-a2e1fed7dff7": Cluster 7a10a2e1-fed7-deae-7a10-a2e1fed7dff7 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-whm7xkbxqfdllh26sklvdreuzq/default
        LOG.destroy2: 
        LOG.destroy2: Error: cannot delete resources.clusters.foo: deleting id=7a10a2e1-fed7-deae-7a10-a2e1fed7dff7: Cluster 7a10a2e1-fed7-deae-7a10-a2e1fed7dff7 does not exist (400 INVALID_PARAMETER_VALUE)
        LOG.destroy2: 
        LOG.destroy2: Endpoint: POST http://127.0.0.1:36429/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 7a10a2e1-fed7-deae-7a10-a2e1fed7dff7 does not exist
    acceptance_test.go:1180: LOG.mkdirs:
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-planDM2335797948/002/output.txt
        @@ -9,41 +9,15 @@
         
         >>> [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Created clusters.foo
        -Files: 0 uploaded, 0 deleted
        -Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        +Error: cannot plan resources.clusters.foo: reading id="[FOO_ID]": Cluster [FOO_ID] does not exist (400 INVALID_PARAMETER_VALUE)
         
        ->>> print_requests.py //clusters
        -{
        -  "method": "POST",
        -  "path": "/api/2.1/clusters/create",
        -  "body": {
        -    "autotermination_minutes": 60,
        -    "cluster_name": "foo",
        -    "node_type_id": "[NODE_TYPE_ID]",
        -    "num_workers": 1,
        -    "spark_version": "13.3.x-scala2.12"
        -  }
        -}
        +Endpoint: GET [DATABRICKS_URL]/api/2.0/libraries/cluster-status?cluster_id=[FOO_ID]
        +HTTP Status: 400 Bad Request
        +API error_code: INVALID_PARAMETER_VALUE
        +API message: Cluster [FOO_ID] does not exist
         
        -=== saved plan: the delete was planned while the cluster existed
        +Error: planning failed
         
        ->>> [CLI] bundle plan -o json
        +Files: 0 uploaded, 0 deleted
         
        ->>> [CLI] bundle deploy --plan plan.json --auto-approve
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Deleted clusters.foo
        -Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 1 deleted, 0 unchanged
        -
        ->>> print_state.py
        -[]
        -
        ->>> print_requests.py //clusters
        -{
        -  "method": "POST",
        -  "path": "/api/2.1/clusters/permanent-delete",
        -  "body": {
        -    "cluster_id": "[FOO_ID_2]"
        -  }
        -}
        +Exit code: 1
TestAccept/bundle/resources/clusters/deleted-out-of-band-plan/DMS=true: 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-planDM836010380/002/output.txt
        @@ -9,41 +9,15 @@
         
         >>> [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Created clusters.foo
        -Files: 0 uploaded, 0 deleted
        -Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        +Error: cannot plan resources.clusters.foo: reading id="[FOO_ID]": Cluster [FOO_ID] does not exist (400 INVALID_PARAMETER_VALUE)
         
        ->>> print_requests.py //clusters
        -{
        -  "method": "POST",
        -  "path": "/api/2.1/clusters/create",
        -  "body": {
        -    "autotermination_minutes": 60,
        -    "cluster_name": "foo",
        -    "node_type_id": "[NODE_TYPE_ID]",
        -    "num_workers": 1,
        -    "spark_version": "13.3.x-scala2.12"
        -  }
        -}
        +Endpoint: GET [DATABRICKS_URL]/api/2.0/libraries/cluster-status?cluster_id=[FOO_ID]
        +HTTP Status: 400 Bad Request
        +API error_code: INVALID_PARAMETER_VALUE
        +API message: Cluster [FOO_ID] does not exist
         
        -=== saved plan: the delete was planned while the cluster existed
        +Error: planning failed
         
        ->>> [CLI] bundle plan -o json
        +Files: 0 uploaded, 0 deleted
         
        ->>> [CLI] bundle deploy --plan plan.json --auto-approve
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Deleted clusters.foo
        -Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 1 deleted, 0 unchanged
        -
        ->>> print_state.py
        -[]
        -
        ->>> print_requests.py //clusters
        -{
        -  "method": "POST",
        -  "path": "/api/2.1/clusters/permanent-delete",
        -  "body": {
        -    "cluster_id": "[FOO_ID_2]"
        -  }
        -}
        +Exit code: 1
        
FAIL

latest (v1.28.0): same output as main (7a48abb)

TestAccept/bundle/resources/clusters/deleted-out-of-band/DMS=: branch ✅ | main (7a48abb) ❌ | latest (v1.28.0) ❌

main (7a48abb):

prepare_server.go:459: request canceled: context canceled
    acceptance_test.go:1402: Diff:
        --- bundle/resources/clusters/deleted-out-of-band/output.txt
        +++ /tmp/TestAcceptbundleresourcesclustersdeleted-out-of-bandDMS=570280073/002/output.txt
        @@ -2,48 +2,18 @@
         === destroy
         
         >>> [CLI] bundle destroy --auto-approve
        +Warn: planning resources.clusters.foo: reading resources.clusters.foo id="1126-000000-deleted0": Cluster 1126-000000-deleted0 does not exist
        +The following resources will be deleted:
        +  delete resources.clusters.foo
        +
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
         
        -Destroy: 0 deleted
        +Error: cannot delete resources.clusters.foo: deleting id=1126-000000-deleted0: Cluster 1126-000000-deleted0 does not exist (400 INVALID_PARAMETER_VALUE)
         
        ->>> print_requests.py --get --sort //clusters //libraries
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/libraries/cluster-status",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.1/clusters/get",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        +Endpoint: POST [DATABRICKS_URL]/api/2.1/clusters/permanent-delete
        +HTTP Status: 400 Bad Request
        +API error_code: INVALID_PARAMETER_VALUE
        +API message: Cluster 1126-000000-deleted0 does not exist
         
        -=== deploy: the cluster is removed from config
         
        ->>> [CLI] bundle deploy --auto-approve
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged
        -
        ->>> print_state.py
        -[]
        -
        ->>> print_requests.py --get --sort //clusters //libraries
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/libraries/cluster-status",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.1/clusters/get",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        +Exit code: 1

latest (v1.28.0):

prepare_server.go:459: request canceled: context canceled
    prepare_server.go:459: request canceled: context canceled
    prepare_server.go:459: request canceled: context canceled
    prepare_server.go:459: request canceled: context canceled
    acceptance_test.go:1402: Diff:
        --- bundle/resources/clusters/deleted-out-of-band/output.txt
        +++ /tmp/TestAcceptbundleresourcesclustersdeleted-out-of-bandDMS=867650495/002/output.txt
        @@ -2,9 +2,13 @@
         === destroy
         
         >>> [CLI] bundle destroy --auto-approve
        +Warn: planning resources.clusters.foo: reading resources.clusters.foo id="1126-000000-deleted0": Cluster 1126-000000-deleted0 does not exist
        +The following resources will be deleted:
        +  delete resources.clusters.foo
        +
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
         
        -Destroy: 0 deleted
        +Destroy: 1 deleted
         
         >>> print_requests.py --get --sort //clusters //libraries
         {
        @@ -16,18 +18,41 @@
         }
         {
           "method": "GET",
        +  "path": "/api/2.0/libraries/cluster-status",
        +  "q": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
        +{
        +  "method": "GET",
           "path": "/api/2.1/clusters/get",
           "q": {
             "cluster_id": "1126-000000-deleted0"
           }
         }
        +{
        +  "method": "GET",
        +  "path": "/api/2.1/clusters/get",
        +  "q": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
        +{
        +  "method": "POST",
        +  "path": "/api/2.1/clusters/permanent-delete",
        +  "body": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
         
         === deploy: the cluster is removed from config
         
         >>> [CLI] bundle deploy --auto-approve
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        +Warn: planning resources.clusters.foo: reading resources.clusters.foo id="1126-000000-deleted0": Cluster 1126-000000-deleted0 does not exist
        +Deleted clusters.foo
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged
        +Resources: 0 created, 0 changed, 1 deleted, 0 unchanged
         
         >>> print_state.py
         []
        @@ -42,8 +56,29 @@
         }
         {
           "method": "GET",
        +  "path": "/api/2.0/libraries/cluster-status",
        +  "q": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
        +{
        +  "method": "GET",
           "path": "/api/2.1/clusters/get",
           "q": {
             "cluster_id": "1126-000000-deleted0"
           }
         }
        +{
        +  "method": "GET",
        +  "path": "/api/2.1/clusters/get",
        +  "q": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
        +{
        +  "method": "POST",
        +  "path": "/api/2.1/clusters/permanent-delete",
        +  "body": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
TestAccept/bundle/resources/clusters/deleted-out-of-band/DMS=true: branch ✅ | main (7a48abb) ❌ | latest (v1.28.0) ❌

main (7a48abb):

prepare_server.go:459: request canceled: context canceled
    prepare_server.go:459: request canceled: context canceled
    acceptance_test.go:1402: Diff:
        --- bundle/resources/clusters/deleted-out-of-band/output.txt
        +++ /tmp/TestAcceptbundleresourcesclustersdeleted-out-of-bandDMS=tru3218179140/002/output.txt
        @@ -2,48 +2,18 @@
         === destroy
         
         >>> [CLI] bundle destroy --auto-approve
        +Warn: planning resources.clusters.foo: reading resources.clusters.foo id="1126-000000-deleted0": Cluster 1126-000000-deleted0 does not exist
        +The following resources will be deleted:
        +  delete resources.clusters.foo
        +
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
         
        -Destroy: 0 deleted
        +Error: cannot delete resources.clusters.foo: deleting id=1126-000000-deleted0: Cluster 1126-000000-deleted0 does not exist (400 INVALID_PARAMETER_VALUE)
         
        ->>> print_requests.py --get --sort //clusters //libraries
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/libraries/cluster-status",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.1/clusters/get",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        +Endpoint: POST [DATABRICKS_URL]/api/2.1/clusters/permanent-delete
        +HTTP Status: 400 Bad Request
        +API error_code: INVALID_PARAMETER_VALUE
        +API message: Cluster 1126-000000-deleted0 does not exist
         
        -=== deploy: the cluster is removed from config
         
        ->>> [CLI] bundle deploy --auto-approve
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged
        -
        ->>> print_state.py
        -[]
        -
        ->>> print_requests.py --get --sort //clusters //libraries
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/libraries/cluster-status",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.1/clusters/get",
        -  "q": {
        -    "cluster_id": "1126-000000-deleted0"
        -  }
        -}
        +Exit code: 1

latest (v1.28.0):

prepare_server.go:459: request canceled: context canceled
    prepare_server.go:459: request canceled: context canceled
    prepare_server.go:459: request canceled: context canceled
    acceptance_test.go:1402: Diff:
        --- bundle/resources/clusters/deleted-out-of-band/output.txt
        +++ /tmp/TestAcceptbundleresourcesclustersdeleted-out-of-bandDMS=tru4031496134/002/output.txt
        @@ -2,9 +2,13 @@
         === destroy
         
         >>> [CLI] bundle destroy --auto-approve
        +Warn: planning resources.clusters.foo: reading resources.clusters.foo id="1126-000000-deleted0": Cluster 1126-000000-deleted0 does not exist
        +The following resources will be deleted:
        +  delete resources.clusters.foo
        +
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
         
        -Destroy: 0 deleted
        +Destroy: 1 deleted
         
         >>> print_requests.py --get --sort //clusters //libraries
         {
        @@ -16,26 +18,14 @@
         }
         {
           "method": "GET",
        -  "path": "/api/2.1/clusters/get",
        +  "path": "/api/2.0/libraries/cluster-status",
           "q": {
             "cluster_id": "1126-000000-deleted0"
           }
         }
        -
        -=== deploy: the cluster is removed from config
        -
        ->>> [CLI] bundle deploy --auto-approve
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged
        -
        ->>> print_state.py
        -[]
        -
        ->>> print_requests.py --get --sort //clusters //libraries
         {
           "method": "GET",
        -  "path": "/api/2.0/libraries/cluster-status",
        +  "path": "/api/2.1/clusters/get",
           "q": {
             "cluster_id": "1126-000000-deleted0"
           }
        @@ -47,3 +31,26 @@
             "cluster_id": "1126-000000-deleted0"
           }
         }
        +{
        +  "method": "POST",
        +  "path": "/api/2.1/clusters/permanent-delete",
        +  "body": {
        +    "cluster_id": "1126-000000-deleted0"
        +  }
        +}
        +
        +=== deploy: the cluster is removed from config
        +
        +>>> [CLI] bundle deploy --auto-approve
        +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        +Warn: planning resources.clusters.foo: reading resources.clusters.foo id="1126-000000-deleted0": Cluster 1126-000000-deleted0 does not exist
        +Error: cannot delete resources.clusters.foo: deleting id=1126-000000-deleted0: Cluster 1126-000000-deleted0 does not exist (400 INVALID_PARAMETER_VALUE)
        +
        +Endpoint: POST [DATABRICKS_URL]/api/2.1/clusters/permanent-delete
        +HTTP Status: 400 Bad Request
        +API error_code: INVALID_PARAMETER_VALUE
        +API message: Cluster 1126-000000-deleted0 does not exist
        +
        +Files: 2 uploaded, 0 deleted
        +
        +Exit code: 1

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: db54596

Run: 45853595665

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 468 22 47:21
💚​ aws-windows-latest-4core-16gb 1 470 20 54:04
💚​ azure linux-2core-8gb 1 467 22 42:15
💚​ azure-windows-latest-4core-16gb 1 469 20 49:47
💚​ gcp linux-2core-8gb 1 468 22 49:18
💚​ gcp-windows-latest-4core-16gb 1 470 20 56:04
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
Top 50 slowest tests (at least 2 minutes):
duration env testname
9:04 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
6:51 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
3:42 azure-windows-latest-4core-16gb TestAccept
3:42 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=feature.yml.tmpl/READPLAN=1
3:38 aws linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
3:38 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
3:36 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=sql_warehouse.yml.tmpl/READPLAN=1
3:36 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
3:28 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model.yml.tmpl/READPLAN=
3:23 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:17 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
3:17 aws-windows-latest-4core-16gb TestAccept
3:16 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:16 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
3:14 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model.yml.tmpl/READPLAN=
3:14 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
3:13 gcp-windows-latest-4core-16gb TestAccept
3:07 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:06 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
3:06 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:05 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
3:03 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
3:03 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN=1
3:01 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
3:01 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:57 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
2:57 aws linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:57 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:57 azure linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
2:56 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:55 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
2:53 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:51 azure linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:48 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:47 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:47 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
2:46 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:46 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
2:45 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
2:44 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN=
2:43 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:42 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:41 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
2:41 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:39 gcp linux-2core-8gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
2:38 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:36 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN=1
2:35 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
2:34 azure-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
2:32 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=

@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.

apiErr, ok := errors.AsType[*apierr.APIError](err)
return ok && apiErr.StatusCode == http.StatusBadRequest &&
apiErr.ErrorCode == "INVALID_PARAMETER_VALUE" &&
apiErr.Message == "Cluster "+id+" does not exist"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nice to have] isClusterDoesNotExist decides by comparing apiErr.Message to the exact English text "Cluster does not exist". AGENTS.md rules out branching on error string content. If a cloud adds a trailing period or rewords the message, the mapping silently stops matching. In DoDelete (line 390) the mapping is also redundant: with the new DoRead precedence, the re-read in deleteConfirmedGone (bundle/direct/apply.go:412) already gets the SDK-mapped not-found and drops the state entry, so the only thing this adds is hiding the warning at apply.go:375. The comment at apply.go:409 says the repo re-reads on purpose instead of matching delete errors. Can we drop the mappings in DoDelete and readLibraries (line 212) and rely on the DoRead fix plus deleteConfirmedGone? If one of them is really needed, could it say why the message is the only signal available?

return Response{}
}

// clusterDoesNotExist is how the cloud answers cluster and library-status requests for a

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nit] The comment says this is how the cloud answers cluster requests for a missing cluster. But ClustersEdit, ClustersResize, ClustersStart and ClustersDelete in this file, and LibrariesInstall in libraries.go, still return a bare 404. Can you narrow the comment to clusters/get, permanent-delete and libraries/cluster-status? Or, if the cloud answers the others the same way, should they use this helper too?

# library-status and permanent-delete for it with 400 INVALID_PARAMETER_VALUE "does not exist".
trace $CLI bundle deploy
cluster_id=$(read_id.py foo)
print_requests.py > /dev/null

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nit] .agents/rules/testing.md asks for noisy output to go to LOG.<name>, not /dev/null. Lines 5, 9 and 24 throw away the recorded requests. Something like print_requests.py > LOG.setup clears them the same way and keeps them visible under go test -v.

@@ -66,3 +72,91 @@ func TestClusterOverrideChangeDescLibraries(t *testing.T) {
})
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nit] TestClusterDoReadMissingCluster delays clusters/get so the library-status 400 arrives first and then expects not-found. That is the same scenario bundle/resources/clusters/deleted-out-of-band covers with its 300ms [[Server]] delay, and the testing rules say not to add a unit test that only duplicates an acceptance test. Can it be dropped, keeping the unit tests that cover cases the acceptance tests can't, like the other 400 message and the cancellation?

This branch has not been deployed

No deployments
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.

2 participants