Skip to content

Share DMS lookup and common bundle metadata - #7766

Draft
shreyas-goenka wants to merge 1 commit into
shreyas-goenka_data/shreyas-goenka/bind-prepare-statefrom
shreyas-goenka_data/shreyas-goenka/shared-dms-metadata
Draft

shreyas-goenka wants to merge 1 commit into
shreyas-goenka_data/shreyas-goenka/bind-prepare-statefrom
shreyas-goenka_data/shreyas-goenka/shared-dms-metadata

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

Changes

Make existing deployment lookup and last-version parsing available in libs/dms, and factor common bundle/workspace metadata out of deploymentMetadata.

The shared metadata includes name, target, mode, workspace root, and Git-folder paths. deploymentMetadata continues to add deployed file paths, immutable snapshot paths, and source-link settings. Existing deployment behavior is preserved; the following bind-history PR can reuse common metadata without claiming uploaded files.

Validation

  • Existing lookup/parser callers use the shared helpers; the existing parser test is retained.
  • Metadata unit tests and deployment metadata/immutable-folder acceptance cases pass unchanged.
  • Scoped lint and three review passes cover behavior preservation and stack boundaries.

Stack: in-memory bind preparation #7765 → this PR → bind history #7400 → unbind history #7401.

This PR was written by Codex.

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Commit: b8461afbc | Workflow run

Regression test report

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

