Skip to content

Report accurate resource counts in bundle summaries - #7006

Open
janniklasrose wants to merge 10 commits into
janniklasrose/postgres-plan-snapshot-parityfrom
janniklasrose/print-summary-despite-destroy-error
Open

janniklasrose wants to merge 10 commits into
janniklasrose/postgres-plan-snapshot-parityfrom
janniklasrose/print-summary-despite-destroy-error

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Changes

Print the bundle destroy summary on errors and report completed and failed resource operations in deploy/destroy summaries. Preserve a completed deletion when replacement creation fails, and exclude recreations with no backend delete operation in both plan and apply counts.

Why

Planned counts could report Destroy: 3 deleted when only two deletions succeeded, and an early error could hide the destroy summary entirely.

Depends on #7503 to fix PostgreSQL snapshots that also fail on clean main. State-removal reporting is a separate follow-up in #7496. State finalization/upload errors deliberately retain the existing files-only deploy summary; this PR changes reporting of resource-operation failures.

Tests

Acceptance coverage exercises partial deploy/destroy failures, failed recreations, and job-run recreations with no backend deletion. Counting logic has table-driven unit coverage. The preceding CI regression report confirms 35 cases that pass on the branch and fail on main and the latest release; the new counting unit test also fails without its fix. Changed acceptance tests also pass under Go 1.27.3.

Local formatting, repository checks, full lint, and generators pass. Completed the repository's .agents/skills/pr-review workflow locally and addressed its findings. The final local full suite passed all unit tests and all acceptance cases after retries except the unchanged completion test, which exits with SIGPIPE. CI results are pending for the latest review corrections.

This PR was written with Isaac and Codex.

janniklasrose and others added 2 commits October 9, 2026 12:03
Make the destroy summary line ("Destroy: N deleted") print even when the
destroy encounters errors partway through. This is a follow-up to PR #6210.

Before this change, early returns on errors (during the resource Apply, DMS
finalization, or file deletion) skipped the summary entirely. Extract the
summary into logDestroySummary and invoke it via defer in destroyCore so it
prints on every return path; partial deletions may have already succeeded.

The count is the planned deletions, not the actually-succeeded ones. Making
the count reflect only successful deletions is a separate follow-up.

Add an acceptance test that injects a failed resource delete and asserts the
summary still prints after the destroy error. The dms/failed-delete golden
gains the same summary line for the same reason.

Co-authored-by: Isaac <no-reply@databricks.com>
The deploy and destroy summaries counted planned operations, so a resource
that failed to apply was still reported as created/deleted. Track per-resource
outcomes during Apply - Attempted when the graph reaches a node, Applied when
its backend operation succeeds - and count what actually happened:

  Destroy: 2 deleted, 1 failed
  Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 2 failed

The deploy summary now also prints on a partial resource failure (it was
suppressed before). It stays suppressed when no resource failed: a failure
before the apply graph runs (e.g. a config error) or after it (e.g. a
state-push error) still reports files only, as before.

Direct engine only; the terraform engine was removed in v1.20.0.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 9, 2026
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

❌ Integration test report

Commit: 9e563c0

Run: 43072284373

Env ❌​FAIL 🔄​flaky ✅​pass 🙈​skip Time
❌​ aws linux-2core-8gb 10 310 47 36:29
❌​ aws-windows-latest-4core-16gb 10 312 45 41:05
❌​ azure linux-2core-8gb 9 310 47 27:01
❌​ azure-windows-latest-4core-16gb 10 311 45 37:47
❌​ gcp linux-2core-8gb 10 3 307 47 45:14
❌​ gcp-windows-latest-4core-16gb 10 2 310 45 40:52
15 interesting tests: 10 FAIL, 5 flaky
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 ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
🔄​ TestAccept/bundle/resources/materialization_sets/batch ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/materialization_sets/batch/DMS= ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/postgres_databases/live_errors/bad_database_id ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🔄​ TestAccept/bundle/resources/postgres_databases/live_errors/bad_database_id/DMS=true ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
❌​ TestAccept/bundle/resources/postgres_endpoints/remove_suspend_timeout ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_endpoints/remove_suspend_timeout/DMS= ❌​F ❌​F ✅​p ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_endpoints/remove_suspend_timeout/DMS=true ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_projects/add_default_endpoint_settings ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_projects/add_default_endpoint_settings/DMS= ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_projects/add_default_endpoint_settings/DMS=true ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_projects/remove_history_retention ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_projects/remove_history_retention/DMS= ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/postgres_projects/remove_history_retention/DMS=true ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
🔄​ TestSyncIncrementalFileSync ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
Top 31 slowest tests (at least 2 minutes):
duration env testname
6:35 aws-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
6:03 aws-windows-latest-4core-16gb TestAccept/bundle/resources/job_runs/failed_run/DMS=true
6:00 gcp linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=true
5:13 gcp linux-2core-8gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
4:36 azure linux-2core-8gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
4:07 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
3:43 azure linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=true
3:37 gcp linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=
3:32 azure-windows-latest-4core-16gb TestAccept/bundle/resources/job_runs/failed_run/DMS=true
3:31 aws-windows-latest-4core-16gb TestAccept/bundle/resources/job_runs/failed_run/DMS=
3:25 aws linux-2core-8gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
3:22 gcp linux-2core-8gb TestSyncIncrementalFileSync
3:08 aws linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=true
3:08 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
3:03 gcp-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files_extensions
3:00 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/job_runs/failed_run/DMS=true
2:58 aws-windows-latest-4core-16gb TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS=true
2:50 azure-windows-latest-4core-16gb TestAccept/bundle/resources/materialization_sets/batch/DMS=
2:46 aws linux-2core-8gb TestAccept/bundle/resources/models/empty-name/DMS=
2:40 aws linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=
2:23 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/job_runs/failed_run/DMS=
2:22 gcp linux-2core-8gb TestFilerRecursiveDelete/workspace_files_extensions
2:21 azure linux-2core-8gb TestFilerRecursiveDelete/workspace_files
2:20 azure-windows-latest-4core-16gb TestAccept/bundle/resources/job_runs/failed_run/DMS=
2:15 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS=
2:13 azure linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=
2:10 aws-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
2:08 aws linux-2core-8gb TestImportDirWithOverwriteFlag
2:08 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/postgres_endpoints/without_endpoint_id/DMS=true
2:04 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/postgres_databases/live_errors/bad_role_ref/DMS=true
2:04 aws-windows-latest-4core-16gb TestAccept/bundle/resources/postgres_endpoints/without_endpoint_id/DMS=true

…ummary-despite-destroy-error

# Conflicts:
#	acceptance/bundle/resource_deps/create_error/output.txt
@janniklasrose
janniklasrose marked this pull request as ready for review November 11, 2026 16:54
@janniklasrose
janniklasrose requested review from a team as code owners November 11, 2026 16:54
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Commit: fc1c07d45 | Workflow run

Regression test report

Selected 20 changed tests (limit=20, 29 not selected)

35 tests: regression=35 unreleased=0 coverage=0 failing=0
test branch main (4bb0730) latest (v1.26.0)
TestAccept/bundle/deploy/empty-resource-id/create/DMS= ✅ ❌ ❌
TestAccept/bundle/deploy/empty-resource-id/create/DMS=true ✅ ❌ ❌
TestAccept/bundle/deploy/empty-resource-id/update/DMS= ✅ ❌ ❌
TestAccept/bundle/deploy/empty-resource-id/update/DMS=true ✅ ❌ ❌
TestAccept/bundle/deploy/summary-on-error/DMS= ✅ ❌ ❌
TestAccept/bundle/deploy/summary-on-error/DMS=true ✅ ❌ ❌
TestAccept/bundle/deployment/bind/postgres_data_api/DMS= ✅ ❌ ❌
TestAccept/bundle/destroy/summary-on-error/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms/failed-delete/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms/failed-recreate/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms/failed-update-permissions/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms/record-failure/DMS=true ✅ ❌ ❌
TestAccept/bundle/migrate/auto/apply-failure/DMS= ✅ ❌ ❌
TestAccept/bundle/resource_deps/create_error/DMS= ✅ ❌ ❌
TestAccept/bundle/resource_deps/create_error/DMS=true ✅ ❌ ❌
TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS= ✅ ❌ ❌
TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS=true ✅ ❌ ❌
TestAccept/bundle/resource_deps/missing_map_key/DMS= ✅ ❌ ❌
TestAccept/bundle/resource_deps/missing_map_key/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/apps/create_already_exists/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/apps/create_already_exists/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/catalogs/empty-name/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/catalogs/empty-name/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/dashboards/publish-failure-cleans-up-dashboard/DMS=/READPLAN= ✅ ❌ ❌
TestAccept/bundle/resources/dashboards/publish-failure-cleans-up-dashboard/DMS=/READPLAN=1 ✅ ❌ ❌
TestAccept/bundle/resources/dashboards/publish-failure-cleans-up-dashboard/DMS=true/READPLAN= ✅ ❌ ❌
TestAccept/bundle/resources/dashboards/publish-failure-cleans-up-dashboard/DMS=true/READPLAN=1 ✅ ❌ ❌
TestAccept/bundle/resources/postgres_endpoints/remove_suspend_timeout/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/postgres_endpoints/remove_suspend_timeout/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/postgres_projects/add_default_endpoint_settings/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/postgres_projects/add_default_endpoint_settings/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/postgres_projects/remove_history_retention/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/postgres_projects/remove_history_retention/DMS=true ✅ ❌ ❌
TestAccept/bundle/deploy/empty-resource-id/create/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n=== A successful create response without an ID fails the deployment\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.volumes.volume1: create returned an empty resource id\n\nFiles: 0 uploaded, 0 deleted\nResources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n\n=== The failed create does not save resource state\n\n>>> print_state.py\n{}\n\n=== The next plan still creates the resource\n\n>>> [CLI] bundle plan\ncreate volumes.volume1\n\nPlan: 1 to add, 0 to change, 0 to delete, 0 unchanged\n"
        	            	actual  : "\n=== A successful create response without an ID fails the deployment\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.volumes.volume1: create returned an empty resource id\n\nFiles: 0 uploaded, 0 deleted\n\n=== The failed create does not save resource state\n\n>>> print_state.py\n{}\n\n=== The next plan still creates the resource\n\n>>> [CLI] bundle plan\ncreate volumes.volume1\n\nPlan: 1 to add, 0 to change, 0 to delete, 0 unchanged\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -8,3 +8,2 @@
        	            	 Files: 0 uploaded, 0 deleted
        	            	-Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/deploy/empty-resource-id/create/DMS=
        	Messages:   	bundle/deploy/empty-resource-id/create/output.txt vs /tmp/TestAcceptbundledeployempty-resource-idcreateDMS=2345371196/002/output.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/deploy/empty-resource-id/create/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n=== A successful create response without an ID fails the deployment\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.volumes.volume1: create returned an empty resource id\n\nFiles: 0 uploaded, 0 deleted\nResources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n\n=== The failed create does not save resource state\n\n>>> print_state.py\n{}\n\n=== The next plan still creates the resource\n\n>>> [CLI] bundle plan\ncreate volumes.volume1\n\nPlan: 1 to add, 0 to change, 0 to delete, 0 unchanged\n"
        	            	actual  : "\n=== A successful create response without an ID fails the deployment\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.volumes.volume1: create returned an empty resource id\n\nFiles: 0 uploaded, 0 deleted\n\n=== The failed create does not save resource state\n\n>>> print_state.py\n{}\n\n=== The next plan still creates the resource\n\n>>> [CLI] bundle plan\ncreate volumes.volume1\n\nPlan: 1 to add, 0 to change, 0 to delete, 0 unchanged\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -8,3 +8,2 @@
        	            	 Files: 0 uploaded, 0 deleted
        	            	-Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/deploy/empty-resource-id/create/DMS=true
        	Messages:   	bundle/deploy/empty-resource-id/create/output.txt vs /tmp/TestAcceptbundledeployempty-resource-idcreateDMS=true3446791390/002/output.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/deploy/empty-resource-id/update/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/deploy/empty-resource-id/update/output.txt
        +++ /tmp/TestAcceptbundledeployempty-resource-idupdateDMS=1317273460/002/output.txt
        @@ -14,7 +14,6 @@
         Error: cannot update_id resources.volumes.volume1: update returned an empty resource id
         
         Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         === The failed rename preserves the original ID and state

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/deploy/empty-resource-id/update/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/deploy/empty-resource-id/update/output.txt
        +++ /tmp/TestAcceptbundledeployempty-resource-idupdateDMS=true1466032156/002/output.txt
        @@ -14,7 +14,6 @@
         Error: cannot update_id resources.volumes.volume1: update returned an empty resource id
         
         Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         === The failed rename preserves the original ID and state
         
        