20 tests: regression=18 unreleased=0 coverage=2 failing=0
test branch main (4c87e6a) latest (v1.26.0)
TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN= ✅ ❌ ❌
TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1 ✅ ❌ ❌
TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN= ✅ ❌ ❌
TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1 ✅ ❌ ❌
TestAccept/bundle/deployment/bind/job/job-abort-bind/DMS= ✅ ✅ ✅
TestAccept/bundle/deployment/bind/job/job-abort-bind/DMS=true ✅ ✅ ✅
TestAccept/bundle/deployment/bind/job/noop-job/DMS= ✅ ❌ ❌
TestAccept/bundle/deployment/bind/job/noop-job/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/complete_version/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/delete_deployment/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/get_deployment/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/get_operation/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/get_resource/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/get_version/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/heartbeat/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/list_deployments/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/list_operations/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/list_resources/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/list_versions/DMS=true ✅ ❌ ❌
TestAccept/bundle/dms_fault/update_operation/DMS=true ✅ ❌ ❌
TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1384
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1137
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:688
        	Error:      	Not equal: 
        	            	expected: "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 1,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	actual  : "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 2,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,3 @@
        	            	  "lineage": "[UUID]",
        	            	- "serial": 1,
        	            	+ "serial": 2,
        	            	  "state": {
        	Test:       	TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
        	Messages:   	bundle/deployment/bind/dashboard/recreation/out.state_after_bind.json vs /tmp/TestAcceptbundledeploymentbinddashboardrecreationDMS=READ3014527652/001/out.state_after_bind.json

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

TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1384
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1137
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:688
        	Error:      	Not equal: 
        	            	expected: "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 1,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	actual  : "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 2,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,3 @@
        	            	  "lineage": "[UUID]",
        	            	- "serial": 1,
        	            	+ "serial": 2,
        	            	  "state": {
        	Test:       	TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1
        	Messages:   	bundle/deployment/bind/dashboard/recreation/out.state_after_bind.json vs /tmp/TestAcceptbundledeploymentbinddashboardrecreationDMS=READ2641397605/001/out.state_after_bind.json

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

TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1384
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1137
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:688
        	Error:      	Not equal: 
        	            	expected: "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 1,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	actual  : "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 2,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,3 @@
        	            	  "lineage": "[UUID]",
        	            	- "serial": 1,
        	            	+ "serial": 2,
        	            	  "state": {
        	Test:       	TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=
        	Messages:   	bundle/deployment/bind/dashboard/recreation/out.state_after_bind.json vs /tmp/TestAcceptbundledeploymentbinddashboardrecreationDMS=true405691240/001/out.state_after_bind.json

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

TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1384
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1137
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:688
        	Error:      	Not equal: 
        	            	expected: "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 1,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	actual  : "{\n \"state_version\": 3,\n \"cli_version\": \"[CLI_VERSION]\",\n \"lineage\": \"[UUID]\",\n \"serial\": 2,\n \"state\": {\n  \"resources.dashboards.dashboard1\": {\n   \"__id__\": \"[DASHBOARD_ID]\",\n   \"state\": {\n    \"display_name\": \"test dashboard [UNIQUE_NAME]\",\n    \"embed_credentials\": true,\n    \"etag\": [ETAG],\n    \"parent_path\": \"/Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default/resources\",\n    \"published\": true,\n    \"serialized_dashboard\": \"{\\\"pages\\\":[{\\\"displayName\\\":\\\"Page One\\\",\\\"name\\\":\\\"02724bf2\\\"}]}\",\n    \"warehouse_id\": \"[TEST_DEFAULT_WAREHOUSE_ID]\"\n   }\n  }\n }\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,3 @@
        	            	  "lineage": "[UUID]",
        	            	- "serial": 1,
        	            	+ "serial": 2,
        	            	  "state": {
        	Test:       	TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1
        	Messages:   	bundle/deployment/bind/dashboard/recreation/out.state_after_bind.json vs /tmp/TestAcceptbundledeploymentbinddashboardrecreationDMS=true862109229/001/out.state_after_bind.json

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

TestAccept/bundle/deployment/bind/job/noop-job/DMS=: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1384
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1125
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:688
        	Error:      	Not equal: 
        	            	expected: "\n>>> [CLI] jobs create --json {\"name\": \"My Job\"}\n\n>>> [CLI] bundle deployment bind job_1 [JOB_ID] --auto-approve\nSuccessfully bound job with an id '[JOB_ID]'\nRun 'bundle deploy' to deploy changes to your workspace\n\n>>> jq {serial, resource_id: .state[\"resources.jobs.job_1\"].__id__} .databricks/bundle/default/resources.json\n{\n  \"serial\": 1,\n  \"resource_id\": \"[JOB_ID]\"\n}\n\n>>> assert_not_exists.py .databricks/bundle/default/resources.json.wal .databricks/bundle/default/resources.json.temp-bind\n\n>>> [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/my_project/default/files...\nUpdated jobs.job_1\nFiles: 1 uploaded, 0 deleted\nResources: 0 created, 1 changed, 0 deleted, 0 unchanged\n\n>>> [CLI] jobs get [JOB_ID] --output json\n"
        	            	actual  : "\n>>> [CLI] jobs create --json {\"name\": \"My Job\"}\n\n>>> [CLI] bundle deployment bind job_1 [JOB_ID] --auto-approve\nSuccessfully bound job with an id '[JOB_ID]'\nRun 'bundle deploy' to deploy changes to your workspace\n\n>>> jq {serial, resource_id: .state[\"resources.jobs.job_1\"].__id__} .databricks/bundle/default/resources.json\n{\n  \"serial\": 2,\n  \"resource_id\": \"[JOB_ID]\"\n}\n\n>>> assert_not_exists.py .databricks/bundle/default/resources.json.wal .databricks/bundle/default/resources.json.temp-bind\n\n>>> [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/my_project/default/files...\nUpdated jobs.job_1\nFiles: 1 uploaded, 0 deleted\nResources: 0 created, 1 changed, 0 deleted, 0 unchanged\n\n>>> [CLI] jobs get [JOB_ID] --output json\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -9,3 +9,3 @@
        	            	 {
        	            	-  "serial": 1,
        	            	+  "serial": 2,
        	            	   "resource_id": "[JOB_ID]"
        	Test:       	TestAccept/bundle/deployment/bind/job/noop-job/DMS=
        	Messages:   	bundle/deployment/bind/job/noop-job/output.txt vs /tmp/TestAcceptbundledeploymentbindjobnoop-jobDMS=1629264848/002/output.txt

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

TestAccept/bundle/deployment/bind/job/noop-job/DMS=true: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1384
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1125
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:688
        	Error:      	Not equal: 
        	            	expected: "\n>>> [CLI] jobs create --json {\"name\": \"My Job\"}\n\n>>> [CLI] bundle deployment bind job_1 [JOB_ID] --auto-approve\nSuccessfully bound job with an id '[JOB_ID]'\nRun 'bundle deploy' to deploy changes to your workspace\n\n>>> jq {serial, resource_id: .state[\"resources.jobs.job_1\"].__id__} .databricks/bundle/default/resources.json\n{\n  \"serial\": 1,\n  \"resource_id\": \"[JOB_ID]\"\n}\n\n>>> assert_not_exists.py .databricks/bundle/default/resources.json.wal .databricks/bundle/default/resources.json.temp-bind\n\n>>> [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/my_project/default/files...\nUpdated jobs.job_1\nFiles: 1 uploaded, 0 deleted\nResources: 0 created, 1 changed, 0 deleted, 0 unchanged\n\n>>> [CLI] jobs get [JOB_ID] --output json\n"
        	            	actual  : "\n>>> [CLI] jobs create --json {\"name\": \"My Job\"}\n\n>>> [CLI] bundle deployment bind job_1 [JOB_ID] --auto-approve\nSuccessfully bound job with an id '[JOB_ID]'\nRun 'bundle deploy' to deploy changes to your workspace\n\n>>> jq {serial, resource_id: .state[\"resources.jobs.job_1\"].__id__} .databricks/bundle/default/resources.json\n{\n  \"serial\": 2,\n  \"resource_id\": \"[JOB_ID]\"\n}\n\n>>> assert_not_exists.py .databricks/bundle/default/resources.json.wal .databricks/bundle/default/resources.json.temp-bind\n\n>>> [CLI] bundle deploy\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/my_project/default/files...\nUpdated jobs.job_1\nFiles: 1 uploaded, 0 deleted\nResources: 0 created, 1 changed, 0 deleted, 0 unchanged\n\n>>> [CLI] jobs get [JOB_ID] --output json\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -9,3 +9,3 @@
        	            	 {
        	            	-  "serial": 1,
        	            	+  "serial": 2,
        	            	   "resource_id": "[JOB_ID]"
        	Test:       	TestAccept/bundle/deployment/bind/job/noop-job/DMS=true
        	Messages:   	bundle/deployment/bind/job/noop-job/output.txt vs /tmp/TestAcceptbundledeploymentbindjobnoop-jobDMS=true2077515820/002/output.txt

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

TestAccept/bundle/dms_fault/complete_version/DMS=true: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: Diff:
        --- bundle/dms_fault/complete_version/output.txt
        +++ /tmp/TestAcceptbundledms_faultcomplete_versionDMS=true1377050989/002/output.txt
        @@ -83,7 +83,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-complete_version-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=7
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
           Updated pipelines.bar
           Files: 6 uploaded, 0 deleted
           Resources: 0 created, 1 changed, 0 deleted, 1 unchanged
        @@ -102,7 +102,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-complete_version-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=11
           Updated jobs.foo
           Updated pipelines.bar
           Files: 2 uploaded, 0 deleted
        
    acceptance_test.go:1162: 
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:36531/deployments/4000000000000464?version=1
        LOG.commands: Created pipelines.bar
        LOG.commands: Created jobs.foo
        LOG.commands: Files: 4 uploaded, 0 deleted
        LOG.commands: Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
        LOG.commands: 
        LOG.commands: commands: ('workspace', 'get-status', '/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/state/resources.deployment.json', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "object_id": 4000000000000464,
        LOG.commands:   "object_type": "BUNDLE_DEPLOYMENT",
        LOG.commands:   "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/state/resources.deployment.json"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:36531/deployments/4000000000000464?version=2
        LOG.commands: Updated jobs.foo
        LOG.commands: Updated pipelines.bar
        LOG.commands: Files: 3 uploaded, 0 deleted
        LOG.commands: Resources: 0 created, 2 changed, 0 deleted, 0 unchanged
        LOG.commands: Warn: Failed to complete deployment history version: Fault injected by test.
        LOG.commands: 
        LOG.commands: commands: ('jobs', 'get', '8795013062161472897', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "created_time": 1795013062161,
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "job_id": 8795013062161472897,
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "settings": {
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000464",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "description": "history-true",
        LOG.commands:     "edit_mode": "UI_LOCKED",
        LOG.commands:     "email_notifications": {},
        LOG.commands:     "format": "MULTI_TASK",
        LOG.commands:     "max_concurrent_runs": 1,
        LOG.commands:     "name": "updated-dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi",
        LOG.commands:     "queue": {
        LOG.commands:       "enabled": true
        LOG.commands:     },
        LOG.commands:     "timeout_seconds": 0,
        LOG.commands:     "webhook_notifications": {}
        LOG.commands:   }
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('pipelines', 'get', '7a0e29c8-34dd-e22c-7a0e-29c834dde39f', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
        LOG.commands:   "last_modified": 1795013062158,
        LOG.commands:   "name": "updated-dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi",
        LOG.commands:   "pipeline_id": "7a0e29c8-34dd-e22c-7a0e-29c834dde39f",
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "spec": {
        LOG.commands:     "catalog": "main",
        LOG.commands:     "channel": "CURRENT",
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000464",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "edition": "ADVANCED",
        LOG.commands:     "id": "7a0e29c8-34dd-e22c-7a0e-29c834dde39f",
        LOG.commands:     "libraries": [
        LOG.commands:       {
        LOG.commands:         "file": {
        LOG.commands:           "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi/files/pipeline.sql"
        LOG.commands:         }
        LOG.commands:       }
        LOG.commands:     ],
        LOG.commands:     "name": "updated-dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi",
        LOG.commands:     "schema": "default",
        LOG.commands:     "serverless": true
        LOG.commands:   },
        LOG.commands:   "state": "IDLE"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'summary')
        LOG.commands: exit=0
        LOG.commands: Name: updated-dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi
        LOG.commands: Target: default
        LOG.commands: Workspace:
        LOG.commands:   User: tester@databricks.com
        LOG.commands:   Path: /Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-o2w4wphou5aspm332idwgcwidi
        LOG.commands: Resources:
        LOG.commands:   Jobs:
        LOG.commands:     foo:
        LOG.commands: ... (358 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

latest (v1.26.0):

acceptance_test.go:1384: Diff:
        --- bundle/dms_fault/complete_version/output.txt
        +++ /tmp/TestAcceptbundledms_faultcomplete_versionDMS=true399045600/002/output.txt
        @@ -83,7 +83,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-complete_version-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=7
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
           Updated pipelines.bar
           Files: 6 uploaded, 0 deleted
           Resources: 0 created, 1 changed, 0 deleted, 1 unchanged
        @@ -102,7 +102,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-complete_version-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=11
           Updated jobs.foo
           Updated pipelines.bar
           Files: 2 uploaded, 0 deleted
        
    acceptance_test.go:1162: 
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:40515/deployments/4000000000000580?version=1
        LOG.commands: Created jobs.foo
        LOG.commands: Created pipelines.bar
        LOG.commands: Files: 4 uploaded, 0 deleted
        LOG.commands: Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
        LOG.commands: 
        LOG.commands: commands: ('workspace', 'get-status', '/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/state/resources.deployment.json', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "object_id": 4000000000000580,
        LOG.commands:   "object_type": "BUNDLE_DEPLOYMENT",
        LOG.commands:   "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/state/resources.deployment.json"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:40515/deployments/4000000000000580?version=2
        LOG.commands: Updated jobs.foo
        LOG.commands: Updated pipelines.bar
        LOG.commands: Files: 3 uploaded, 0 deleted
        LOG.commands: Resources: 0 created, 2 changed, 0 deleted, 0 unchanged
        LOG.commands: Warn: Failed to complete deployment history version: Fault injected by test.
        LOG.commands: 
        LOG.commands: commands: ('jobs', 'get', '8795013088356192343', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "created_time": 1795013088356,
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "job_id": 8795013088356192343,
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "settings": {
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000580",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "description": "history-true",
        LOG.commands:     "edit_mode": "UI_LOCKED",
        LOG.commands:     "email_notifications": {},
        LOG.commands:     "format": "MULTI_TASK",
        LOG.commands:     "max_concurrent_runs": 1,
        LOG.commands:     "name": "updated-dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4",
        LOG.commands:     "queue": {
        LOG.commands:       "enabled": true
        LOG.commands:     },
        LOG.commands:     "timeout_seconds": 0,
        LOG.commands:     "webhook_notifications": {}
        LOG.commands:   }
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('pipelines', 'get', '7a0e29ce-4e8a-2c90-7a0e-29ce4e8a2d7b', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
        LOG.commands:   "last_modified": 1795013088358,
        LOG.commands:   "name": "updated-dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4",
        LOG.commands:   "pipeline_id": "7a0e29ce-4e8a-2c90-7a0e-29ce4e8a2d7b",
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "spec": {
        LOG.commands:     "catalog": "main",
        LOG.commands:     "channel": "CURRENT",
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000580",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "edition": "ADVANCED",
        LOG.commands:     "id": "7a0e29ce-4e8a-2c90-7a0e-29ce4e8a2d7b",
        LOG.commands:     "libraries": [
        LOG.commands:       {
        LOG.commands:         "file": {
        LOG.commands:           "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4/files/pipeline.sql"
        LOG.commands:         }
        LOG.commands:       }
        LOG.commands:     ],
        LOG.commands:     "name": "updated-dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4",
        LOG.commands:     "schema": "default",
        LOG.commands:     "serverless": true
        LOG.commands:   },
        LOG.commands:   "state": "IDLE"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'summary')
        LOG.commands: exit=0
        LOG.commands: Name: updated-dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4
        LOG.commands: Target: default
        LOG.commands: Workspace:
        LOG.commands:   User: tester@databricks.com
        LOG.commands:   Path: /Workspace/Users/tester@databricks.com/.bundle/dms-fault-complete_version-commands-b7z3uzwtfrfrdilrfmabat4dd4
        LOG.commands: Resources:
        LOG.commands:   Jobs:
        LOG.commands:     foo:
        LOG.commands: ... (358 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)
TestAccept/bundle/dms_fault/delete_deployment/DMS=true: branch ✅ | main (4c87e6a) ❌ | latest (v1.26.0) ❌

main (4c87e6a):

acceptance_test.go:1384: Diff:
        --- bundle/dms_fault/delete_deployment/output.txt
        +++ /tmp/TestAcceptbundledms_faultdelete_deploymentDMS=true2099268164/002/output.txt
        @@ -82,7 +82,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-delete_deployment-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=7
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
           Updated pipelines.bar
           Files: 6 uploaded, 0 deleted
           Resources: 0 created, 1 changed, 0 deleted, 1 unchanged
        @@ -100,7 +100,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-delete_deployment-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=11
           Updated jobs.foo
           Updated pipelines.bar
           Files: 2 uploaded, 0 deleted
        
    acceptance_test.go:1162: 
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:33329/deployments/4000000000000401?version=1
        LOG.commands: Created pipelines.bar
        LOG.commands: Created jobs.foo
        LOG.commands: Files: 4 uploaded, 0 deleted
        LOG.commands: Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
        LOG.commands: 
        LOG.commands: commands: ('workspace', 'get-status', '/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/state/resources.deployment.json', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "object_id": 4000000000000401,
        LOG.commands:   "object_type": "BUNDLE_DEPLOYMENT",
        LOG.commands:   "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/state/resources.deployment.json"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:33329/deployments/4000000000000401?version=2
        LOG.commands: Updated jobs.foo
        LOG.commands: Updated pipelines.bar
        LOG.commands: Files: 3 uploaded, 0 deleted
        LOG.commands: Resources: 0 created, 2 changed, 0 deleted, 0 unchanged
        LOG.commands: 
        LOG.commands: commands: ('jobs', 'get', '8795013061106810862', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "created_time": 1795013061108,
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "job_id": 8795013061106810862,
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "settings": {
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000401",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "description": "history-true",
        LOG.commands:     "edit_mode": "UI_LOCKED",
        LOG.commands:     "email_notifications": {},
        LOG.commands:     "format": "MULTI_TASK",
        LOG.commands:     "max_concurrent_runs": 1,
        LOG.commands:     "name": "updated-dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni",
        LOG.commands:     "queue": {
        LOG.commands:       "enabled": true
        LOG.commands:     },
        LOG.commands:     "timeout_seconds": 0,
        LOG.commands:     "webhook_notifications": {}
        LOG.commands:   }
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('pipelines', 'get', '7a0e29c7-f62d-443d-7a0e-29c7f62d457f', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
        LOG.commands:   "last_modified": 1795013061106,
        LOG.commands:   "name": "updated-dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni",
        LOG.commands:   "pipeline_id": "7a0e29c7-f62d-443d-7a0e-29c7f62d457f",
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "spec": {
        LOG.commands:     "catalog": "main",
        LOG.commands:     "channel": "CURRENT",
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000401",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "edition": "ADVANCED",
        LOG.commands:     "id": "7a0e29c7-f62d-443d-7a0e-29c7f62d457f",
        LOG.commands:     "libraries": [
        LOG.commands:       {
        LOG.commands:         "file": {
        LOG.commands:           "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni/files/pipeline.sql"
        LOG.commands:         }
        LOG.commands:       }
        LOG.commands:     ],
        LOG.commands:     "name": "updated-dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni",
        LOG.commands:     "schema": "default",
        LOG.commands:     "serverless": true
        LOG.commands:   },
        LOG.commands:   "state": "IDLE"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'summary')
        LOG.commands: exit=0
        LOG.commands: Name: updated-dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni
        LOG.commands: Target: default
        LOG.commands: Workspace:
        LOG.commands:   User: tester@databricks.com
        LOG.commands:   Path: /Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni
        LOG.commands: Resources:
        LOG.commands:   Jobs:
        LOG.commands:     foo:
        LOG.commands:       Name: updated-dms-fault-delete_deployment-commands-uimb2mw57zbtbonvqmrlj4xyni
        LOG.commands: ... (357 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

latest (v1.26.0):

acceptance_test.go:1384: Diff:
        --- bundle/dms_fault/delete_deployment/output.txt
        +++ /tmp/TestAcceptbundledms_faultdelete_deploymentDMS=true3781122895/002/output.txt
        @@ -82,7 +82,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-delete_deployment-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=7
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
           Updated pipelines.bar
           Files: 6 uploaded, 0 deleted
           Resources: 0 created, 1 changed, 0 deleted, 1 unchanged
        @@ -100,7 +100,7 @@
         
         >>> bundle deploy --auto-approve
           Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dms-fault-delete_deployment-commands-[UNIQUE_NAME]/files...
        -  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=9
        +  Current Deployment Version: [DATABRICKS_URL]/deployments/[DEPLOYMENT_ID]?version=11
           Updated jobs.foo
           Updated pipelines.bar
           Files: 2 uploaded, 0 deleted
        
    acceptance_test.go:1162: 
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:37885/deployments/4000000000000393?version=1
        LOG.commands: Created pipelines.bar
        LOG.commands: Created jobs.foo
        LOG.commands: Files: 4 uploaded, 0 deleted
        LOG.commands: Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
        LOG.commands: 
        LOG.commands: commands: ('workspace', 'get-status', '/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/state/resources.deployment.json', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "object_id": 4000000000000393,
        LOG.commands:   "object_type": "BUNDLE_DEPLOYMENT",
        LOG.commands:   "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/state/resources.deployment.json"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'deploy', '--auto-approve')
        LOG.commands: exit=0
        LOG.commands: Uploading bundle files to /Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/files...
        LOG.commands: Current Deployment Version: http://127.0.0.1:37885/deployments/4000000000000393?version=2
        LOG.commands: Updated jobs.foo
        LOG.commands: Updated pipelines.bar
        LOG.commands: Files: 3 uploaded, 0 deleted
        LOG.commands: Resources: 0 created, 2 changed, 0 deleted, 0 unchanged
        LOG.commands: 
        LOG.commands: commands: ('jobs', 'get', '8795013084755894097', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "created_time": 1795013084756,
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "job_id": 8795013084755894097,
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "settings": {
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000393",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "description": "history-true",
        LOG.commands:     "edit_mode": "UI_LOCKED",
        LOG.commands:     "email_notifications": {},
        LOG.commands:     "format": "MULTI_TASK",
        LOG.commands:     "max_concurrent_runs": 1,
        LOG.commands:     "name": "updated-dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va",
        LOG.commands:     "queue": {
        LOG.commands:       "enabled": true
        LOG.commands:     },
        LOG.commands:     "timeout_seconds": 0,
        LOG.commands:     "webhook_notifications": {}
        LOG.commands:   }
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('pipelines', 'get', '7a0e29cd-77dc-1b6f-7a0e-29cd77dc1c48', '-o', 'json')
        LOG.commands: exit=0
        LOG.commands: {
        LOG.commands:   "creator_user_name": "tester@databricks.com",
        LOG.commands:   "effective_publishing_mode": "DEFAULT_PUBLISHING_MODE",
        LOG.commands:   "last_modified": 1795013084757,
        LOG.commands:   "name": "updated-dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va",
        LOG.commands:   "pipeline_id": "7a0e29cd-77dc-1b6f-7a0e-29cd77dc1c48",
        LOG.commands:   "run_as_user_name": "tester@databricks.com",
        LOG.commands:   "spec": {
        LOG.commands:     "catalog": "main",
        LOG.commands:     "channel": "CURRENT",
        LOG.commands:     "deployment": {
        LOG.commands:       "deployment_id": "4000000000000393",
        LOG.commands:       "kind": "BUNDLE",
        LOG.commands:       "metadata_file_path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/state/metadata.json",
        LOG.commands:       "version_id": "2"
        LOG.commands:     },
        LOG.commands:     "edition": "ADVANCED",
        LOG.commands:     "id": "7a0e29cd-77dc-1b6f-7a0e-29cd77dc1c48",
        LOG.commands:     "libraries": [
        LOG.commands:       {
        LOG.commands:         "file": {
        LOG.commands:           "path": "/Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va/files/pipeline.sql"
        LOG.commands:         }
        LOG.commands:       }
        LOG.commands:     ],
        LOG.commands:     "name": "updated-dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va",
        LOG.commands:     "schema": "default",
        LOG.commands:     "serverless": true
        LOG.commands:   },
        LOG.commands:   "state": "IDLE"
        LOG.commands: }
        LOG.commands: 
        LOG.commands: commands: ('bundle', 'summary')
        LOG.commands: exit=0
        LOG.commands: Name: updated-dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va
        LOG.commands: Target: default
        LOG.commands: Workspace:
        LOG.commands:   User: tester@databricks.com
        LOG.commands:   Path: /Workspace/Users/tester@databricks.com/.bundle/dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va
        LOG.commands: Resources:
        LOG.commands:   Jobs:
        LOG.commands:     foo:
        LOG.commands:       Name: updated-dms-fault-delete_deployment-commands-bd6atoo6v5dj7jiqtv3lvw22va
        LOG.commands: ... (357 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

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

@eng-dev-ecosystem-bot

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

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: b8461af

Run: 44326147126

Env 🔄​flaky 💚​RECOVERED ✅​pass 🙈​skip Time
🔄​ aws linux-2core-8gb 1 1 279 32 18:30
💚​ aws-windows-latest-4core-16gb 1 282 30 14:54
💚​ azure linux-2core-8gb 1 279 32 16:09
💚​ azure-windows-latest-4core-16gb 1 281 30 11:56
💚​ gcp linux-2core-8gb 1 280 32 17:27
💚​ gcp-windows-latest-4core-16gb 1 282 30 11:28
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
🔄​ TestFilerWorkspaceNotebook 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
Top 50 slowest tests (at least 2 minutes):
duration env testname
7:14 aws-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1
6:32 gcp-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/job/job-abort-bind/DMS=
5:50 azure linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1
5:42 azure-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
5:41 aws-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=
5:31 aws-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
5:25 azure-windows-latest-4core-16gb TestFilerReadWrite/workspace_files
5:08 aws linux-2core-8gb TestImportDirWithOverwriteFlag
4:48 azure linux-2core-8gb TestFilerWorkspaceFilesExtensionsRead
4:47 gcp linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1
4:46 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
4:41 azure-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/job/job-abort-bind/DMS=
4:38 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
4:35 gcp linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1
4:33 gcp-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1
4:31 gcp linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
4:21 aws-windows-latest-4core-16gb TestFilerReadWrite/workspace_files
4:19 aws linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
4:14 aws-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1
4:09 aws-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files_extensions
4:02 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsStat
4:01 azure-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=
3:33 aws-windows-latest-4core-16gb TestImportDirDoesNotOverwrite
3:31 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsDelete
3:30 aws-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
3:22 azure linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1
3:13 gcp-windows-latest-4core-16gb TestAccept
3:07 gcp linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=
2:59 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
2:59 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsDelete
2:58 gcp-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1
2:58 gcp-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=
2:56 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
2:52 azure-windows-latest-4core-16gb TestImportDirWithOverwriteFlag
2:51 aws linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=
2:49 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
2:46 aws-windows-latest-4core-16gb TestFilerWorkspaceNotebook/scalaJupyterNb.ipynb
2:44 aws linux-2core-8gb TestFilerReadWrite/workspace_files
2:39 aws-windows-latest-4core-16gb TestAccept
2:36 azure-windows-latest-4core-16gb TestAccept
2:36 azure-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1
2:31 aws-windows-latest-4core-16gb TestImportDir
2:29 gcp-windows-latest-4core-16gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
2:29 azure linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
2:26 azure linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=
2:23 gcp-windows-latest-4core-16gb TestSyncFullFileSync
2:23 aws linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=/READPLAN=1
2:22 gcp linux-2core-8gb TestAccept/bundle/deployment/bind/job/job-abort-bind/DMS=true
2:22 gcp-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
2:22 aws linux-2core-8gb TestAccept/bundle/deployment/bind/dashboard/recreation/DMS=true/READPLAN=1

@shreyas-goenka
shreyas-goenka force-pushed the shreyas-goenka_data/shreyas-goenka/shared-dms-metadata branch from 82d421e to 3d57c2f Compare November 18, 2026 14:20
@shreyas-goenka
shreyas-goenka force-pushed the shreyas-goenka_data/shreyas-goenka/shared-dms-metadata branch from 3d57c2f to 8c442de Compare November 18, 2026 14:25
@shreyas-goenka
shreyas-goenka force-pushed the shreyas-goenka_data/shreyas-goenka/shared-dms-metadata branch from 8c442de to b8461af Compare November 18, 2026 14:35

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.

2 participants