FAIL

latest (v1.26.0):

acceptance_test.go:1345: Diff:
        --- bundle/deploy/empty-resource-id/update/output.txt
        +++ /tmp/TestAcceptbundledeployempty-resource-idupdateDMS=true475004196/002/output.txt
        @@ -14,7 +14,6 @@
         Error: cannot update_id resources.volumes.volume1: update returned an empty resource id
         
         Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         === The failed rename preserves the original ID and state
TestAccept/bundle/deploy/summary-on-error/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n=== Deploy three chained jobs; the second create fails\n\n>>> fault.py POST /api/2.2/jobs/create 400 1 1 INVALID_PARAMETER_VALUE\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-deploy-summary-on-error/default/files...\nCreated jobs.job_01\nError: cannot create resources.jobs.job_02: Fault injected by test. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Fault injected by test.\n\nError: cannot create resources.jobs.job_03: dependency failed: resources.jobs.job_02\n\nFiles: 1 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 2 failed\n"
        	            	actual  : "\n=== Deploy three chained jobs; the second create fails\n\n>>> fault.py POST /api/2.2/jobs/create 400 1 1 INVALID_PARAMETER_VALUE\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-deploy-summary-on-error/default/files...\nCreated jobs.job_01\nError: cannot create resources.jobs.job_02: Fault injected by test. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Fault injected by test.\n\nError: cannot create resources.jobs.job_03: dependency failed: resources.jobs.job_02\n\nFiles: 1 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -18,3 +18,2 @@
        	            	 Files: 1 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 2 failed
        	            	 
        	Test:       	TestAccept/bundle/deploy/summary-on-error/DMS=
        	Messages:   	bundle/deploy/summary-on-error/output.txt vs /tmp/TestAcceptbundledeploysummary-on-errorDMS=2027364796/002/output.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/deploy/summary-on-error/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n=== Deploy three chained jobs; the second create fails\n\n>>> fault.py POST /api/2.2/jobs/create 400 1 1 INVALID_PARAMETER_VALUE\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-deploy-summary-on-error/default/files...\nCreated jobs.job_01\nError: cannot create resources.jobs.job_02: Fault injected by test. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Fault injected by test.\n\nError: cannot create resources.jobs.job_03: dependency failed: resources.jobs.job_02\n\nFiles: 1 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 2 failed\n"
        	            	actual  : "\n=== Deploy three chained jobs; the second create fails\n\n>>> fault.py POST /api/2.2/jobs/create 400 1 1 INVALID_PARAMETER_VALUE\n\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-deploy-summary-on-error/default/files...\nCreated jobs.job_01\nError: cannot create resources.jobs.job_02: Fault injected by test. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Fault injected by test.\n\nError: cannot create resources.jobs.job_03: dependency failed: resources.jobs.job_02\n\nFiles: 1 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -18,3 +18,2 @@
        	            	 Files: 1 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 2 failed
        	            	 
        	Test:       	TestAccept/bundle/deploy/summary-on-error/DMS=true
        	Messages:   	bundle/deploy/summary-on-error/output.txt vs /tmp/TestAcceptbundledeploysummary-on-errorDMS=true3935047708/002/output.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/deployment/bind/postgres_data_api/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/deployment/bind/postgres_data_api/output.txt
        +++ /tmp/TestAcceptbundledeploymentbindpostgres_data_apiDMS=855882724/002/output.txt
        @@ -13,7 +13,6 @@
         API message: Data API is already enabled for this database
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         === Bind adopts the existing Data API
         
        
    acceptance_test.go:1123: 
        LOG.setup: {
        LOG.setup:   "create_time": "2026-11-11T19:43:24.004631676Z",
        LOG.setup:   "name": "projects/test-project",
        LOG.setup:   "project_id": "test-project",
        LOG.setup:   "status": {
        LOG.setup:     "branch_logical_size_limit_bytes": 8796093022208,
        LOG.setup:     "default_branch": "projects/test-project/branches/production",
        LOG.setup:     "default_endpoint_settings": {
        LOG.setup:       "autoscaling_limit_max_cu": 1,
        LOG.setup:       "autoscaling_limit_min_cu": 1,
        LOG.setup:       "suspend_timeout_duration": "86400s"
        LOG.setup:     },
        LOG.setup:     "display_name": "Test Project",
        LOG.setup:     "enable_pg_native_login": false,
        LOG.setup:     "history_retention_duration": "604800s",
        LOG.setup:     "owner": "tester@databricks.com",
        LOG.setup:     "pg_version": 16,
        LOG.setup:     "project_id": "test-project",
        LOG.setup:     "synthetic_storage_size_bytes": 0
        LOG.setup:   },
        LOG.setup:   "uid": "7a0c1409-a515-490c-7a0c-1409a5154a11",
        LOG.setup:   "update_time": "2026-11-11T19:43:24.004631676Z"
        LOG.setup: }
        LOG.setup: {
        LOG.setup:   "create_time": "2026-11-11T19:43:24.045830214Z",
        LOG.setup:   "database_id": "test-database",
        LOG.setup:   "name": "projects/test-project/branches/production/databases/test-database",
        LOG.setup:   "parent": "projects/test-project/branches/production",
        LOG.setup:   "status": {
        LOG.setup:     "database_id": "test-database",
        LOG.setup:     "postgres_database": "app_db",
        LOG.setup:     "role": "projects/test-project/branches/production/roles/owner"
        LOG.setup:   },
        LOG.setup:   "update_time": "2026-11-11T19:43:24.045830214Z"
        LOG.setup: }
        LOG.setup: {
        LOG.setup:   "create_time": "2026-11-11T19:43:24.080961404Z",
        LOG.setup:   "name": "projects/test-project/branches/production/databases/test-database/data-api",
        LOG.setup:   "parent": "projects/test-project/branches/production/databases/test-database",
        LOG.setup:   "status": {
        LOG.setup:     "available_schemas": [
        LOG.setup:       "public"
        LOG.setup:     ],
        LOG.setup:     "db_aggregates_enabled": true,
        LOG.setup:     "db_schemas": [
        LOG.setup:       "public"
        LOG.setup:     ],
        LOG.setup:     "jwt_role_claim_key": ".sub",
        LOG.setup:     "openapi_mode": "OPEN_API_MODE_DISABLED",
        LOG.setup:     "server_cors_allowed_origins": [
        LOG.setup:       "none"
        LOG.setup:     ],
        LOG.setup:     "url": "https://ep-7a0c1409-a515-6fbe-7.database.us-east-1.cloud.databricks.com/api/2.0/workspace/900800700600/rest/app_db"
        LOG.setup:   },
        LOG.setup:   "update_time": "2026-11-11T19:43:24.080961404Z"
        LOG.setup: }

latest (v1.26.0):

acceptance_test.go:1345: Diff:
        --- bundle/deployment/bind/postgres_data_api/output.txt
        +++ /tmp/TestAcceptbundledeploymentbindpostgres_data_apiDMS=1067348760/002/output.txt
        @@ -13,7 +13,6 @@
         API message: Data API is already enabled for this database
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         === Bind adopts the existing Data API
         
        
    acceptance_test.go:1123: 
        LOG.setup: {
        LOG.setup:   "create_time": "2026-11-11T19:43:33.355021952Z",
        LOG.setup:   "name": "projects/test-project",
        LOG.setup:   "project_id": "test-project",
        LOG.setup:   "status": {
        LOG.setup:     "branch_logical_size_limit_bytes": 8796093022208,
        LOG.setup:     "default_branch": "projects/test-project/branches/production",
        LOG.setup:     "default_endpoint_settings": {
        LOG.setup:       "autoscaling_limit_max_cu": 1,
        LOG.setup:       "autoscaling_limit_min_cu": 1,
        LOG.setup:       "suspend_timeout_duration": "86400s"
        LOG.setup:     },
        LOG.setup:     "display_name": "Test Project",
        LOG.setup:     "enable_pg_native_login": false,
        LOG.setup:     "history_retention_duration": "604800s",
        LOG.setup:     "owner": "tester@databricks.com",
        LOG.setup:     "pg_version": 16,
        LOG.setup:     "project_id": "test-project",
        LOG.setup:     "synthetic_storage_size_bytes": 0
        LOG.setup:   },
        LOG.setup:   "uid": "7a0c140b-d268-e94a-7a0c-140bd268eaaf",
        LOG.setup:   "update_time": "2026-11-11T19:43:33.355021952Z"
        LOG.setup: }
        LOG.setup: {
        LOG.setup:   "create_time": "2026-11-11T19:43:33.403208904Z",
        LOG.setup:   "database_id": "test-database",
        LOG.setup:   "name": "projects/test-project/branches/production/databases/test-database",
        LOG.setup:   "parent": "projects/test-project/branches/production",
        LOG.setup:   "status": {
        LOG.setup:     "database_id": "test-database",
        LOG.setup:     "postgres_database": "app_db",
        LOG.setup:     "role": "projects/test-project/branches/production/roles/owner"
        LOG.setup:   },
        LOG.setup:   "update_time": "2026-11-11T19:43:33.403208904Z"
        LOG.setup: }
        LOG.setup: {
        LOG.setup:   "create_time": "2026-11-11T19:43:33.449760745Z",
        LOG.setup:   "name": "projects/test-project/branches/production/databases/test-database/data-api",
        LOG.setup:   "parent": "projects/test-project/branches/production/databases/test-database",
        LOG.setup:   "status": {
        LOG.setup:     "available_schemas": [
        LOG.setup:       "public"
        LOG.setup:     ],
        LOG.setup:     "db_aggregates_enabled": true,
        LOG.setup:     "db_schemas": [
        LOG.setup:       "public"
        LOG.setup:     ],
        LOG.setup:     "jwt_role_claim_key": ".sub",
        LOG.setup:     "openapi_mode": "OPEN_API_MODE_DISABLED",
        LOG.setup:     "server_cors_allowed_origins": [
        LOG.setup:       "none"
        LOG.setup:     ],
        LOG.setup:     "url": "https://ep-7a0c140b-d269-fbf9-7.database.us-east-1.cloud.databricks.com/api/2.0/workspace/900800700600/rest/app_db"
        LOG.setup:   },
        LOG.setup:   "update_time": "2026-11-11T19:43:33.449760745Z"
        LOG.setup: }
TestAccept/bundle/destroy/summary-on-error/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/destroy/summary-on-error/output.txt
        +++ /tmp/TestAcceptbundledestroysummary-on-errorDMS=true1347399702/002/output.txt
        @@ -28,4 +28,3 @@
         API error_code: INVALID_PARAMETER_VALUE
         API message: Fault injected by test.
         
        -Destroy: 2 deleted, 1 failed

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/dms/failed-delete/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/dms/failed-delete/output.txt
        +++ /tmp/TestAcceptbundledmsfailed-deleteDMS=true3999560238/002/output.txt
        @@ -137,7 +137,6 @@
         API error_code: INVALID_PARAMETER_VALUE
         API message: Fault injected by test.
         
        -Destroy: 0 deleted, 1 failed
         
         >>> print_requests.py --dms //api/2.0/bundle
         {

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/dms/failed-recreate/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/dms/failed-recreate/output.txt
        +++ /tmp/TestAcceptbundledmsfailed-recreateDMS=true1498147941/002/output.txt
        @@ -129,7 +129,6 @@
         API message: Fault injected by test.
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 1 deleted, 0 unchanged, 1 failed
         
         >>> print_requests.py --dms //api/2.0/bundle
         {
        
    acceptance_test.go:1123: 
        LOG.catalog: {
        LOG.catalog:   "catalog_type": "MANAGED_CATALOG",
        LOG.catalog:   "created_at": 1794426202616,
        LOG.catalog:   "created_by": "tester@databricks.com",
        LOG.catalog:   "full_name": "dms_other_7zu2eriwkzdozlejghyx4bwcgu",
        LOG.catalog:   "metastore_id": "7a0c1409-525c-976f-7a0c-1409525c9871",
        LOG.catalog:   "name": "dms_other_7zu2eriwkzdozlejghyx4bwcgu",
        LOG.catalog:   "owner": "tester@databricks.com",
        LOG.catalog:   "updated_at": 1794426202616,
        LOG.catalog:   "updated_by": "tester@databricks.com"
        LOG.catalog: }
    acceptance_test.go:1123: 
        LOG.plan_final: create schemas.foo
        LOG.plan_final: 
        LOG.plan_final: Plan: 1 to add, 0 to change, 0 to delete, 0 unchanged

latest (v1.26.0):

acceptance_test.go:1345: Diff:
        --- bundle/dms/failed-recreate/output.txt
        +++ /tmp/TestAcceptbundledmsfailed-recreateDMS=true4027512917/002/output.txt
        @@ -129,7 +129,6 @@
         API message: Fault injected by test.
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 1 deleted, 0 unchanged, 1 failed
         
         >>> print_requests.py --dms //api/2.0/bundle
         {
        
    acceptance_test.go:1123: 
        LOG.catalog: {
        LOG.catalog:   "catalog_type": "MANAGED_CATALOG",
        LOG.catalog:   "created_at": 1794426212091,
        LOG.catalog:   "created_by": "tester@databricks.com",
        LOG.catalog:   "full_name": "dms_other_avoypozqmfhxhd7xyl5b3jyvua",
        LOG.catalog:   "metastore_id": "7a0c140b-871d-1d82-7a0c-140b871d1e92",
        LOG.catalog:   "name": "dms_other_avoypozqmfhxhd7xyl5b3jyvua",
        LOG.catalog:   "owner": "tester@databricks.com",
        LOG.catalog:   "updated_at": 1794426212091,
        LOG.catalog:   "updated_by": "tester@databricks.com"
        LOG.catalog: }
    acceptance_test.go:1123: 
        LOG.plan_final: create schemas.foo
        LOG.plan_final: 
        LOG.plan_final: Plan: 1 to add, 0 to change, 0 to delete, 0 unchanged
TestAccept/bundle/dms/failed-update-permissions/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/dms/failed-update-permissions/output.txt
        +++ /tmp/TestAcceptbundledmsfailed-update-permissionsDMS=true343189086/002/output.txt
        @@ -111,7 +111,6 @@
         API message: Fault injected by test.
         
         Files: 1 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged, 1 failed
         
         === The service lists the job with the failure

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/dms/record-failure/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/dms/record-failure/output.txt
        +++ /tmp/TestAcceptbundledmsrecord-failureDMS=true788069739/002/output.txt
        @@ -11,7 +11,6 @@
         API message: Node type nonexistent-node-type is not supported. Supported node types: [NODE_TYPES]
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         >>> [CLI] bundle plan -o json
         {

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/migrate/auto/apply-failure/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/migrate/auto/apply-failure/output.txt
        +++ /tmp/TestAcceptbundlemigrateautoapply-failureDMS=3248165826/002/output.txt
        @@ -19,7 +19,6 @@
         API message: Fault injected by test.
         
         Files: 1 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         Exit code: 1

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resource_deps/create_error/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/resource_deps/create_error/output.txt
        +++ /tmp/TestAcceptbundleresource_depscreate_errorDMS=3333283291/002/output.txt
        @@ -76,14 +76,7 @@
         Plan: 3 to add, 0 to change, 0 to delete, 1 unchanged
         
         === Second deploy: only the summary differs, independent is now unchanged
        ---- out.deploy.txt
        -+++ out.deploy2.txt
        -@@ -12,3 +12,3 @@
         
        - Files: 0 uploaded, 0 deleted
        --Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 3 failed
        -+Resources: 0 created, 0 changed, 0 deleted, 1 unchanged, 3 failed
        -
         >>> print_requests.py --nostamp //jobs
         {
           "method": "POST",
        
    acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.jobs.foo: INJECTED (500 UNKNOWN)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 500 Internal Server Error\nAPI error_code: UNKNOWN\nAPI message: INJECTED\n\nError: cannot create resources.jobs.bar: dependency failed: resources.jobs.foo\n\nError: cannot create resources.jobs.baz: dependency failed: resources.jobs.foo\n\nFiles: 0 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 3 failed\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.jobs.foo: INJECTED (500 UNKNOWN)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 500 Internal Server Error\nAPI error_code: UNKNOWN\nAPI message: INJECTED\n\nError: cannot create resources.jobs.bar: dependency failed: resources.jobs.foo\n\nError: cannot create resources.jobs.baz: dependency failed: resources.jobs.foo\n\nFiles: 0 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -13,3 +13,2 @@
        	            	 Files: 0 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 3 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/create_error/DMS=
        	Messages:   	bundle/resource_deps/create_error/out.deploy.txt vs /tmp/TestAcceptbundleresource_depscreate_errorDMS=3333283291/001/out.deploy.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resource_deps/create_error/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/resource_deps/create_error/output.txt
        +++ /tmp/TestAcceptbundleresource_depscreate_errorDMS=true407812246/002/output.txt
        @@ -76,14 +76,7 @@
         Plan: 3 to add, 0 to change, 0 to delete, 1 unchanged
         
         === Second deploy: only the summary differs, independent is now unchanged
        ---- out.deploy.txt
        -+++ out.deploy2.txt
        -@@ -12,3 +12,3 @@
         
        - Files: 0 uploaded, 0 deleted
        --Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 3 failed
        -+Resources: 0 created, 0 changed, 0 deleted, 1 unchanged, 3 failed
        -
         >>> print_requests.py --nostamp //jobs
         {
           "method": "POST",
        
    acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.jobs.foo: INJECTED (500 UNKNOWN)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 500 Internal Server Error\nAPI error_code: UNKNOWN\nAPI message: INJECTED\n\nError: cannot create resources.jobs.bar: dependency failed: resources.jobs.foo\n\nError: cannot create resources.jobs.baz: dependency failed: resources.jobs.foo\n\nFiles: 0 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 3 failed\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nError: cannot create resources.jobs.foo: INJECTED (500 UNKNOWN)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.2/jobs/create\nHTTP Status: 500 Internal Server Error\nAPI error_code: UNKNOWN\nAPI message: INJECTED\n\nError: cannot create resources.jobs.bar: dependency failed: resources.jobs.foo\n\nError: cannot create resources.jobs.baz: dependency failed: resources.jobs.foo\n\nFiles: 0 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -13,3 +13,2 @@
        	            	 Files: 0 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 3 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/create_error/DMS=true
        	Messages:   	bundle/resource_deps/create_error/out.deploy.txt vs /tmp/TestAcceptbundleresource_depscreate_errorDMS=true407812246/001/out.deploy.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nCreated pipelines.foo\nError: cannot create resources.pipelines.bar: cannot resolve \"${resources.pipelines.foo.ingestion_definition.connection_name}\": ingestion_definition: cannot access nil value\n\nFiles: 4 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n\nExit code: 1\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nCreated pipelines.foo\nError: cannot create resources.pipelines.bar: cannot resolve \"${resources.pipelines.foo.ingestion_definition.connection_name}\": ingestion_definition: cannot access nil value\n\nFiles: 4 uploaded, 0 deleted\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -5,3 +5,2 @@
        	            	 Files: 4 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS=
        	Messages:   	bundle/resource_deps/missing_ingestion_definition/out.deploy.txt vs /tmp/TestAcceptbundleresource_depsmissing_ingestion_definitionDMS3703593323/001/out.deploy.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nCreated pipelines.foo\nError: cannot create resources.pipelines.bar: cannot resolve \"${resources.pipelines.foo.ingestion_definition.connection_name}\": ingestion_definition: cannot access nil value\n\nFiles: 4 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n\nExit code: 1\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nCreated pipelines.foo\nError: cannot create resources.pipelines.bar: cannot resolve \"${resources.pipelines.foo.ingestion_definition.connection_name}\": ingestion_definition: cannot access nil value\n\nFiles: 4 uploaded, 0 deleted\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -5,3 +5,2 @@
        	            	 Files: 4 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS=true
        	Messages:   	bundle/resource_deps/missing_ingestion_definition/out.deploy.txt vs /tmp/TestAcceptbundleresource_depsmissing_ingestion_definitionDMS1398128649/001/out.deploy.txt

latest (v1.26.0):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nCreated pipelines.foo\nError: cannot create resources.pipelines.bar: cannot resolve \"${resources.pipelines.foo.ingestion_definition.connection_name}\": ingestion_definition: cannot access nil value\n\nFiles: 4 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n\nExit code: 1\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...\nCreated pipelines.foo\nError: cannot create resources.pipelines.bar: cannot resolve \"${resources.pipelines.foo.ingestion_definition.connection_name}\": ingestion_definition: cannot access nil value\n\nFiles: 4 uploaded, 0 deleted\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -5,3 +5,2 @@
        	            	 Files: 4 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/missing_ingestion_definition/DMS=true
        	Messages:   	bundle/resource_deps/missing_ingestion_definition/out.deploy.txt vs /tmp/TestAcceptbundleresource_depsmissing_ingestion_definitionDMS1374469668/001/out.deploy.txt
FAIL
TestAccept/bundle/resource_deps/missing_map_key/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/state/default/files...\nCreated jobs.test\nError: cannot create resources.jobs.bar: cannot resolve \"${resources.jobs.test.tasks[0].new_cluster.custom_tags.missing_tag}\": tasks[0].new_cluster.custom_tags.missing_tag: key \"missing_tag\" not found in map\n\nFiles: 4 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/state/default/files...\nCreated jobs.test\nError: cannot create resources.jobs.bar: cannot resolve \"${resources.jobs.test.tasks[0].new_cluster.custom_tags.missing_tag}\": tasks[0].new_cluster.custom_tags.missing_tag: key \"missing_tag\" not found in map\n\nFiles: 4 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -5,3 +5,2 @@
        	            	 Files: 4 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/missing_map_key/DMS=
        	Messages:   	bundle/resource_deps/missing_map_key/out.deploy.txt vs /tmp/TestAcceptbundleresource_depsmissing_map_keyDMS=1093410257/001/out.deploy.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resource_deps/missing_map_key/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1098
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/state/default/files...\nCreated jobs.test\nError: cannot create resources.jobs.bar: cannot resolve \"${resources.jobs.test.tasks[0].new_cluster.custom_tags.missing_tag}\": tasks[0].new_cluster.custom_tags.missing_tag: key \"missing_tag\" not found in map\n\nFiles: 4 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n"
        	            	actual  : "Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/state/default/files...\nCreated jobs.test\nError: cannot create resources.jobs.bar: cannot resolve \"${resources.jobs.test.tasks[0].new_cluster.custom_tags.missing_tag}\": tasks[0].new_cluster.custom_tags.missing_tag: key \"missing_tag\" not found in map\n\nFiles: 4 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -5,3 +5,2 @@
        	            	 Files: 4 uploaded, 0 deleted
        	            	-Resources: 1 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resource_deps/missing_map_key/DMS=true
        	Messages:   	bundle/resource_deps/missing_map_key/out.deploy.txt vs /tmp/TestAcceptbundleresource_depsmissing_map_keyDMS=true3380462261/001/out.deploy.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resources/apps/create_already_exists/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/resources/apps/create_already_exists/output.txt
        +++ /tmp/TestAcceptbundleresourcesappscreate_already_existsDMS=782028749/002/output.txt
        @@ -38,7 +38,6 @@
         API message: An app with the same name already exists: test-app-already-exists
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         >>> [CLI] apps delete test-app-already-exists
         {

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resources/apps/create_already_exists/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: Diff:
        --- bundle/resources/apps/create_already_exists/output.txt
        +++ /tmp/TestAcceptbundleresourcesappscreate_already_existsDMS=true3768592483/002/output.txt
        @@ -38,7 +38,6 @@
         API message: An app with the same name already exists: test-app-already-exists
         
         Files: 2 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
         
         >>> [CLI] apps delete test-app-already-exists
         {

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resources/catalogs/empty-name/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/catalog-empty-name-[UNIQUE_NAME]/default/files...\nError: cannot create resources.catalogs.mycatalog: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.1/unity-catalog/catalogs\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters.\n\nFiles: 2 uploaded, 0 deleted\nResources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n"
        	            	actual  : "\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/catalog-empty-name-[UNIQUE_NAME]/default/files...\nError: cannot create resources.catalogs.mycatalog: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.1/unity-catalog/catalogs\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters.\n\nFiles: 2 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -11,3 +11,2 @@
        	            	 Files: 2 uploaded, 0 deleted
        	            	-Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resources/catalogs/empty-name/DMS=
        	Messages:   	bundle/resources/catalogs/empty-name/output.txt vs /tmp/TestAcceptbundleresourcescatalogsempty-nameDMS=1321750105/002/output.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resources/catalogs/empty-name/DMS=true: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/catalog-empty-name-[UNIQUE_NAME]/default/files...\nError: cannot create resources.catalogs.mycatalog: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.1/unity-catalog/catalogs\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters.\n\nFiles: 2 uploaded, 0 deleted\nResources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n"
        	            	actual  : "\n>>> musterr [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/catalog-empty-name-[UNIQUE_NAME]/default/files...\nError: cannot create resources.catalogs.mycatalog: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters. (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.1/unity-catalog/catalogs\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: Invalid input: RPC CreateCatalog Field managedcatalog.CatalogInfo.name: name \"\" is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters.\n\nFiles: 2 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -11,3 +11,2 @@
        	            	 Files: 2 uploaded, 0 deleted
        	            	-Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resources/catalogs/empty-name/DMS=true
        	Messages:   	bundle/resources/catalogs/empty-name/output.txt vs /tmp/TestAcceptbundleresourcescatalogsempty-nameDMS=true414299642/002/output.txt

latest (v1.26.0): same output as main (4bb0730)

TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS=: branch ✅ | main (4bb0730) ❌ | latest (v1.26.0) ❌

main (4bb0730):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n=== Deploying a policy with both definition and policy_family_id must fail\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files...\nError: cannot create resources.cluster_policies.pol: policy_family_id and definition cannot be used together (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.0/policies/clusters/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: policy_family_id and definition cannot be used together\n\nFiles: 2 uploaded, 0 deleted\nResources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n"
        	            	actual  : "\n=== Deploying a policy with both definition and policy_family_id must fail\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files...\nError: cannot create resources.cluster_policies.pol: policy_family_id and definition cannot be used together (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.0/policies/clusters/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: policy_family_id and definition cannot be used together\n\nFiles: 2 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -11,3 +11,2 @@
        	            	 Files: 2 uploaded, 0 deleted
        	            	-Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS=
        	Messages:   	bundle/resources/cluster_policies/definition_and_family_conflict/output.txt vs /tmp/TestAcceptbundleresourcescluster_policiesdefinition_and_fami4176995994/002/output.txt
    acceptance_test.go:1123: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/tklzgg5kizgmvmymlqxj25psb4
        LOG.destroy: 
        LOG.destroy: Destroy: 0 deleted

latest (v1.26.0):

acceptance_test.go:1345: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1345
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1086
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:660
        	Error:      	Not equal: 
        	            	expected: "\n=== Deploying a policy with both definition and policy_family_id must fail\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files...\nError: cannot create resources.cluster_policies.pol: policy_family_id and definition cannot be used together (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.0/policies/clusters/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: policy_family_id and definition cannot be used together\n\nFiles: 2 uploaded, 0 deleted\nResources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed\n"
        	            	actual  : "\n=== Deploying a policy with both definition and policy_family_id must fail\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/[UNIQUE_NAME]/files...\nError: cannot create resources.cluster_policies.pol: policy_family_id and definition cannot be used together (400 INVALID_PARAMETER_VALUE)\n\nEndpoint: POST [DATABRICKS_URL]/api/2.0/policies/clusters/create\nHTTP Status: 400 Bad Request\nAPI error_code: INVALID_PARAMETER_VALUE\nAPI message: policy_family_id and definition cannot be used together\n\nFiles: 2 uploaded, 0 deleted\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -11,3 +11,2 @@
        	            	 Files: 2 uploaded, 0 deleted
        	            	-Resources: 0 created, 0 changed, 0 deleted, 0 unchanged, 1 failed
        	            	 
        	Test:       	TestAccept/bundle/resources/cluster_policies/definition_and_family_conflict/DMS=
        	Messages:   	bundle/resources/cluster_policies/definition_and_family_conflict/output.txt vs /tmp/TestAcceptbundleresourcescluster_policiesdefinition_and_fami2654520699/002/output.txt
    acceptance_test.go:1123: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/yqacl6radbf37huszy7cri5pxi
        LOG.destroy: 
        LOG.destroy: Destroy: 0 deleted

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

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

  • The two .nextchanges/bundles/ fragments overlap (the destroy-on-error entry is a subset of the first); one entry would read better in the changelog.

Comment thread bundle/deployplan/plan.go
}
case Recreate:
// The old resource can be gone even if creating its replacement failed.
if entry.RecreateDeleted {

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.

bundle plan still counts a job_run recreate as 1 to delete (CountActions, on_bundle_deploy/output.txt:31) while deploy now reports 0 deleted for the same plan (line 55). Could the plan mark such Recreate entries at plan time, like bundle_plan.go:237 does for StateOnly deletes, so both tallies read one flag?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

see follow-up PR #7496 that reports this as "removed from state"

Comment thread bundle/phases/deploy.go
// partial resource failure this still reports what succeeded and what failed. A
// failure with no failed resources (e.g. a later state-push error) reports files
// only, as before - see acceptance bundle/deploy/partial-summary-on-push-fail.
if !logdiag.HasError(ctx) || plan.CountApplied().Failed > 0 {

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.

With 3 creates applied and then a Finalize or PushResourcesState error, this gate still drops the resource line, though the counts are now accurate. Should it gate on "any entry attempted" instead, or is keeping the old output deliberate?

andrewnester added a commit that referenced this pull request Nov 11, 2026
With BASE at the merge base with main, a PR stacked on another PR shows
the parent's hunks too and they get reviewed twice (#7496 on #7006).

Co-authored-by: Isaac <no-reply@databricks.com>
@janniklasrose
janniklasrose removed this pull request from stack #7497 November 11, 2026 19:09
@janniklasrose
janniklasrose changed the base branch from main to janniklasrose/postgres-plan-snapshot-parity November 11, 2026 19:10
tedjt pushed a commit to tedjt/cli that referenced this pull request Nov 12, 2026
…s to CI (databricks#7501)

## Changes
The main-distance check now says the review judges the code at `TARGET`
and only tells the author what moved on main. Stacked PRs take `BASE`
from their base branch so the parent PR is not reviewed twice. The
sentence asking to regenerate generated files locally is replaced by a
pointer to the CI check.

## Why
Follow-up to pietern's questions on databricks#7466, plus databricks#7496 (stacked on databricks#7006)
where the parent hunks showed up in the review.

## Tests
Docs only.

This pull request and its description were written by Isaac.

---------

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants