Skip to content

Translate the testing paths of pipelines and upload local test wheels - #7437

Open
tharunbhuk-db wants to merge 5 commits into
tharun/pipelines-test-pr4-bundlesfrom
tharun/pipelines-test-b3-testing-paths
Open

tharunbhuk-db wants to merge 5 commits into
tharun/pipelines-test-pr4-bundlesfrom
tharun/pipelines-test-b3-testing-paths

Conversation

@tharunbhuk-db

@tharunbhuk-db tharunbhuk-db commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🥞 Stacked PR


  • Relative paths in testing resolve to their deployed paths, and local test wheels upload like other libraries.
  • With dynamic_version, test dependencies use the patched wheel; extras such as [test] are kept.
  • Only bundles with testing are affected.

Tests: acceptance bundle/resources/pipelines/testing, testing-same-name-libraries and testing-dynamic-version.

This pull request and its description were written by Isaac.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Commit: 1706c59eb | Workflow run

Regression test report

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

8 tests: regression=8 unreleased=0 coverage=0 failing=0
test branch main (2f5d1a6) latest (v1.26.0)
TestAccept/bundle/environments/dependencies/DMS= ✅ ❌ ❌
TestAccept/bundle/environments/dependencies/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/pipelines/testing-dynamic-version/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/pipelines/testing-dynamic-version/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/pipelines/testing/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/pipelines/testing/DMS=true ✅ ❌ ❌
TestAccept/bundle/environments/dependencies/DMS=: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: Diff:
        --- bundle/environments/dependencies/output.txt
        +++ /tmp/TestAcceptbundleenvironmentsdependenciesDMS=2431226195/002/output.txt
        @@ -1,150 +1,13 @@
         
         >>> [CLI] bundle validate
        +Error: unable to determine if [TEST_TMP_DIR]/project is not a notebook: read [TEST_TMP_DIR]/project: is a directory
        +
         Name: dependencies
         Target: default
         Workspace:
           User: [USERNAME]
           Path: /Workspace/Users/[USERNAME]/.bundle/dependencies/default
         
        -Validation OK!
        +Found 1 error
         
        ->>> [CLI] bundle deploy
        -Uploading dist/test.whl...
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files...
        -Created jobs.test_job
        -Created pipelines.test_pipeline
        -Files: 6 uploaded, 0 deleted
        -Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
        -
        ->>> jq -s .[] | select(.path=="/api/2.2/jobs/create") | .body.environments [OUTPUT_DIR]/out.requests.txt
        -[
        -  {
        -    "environment_key": "test_env",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -        "-r \"/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt\"",
        -        "-r '/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt'",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -        "-i http://myindexurl.com",
        -        "--index-url http://myindexurl.com",
        -        "test_package",
        -        "test_package==2.0.1",
        -        "test_package>=2.0.1",
        -        "test_package==2.0.*",
        -        "/Workspace/Users/[USERNAME]/.bundle/dependencies/default/artifacts/.internal/test.whl",
        -        "/Workspace/Users/test@databricks.com/test-package.whl",
        -        "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -        "beautifulsoup4[security, tests] ~= 4.12.3",
        -        "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -        "--find-links=/Workspace/Users/test"
        -      ]
        -    }
        -  },
        -  {
        -    "environment_key": "test_env_2",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt"
        -      ]
        -    }
        -  }
        -]
        -
        ->>> jq -s .[] | select(.path=="/api/2.0/pipelines") [OUTPUT_DIR]/out.requests.txt
        -{
        -  "method": "POST",
        -  "path": "/api/2.0/pipelines",
        -  "body": {
        -    "channel": "CURRENT",
        -    "deployment": {
        -      "kind": "BUNDLE",
        -      "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/dependencies/default/state/metadata.json"
        -    },
        -    "edition": "ADVANCED",
        -    "environment": {
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -        "-i http://myindexurl.com",
        -        "--index-url http://myindexurl.com",
        -        "/Workspace/Users/[USERNAME]/.bundle/dependencies/default/artifacts/.internal/test.whl",
        -        "/Workspace/Users/test@databricks.com/test-package.whl",
        -        "test_package",
        -        "test_package==2.0.1",
        -        "test_package>=2.0.1",
        -        "test_package==2.0.*",
        -        "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -        "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -        "--find-links=/Workspace/Users/test"
        -      ]
        -    },
        -    "name": "Test Pipeline"
        -  }
        -}
        -
        ->>> [CLI] bundle validate -o json
        -[
        -  {
        -    "environment_key": "test_env",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -        "-r \"/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt\"",
        -        "-r '/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt'",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -        "-i http://myindexurl.com",
        -        "--index-url http://myindexurl.com",
        -        "test_package",
        -        "test_package==2.0.1",
        -        "test_package>=2.0.1",
        -        "test_package==2.0.*",
        -        "./dist/*.whl",
        -        "/Workspace/Users/test@databricks.com/test-package.whl",
        -        "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -        "beautifulsoup4[security, tests] ~= 4.12.3",
        -        "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -        "--find-links=/Workspace/Users/test"
        -      ]
        -    }
        -  },
        -  {
        -    "environment_key": "test_env_2",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt"
        -      ]
        -    }
        -  }
        -]
        -
        ->>> [CLI] bundle validate -o json
        -{
        -  "dependencies": [
        -    "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -    "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -    "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -    "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -    "-i http://myindexurl.com",
        -    "--index-url http://myindexurl.com",
        -    "./dist/*.whl",
        -    "/Workspace/Users/test@databricks.com/test-package.whl",
        -    "test_package",
        -    "test_package==2.0.1",
        -    "test_package>=2.0.1",
        -    "test_package==2.0.*",
        -    "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -    "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -    "--find-links=/Workspace/Users/test"
        -  ]
        -}
        +Exit code: 1

latest (v1.26.0): same output as main (2f5d1a6)

TestAccept/bundle/environments/dependencies/DMS=true: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: Diff:
        --- bundle/environments/dependencies/output.txt
        +++ /tmp/TestAcceptbundleenvironmentsdependenciesDMS=true1593739420/002/output.txt
        @@ -1,150 +1,13 @@
         
         >>> [CLI] bundle validate
        +Error: unable to determine if [TEST_TMP_DIR]/project is not a notebook: read [TEST_TMP_DIR]/project: is a directory
        +
         Name: dependencies
         Target: default
         Workspace:
           User: [USERNAME]
           Path: /Workspace/Users/[USERNAME]/.bundle/dependencies/default
         
        -Validation OK!
        +Found 1 error
         
        ->>> [CLI] bundle deploy
        -Uploading dist/test.whl...
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files...
        -Created jobs.test_job
        -Created pipelines.test_pipeline
        -Files: 6 uploaded, 0 deleted
        -Resources: 2 created, 0 changed, 0 deleted, 0 unchanged
        -
        ->>> jq -s .[] | select(.path=="/api/2.2/jobs/create") | .body.environments [OUTPUT_DIR]/out.requests.txt
        -[
        -  {
        -    "environment_key": "test_env",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -        "-r \"/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt\"",
        -        "-r '/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt'",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -        "-i http://myindexurl.com",
        -        "--index-url http://myindexurl.com",
        -        "test_package",
        -        "test_package==2.0.1",
        -        "test_package>=2.0.1",
        -        "test_package==2.0.*",
        -        "/Workspace/Users/[USERNAME]/.bundle/dependencies/default/artifacts/.internal/test.whl",
        -        "/Workspace/Users/test@databricks.com/test-package.whl",
        -        "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -        "beautifulsoup4[security, tests] ~= 4.12.3",
        -        "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -        "--find-links=/Workspace/Users/test"
        -      ]
        -    }
        -  },
        -  {
        -    "environment_key": "test_env_2",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt"
        -      ]
        -    }
        -  }
        -]
        -
        ->>> jq -s .[] | select(.path=="/api/2.0/pipelines") [OUTPUT_DIR]/out.requests.txt
        -{
        -  "method": "POST",
        -  "path": "/api/2.0/pipelines",
        -  "body": {
        -    "channel": "CURRENT",
        -    "deployment": {
        -      "kind": "BUNDLE",
        -      "metadata_file_path": "/Workspace/Users/[USERNAME]/.bundle/dependencies/default/state/metadata.json"
        -    },
        -    "edition": "ADVANCED",
        -    "environment": {
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -        "-i http://myindexurl.com",
        -        "--index-url http://myindexurl.com",
        -        "/Workspace/Users/[USERNAME]/.bundle/dependencies/default/artifacts/.internal/test.whl",
        -        "/Workspace/Users/test@databricks.com/test-package.whl",
        -        "test_package",
        -        "test_package==2.0.1",
        -        "test_package>=2.0.1",
        -        "test_package==2.0.*",
        -        "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -        "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -        "--find-links=/Workspace/Users/test"
        -      ]
        -    },
        -    "name": "Test Pipeline"
        -  }
        -}
        -
        ->>> [CLI] bundle validate -o json
        -[
        -  {
        -    "environment_key": "test_env",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -        "-r \"/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt\"",
        -        "-r '/Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/Path With Spaces/requirements.txt'",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -        "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -        "-i http://myindexurl.com",
        -        "--index-url http://myindexurl.com",
        -        "test_package",
        -        "test_package==2.0.1",
        -        "test_package>=2.0.1",
        -        "test_package==2.0.*",
        -        "./dist/*.whl",
        -        "/Workspace/Users/test@databricks.com/test-package.whl",
        -        "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -        "beautifulsoup4[security, tests] ~= 4.12.3",
        -        "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -        "--find-links=/Workspace/Users/test"
        -      ]
        -    }
        -  },
        -  {
        -    "environment_key": "test_env_2",
        -    "spec": {
        -      "client": "1",
        -      "dependencies": [
        -        "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt"
        -      ]
        -    }
        -  }
        -]
        -
        ->>> [CLI] bundle validate -o json
        -{
        -  "dependencies": [
        -    "-r /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/requirements.txt",
        -    "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/file.py",
        -    "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project",
        -    "-e /Workspace/Users/[USERNAME]/.bundle/dependencies/default/files/project[test]",
        -    "-i http://myindexurl.com",
        -    "--index-url http://myindexurl.com",
        -    "./dist/*.whl",
        -    "/Workspace/Users/test@databricks.com/test-package.whl",
        -    "test_package",
        -    "test_package==2.0.1",
        -    "test_package>=2.0.1",
        -    "test_package==2.0.*",
        -    "beautifulsoup4>=1.0.0,~=1.2.0,<2.0.0",
        -    "requests[security] @ https://github.com/psf/requests/archive/refs/heads/main.zip",
        -    "--find-links=/Workspace/Users/test"
        -  ]
        -}
        +Exit code: 1

latest (v1.26.0): same output as main (2f5d1a6)

TestAccept/bundle/resources/pipelines/testing-dynamic-version/DMS=: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: Diff:
        --- bundle/resources/pipelines/testing-dynamic-version/output.txt
        +++ /tmp/TestAcceptbundleresourcespipelinestesting-dynamic-versionDM3311821191/002/output.txt
        @@ -10,8 +10,8 @@
         
         >>> print_requests.py //api/2.0/pipelines --nostamp
         [
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl",
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl[test]"
        +  "./dist/other_test_code-0.0.1-py3-none-any.whl",
        +  "./dist/other_test_code-0.0.1-py3-none-any.whl[test]"
         ]
         
         >>> [CLI] bundle destroy --auto-approve

latest (v1.26.0):

acceptance_test.go:1380: Diff:
        --- bundle/resources/pipelines/testing-dynamic-version/output.txt
        +++ /tmp/TestAcceptbundleresourcespipelinestesting-dynamic-versionDM2302368978/002/output.txt
        @@ -2,6 +2,10 @@
         === Test dependencies use the patched wheel, with extras kept
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: testing
        +  at resources.pipelines.orders
        +  in databricks.yml:18:7
        +
         Uploading .databricks/bundle/default/patched_wheels/other_test_code_other_test_code/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl...
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/files...
         Created pipelines.orders
        @@ -9,12 +13,13 @@
         Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
         
         >>> print_requests.py //api/2.0/pipelines --nostamp
        -[
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl",
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl[test]"
        -]
        +null
         
         >>> [CLI] bundle destroy --auto-approve
        +Warning: unknown field: testing
        +  at resources.pipelines.orders
        +  in databricks.yml:18:7
        +
         The following resources will be deleted:
           delete resources.pipelines.orders
TestAccept/bundle/resources/pipelines/testing-dynamic-version/DMS=true: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: Diff:
        --- bundle/resources/pipelines/testing-dynamic-version/output.txt
        +++ /tmp/TestAcceptbundleresourcespipelinestesting-dynamic-versionDM4043416525/002/output.txt
        @@ -10,8 +10,8 @@
         
         >>> print_requests.py //api/2.0/pipelines --nostamp
         [
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl",
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl[test]"
        +  "./dist/other_test_code-0.0.1-py3-none-any.whl",
        +  "./dist/other_test_code-0.0.1-py3-none-any.whl[test]"
         ]
         
         >>> [CLI] bundle destroy --auto-approve

latest (v1.26.0):

acceptance_test.go:1380: Diff:
        --- bundle/resources/pipelines/testing-dynamic-version/output.txt
        +++ /tmp/TestAcceptbundleresourcespipelinestesting-dynamic-versionDM3396282164/002/output.txt
        @@ -2,6 +2,10 @@
         === Test dependencies use the patched wheel, with extras kept
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: testing
        +  at resources.pipelines.orders
        +  in databricks.yml:18:7
        +
         Uploading .databricks/bundle/default/patched_wheels/other_test_code_other_test_code/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl...
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/files...
         Created pipelines.orders
        @@ -9,12 +13,13 @@
         Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
         
         >>> print_requests.py //api/2.0/pipelines --nostamp
        -[
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl",
        -  "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing-dynamic-version/default/artifacts/.internal/other_test_code-0.0.1+[UNIX_TIME_NANOS]-py3-none-any.whl[test]"
        -]
        +null
         
         >>> [CLI] bundle destroy --auto-approve
        +Warning: unknown field: testing
        +  at resources.pipelines.orders
        +  in databricks.yml:18:7
        +
         The following resources will be deleted:
           delete resources.pipelines.orders
TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n>>> musterr [CLI] bundle deploy\nError: Duplicate local library names: test_helpers-0.1-py3-none-any.whl\n  at resources.pipelines.orders.environment.dependencies[0]\n     resources.pipelines.orders.testing.environment.dependencies[0]\n  in databricks.yml:13:13\n     databricks.yml:21:15\n\nLocal library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl\n\n"
        	            	actual  : "\n>>> musterr [CLI] bundle deploy\nUploading pipeline/test_helpers-0.1-py3-none-any.whl...\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...\nCreated pipelines.orders\nFiles: 5 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged\n\nUnexpected success\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,10 +2,11 @@
        	            	 >>> musterr [CLI] bundle deploy
        	            	-Error: Duplicate local library names: test_helpers-0.1-py3-none-any.whl
        	            	-  at resources.pipelines.orders.environment.dependencies[0]
        	            	-     resources.pipelines.orders.testing.environment.dependencies[0]
        	            	-  in databricks.yml:13:13
        	            	-     databricks.yml:21:15
        	            	+Uploading pipeline/test_helpers-0.1-py3-none-any.whl...
        	            	+Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...
        	            	+Created pipelines.orders
        	            	+Files: 5 uploaded, 0 deleted
        	            	+Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        	            	 
        	            	-Local library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl
        	            	+Unexpected success
        	            	 
        	            	+Exit code: 1
        	            	 
        	Test:       	TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=
        	Messages:   	bundle/resources/pipelines/testing-same-name-libraries/output.txt vs /tmp/TestAcceptbundleresourcespipelinestesting-same-name-librarie3466165210/002/output.txt
    acceptance_test.go:1170: Test produced unexpected files:
        .databricks/.gitignore
        .databricks/bundle/default/deployment.json
        .databricks/bundle/default/resources.json
        .databricks/bundle/default/sync-snapshots/91ccde15d198340d.json

latest (v1.26.0):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n>>> musterr [CLI] bundle deploy\nError: Duplicate local library names: test_helpers-0.1-py3-none-any.whl\n  at resources.pipelines.orders.environment.dependencies[0]\n     resources.pipelines.orders.testing.environment.dependencies[0]\n  in databricks.yml:13:13\n     databricks.yml:21:15\n\nLocal library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl\n\n"
        	            	actual  : "\n>>> musterr [CLI] bundle deploy\nWarning: unknown field: testing\n  at resources.pipelines.orders\n  in databricks.yml:14:7\n\nUploading pipeline/test_helpers-0.1-py3-none-any.whl...\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...\nCreated pipelines.orders\nFiles: 5 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged\n\nUnexpected success\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,10 +2,15 @@
        	            	 >>> musterr [CLI] bundle deploy
        	            	-Error: Duplicate local library names: test_helpers-0.1-py3-none-any.whl
        	            	-  at resources.pipelines.orders.environment.dependencies[0]
        	            	-     resources.pipelines.orders.testing.environment.dependencies[0]
        	            	-  in databricks.yml:13:13
        	            	-     databricks.yml:21:15
        	            	+Warning: unknown field: testing
        	            	+  at resources.pipelines.orders
        	            	+  in databricks.yml:14:7
        	            	 
        	            	-Local library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl
        	            	+Uploading pipeline/test_helpers-0.1-py3-none-any.whl...
        	            	+Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...
        	            	+Created pipelines.orders
        	            	+Files: 5 uploaded, 0 deleted
        	            	+Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        	            	 
        	            	+Unexpected success
        	            	 
        	            	+Exit code: 1
        	            	+
        	Test:       	TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=
        	Messages:   	bundle/resources/pipelines/testing-same-name-libraries/output.txt vs /tmp/TestAcceptbundleresourcespipelinestesting-same-name-librarie3147667904/002/output.txt
    acceptance_test.go:1170: Test produced unexpected files:
        .databricks/.gitignore
        .databricks/bundle/default/deployment.json
        .databricks/bundle/default/resources.json
        .databricks/bundle/default/sync-snapshots/5af23c62bb42f598.json
TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=true: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n>>> musterr [CLI] bundle deploy\nError: Duplicate local library names: test_helpers-0.1-py3-none-any.whl\n  at resources.pipelines.orders.environment.dependencies[0]\n     resources.pipelines.orders.testing.environment.dependencies[0]\n  in databricks.yml:13:13\n     databricks.yml:21:15\n\nLocal library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl\n\n"
        	            	actual  : "\n>>> musterr [CLI] bundle deploy\nUploading pipeline/test_helpers-0.1-py3-none-any.whl...\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...\nCreated pipelines.orders\nFiles: 5 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged\n\nUnexpected success\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,10 +2,11 @@
        	            	 >>> musterr [CLI] bundle deploy
        	            	-Error: Duplicate local library names: test_helpers-0.1-py3-none-any.whl
        	            	-  at resources.pipelines.orders.environment.dependencies[0]
        	            	-     resources.pipelines.orders.testing.environment.dependencies[0]
        	            	-  in databricks.yml:13:13
        	            	-     databricks.yml:21:15
        	            	+Uploading pipeline/test_helpers-0.1-py3-none-any.whl...
        	            	+Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...
        	            	+Created pipelines.orders
        	            	+Files: 5 uploaded, 0 deleted
        	            	+Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        	            	 
        	            	-Local library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl
        	            	+Unexpected success
        	            	 
        	            	+Exit code: 1
        	            	 
        	Test:       	TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=true
        	Messages:   	bundle/resources/pipelines/testing-same-name-libraries/output.txt vs /tmp/TestAcceptbundleresourcespipelinestesting-same-name-librarie1601416152/002/output.txt
    acceptance_test.go:1170: Test produced unexpected files:
        .databricks/.gitignore
        .databricks/bundle/default/deployment.json
        .databricks/bundle/default/resources.json
        .databricks/bundle/default/sync-snapshots/c79ca263d09f8701.json
FAIL

latest (v1.26.0):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n>>> musterr [CLI] bundle deploy\nError: Duplicate local library names: test_helpers-0.1-py3-none-any.whl\n  at resources.pipelines.orders.environment.dependencies[0]\n     resources.pipelines.orders.testing.environment.dependencies[0]\n  in databricks.yml:13:13\n     databricks.yml:21:15\n\nLocal library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl\n\n"
        	            	actual  : "\n>>> musterr [CLI] bundle deploy\nWarning: unknown field: testing\n  at resources.pipelines.orders\n  in databricks.yml:14:7\n\nUploading pipeline/test_helpers-0.1-py3-none-any.whl...\nUploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...\nCreated pipelines.orders\nFiles: 5 uploaded, 0 deleted\nResources: 1 created, 0 changed, 0 deleted, 0 unchanged\n\nUnexpected success\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -2,10 +2,15 @@
        	            	 >>> musterr [CLI] bundle deploy
        	            	-Error: Duplicate local library names: test_helpers-0.1-py3-none-any.whl
        	            	-  at resources.pipelines.orders.environment.dependencies[0]
        	            	-     resources.pipelines.orders.testing.environment.dependencies[0]
        	            	-  in databricks.yml:13:13
        	            	-     databricks.yml:21:15
        	            	+Warning: unknown field: testing
        	            	+  at resources.pipelines.orders
        	            	+  in databricks.yml:14:7
        	            	 
        	            	-Local library names must be unique but found libraries with the same name: pipeline/test_helpers-0.1-py3-none-any.whl, tests/test_helpers-0.1-py3-none-any.whl
        	            	+Uploading pipeline/test_helpers-0.1-py3-none-any.whl...
        	            	+Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/pipeline-testing-same-name-libraries/default/files...
        	            	+Created pipelines.orders
        	            	+Files: 5 uploaded, 0 deleted
        	            	+Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        	            	 
        	            	+Unexpected success
        	            	 
        	            	+Exit code: 1
        	            	+
        	Test:       	TestAccept/bundle/resources/pipelines/testing-same-name-libraries/DMS=true
        	Messages:   	bundle/resources/pipelines/testing-same-name-libraries/output.txt vs /tmp/TestAcceptbundleresourcespipelinestesting-same-name-librarie4025795879/002/output.txt
    acceptance_test.go:1170: Test produced unexpected files:
        .databricks/.gitignore
        .databricks/bundle/default/deployment.json
        .databricks/bundle/default/resources.json
        .databricks/bundle/default/sync-snapshots/d19b7fbf02b253e4.json
TestAccept/bundle/resources/pipelines/testing/DMS=: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\n{\n  \"environment\": {\n    \"dependencies\": [\n      \"-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]\",\n      \"-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt\",\n      \"./dist/*.whl\"\n    ]\n  },\n  \"sources\": [\n    {\n      \"glob\": {\n        \"include\": \"/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**\"\n      }\n    }\n  ]\n}\n"
        	            	actual  : "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\n{\n  \"environment\": {\n    \"dependencies\": [\n      \"-e .[test]\",\n      \"-r ./tests/requirements.txt\",\n      \"./dist/*.whl\"\n    ]\n  },\n  \"sources\": [\n    {\n      \"glob\": {\n        \"include\": \"./tests/**\"\n      }\n    }\n  ]\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -7,4 +7,4 @@
        	            	     "dependencies": [
        	            	-      "-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]",
        	            	-      "-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt",
        	            	+      "-e .[test]",
        	            	+      "-r ./tests/requirements.txt",
        	            	       "./dist/*.whl"
        	            	@@ -15,3 +15,3 @@
        	            	       "glob": {
        	            	-        "include": "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**"
        	            	+        "include": "./tests/**"
        	            	       }
        	Test:       	TestAccept/bundle/resources/pipelines/testing/DMS=
        	Messages:   	bundle/resources/pipelines/testing/output.txt vs /tmp/TestAcceptbundleresourcespipelinestestingDMS=1832289713/002/output.txt

latest (v1.26.0):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\n{\n  \"environment\": {\n    \"dependencies\": [\n      \"-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]\",\n      \"-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt\",\n      \"./dist/*.whl\"\n    ]\n  },\n  \"sources\": [\n    {\n      \"glob\": {\n        \"include\": \"/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**\"\n      }\n    }\n  ]\n}\n"
        	            	actual  : "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\nWarning: unknown field: testing\n  at resources.pipelines.orders\n  in databricks.yml:11:7\n\nnull\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,18 +4,7 @@
        	            	 >>> [CLI] bundle validate -o json
        	            	-{
        	            	-  "environment": {
        	            	-    "dependencies": [
        	            	-      "-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]",
        	            	-      "-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt",
        	            	-      "./dist/*.whl"
        	            	-    ]
        	            	-  },
        	            	-  "sources": [
        	            	-    {
        	            	-      "glob": {
        	            	-        "include": "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**"
        	            	-      }
        	            	-    }
        	            	-  ]
        	            	-}
        	            	+Warning: unknown field: testing
        	            	+  at resources.pipelines.orders
        	            	+  in databricks.yml:11:7
        	            	 
        	            	+null
        	            	+
        	Test:       	TestAccept/bundle/resources/pipelines/testing/DMS=
        	Messages:   	bundle/resources/pipelines/testing/output.txt vs /tmp/TestAcceptbundleresourcespipelinestestingDMS=297074038/002/output.txt
TestAccept/bundle/resources/pipelines/testing/DMS=true: branch ✅ | main (2f5d1a6) ❌ | latest (v1.26.0) ❌

main (2f5d1a6):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\n{\n  \"environment\": {\n    \"dependencies\": [\n      \"-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]\",\n      \"-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt\",\n      \"./dist/*.whl\"\n    ]\n  },\n  \"sources\": [\n    {\n      \"glob\": {\n        \"include\": \"/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**\"\n      }\n    }\n  ]\n}\n"
        	            	actual  : "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\n{\n  \"environment\": {\n    \"dependencies\": [\n      \"-e .[test]\",\n      \"-r ./tests/requirements.txt\",\n      \"./dist/*.whl\"\n    ]\n  },\n  \"sources\": [\n    {\n      \"glob\": {\n        \"include\": \"./tests/**\"\n      }\n    }\n  ]\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -7,4 +7,4 @@
        	            	     "dependencies": [
        	            	-      "-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]",
        	            	-      "-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt",
        	            	+      "-e .[test]",
        	            	+      "-r ./tests/requirements.txt",
        	            	       "./dist/*.whl"
        	            	@@ -15,3 +15,3 @@
        	            	       "glob": {
        	            	-        "include": "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**"
        	            	+        "include": "./tests/**"
        	            	       }
        	Test:       	TestAccept/bundle/resources/pipelines/testing/DMS=true
        	Messages:   	bundle/resources/pipelines/testing/output.txt vs /tmp/TestAcceptbundleresourcespipelinestestingDMS=true3642351508/002/output.txt

latest (v1.26.0):

acceptance_test.go:1380: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1380
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1121
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\n{\n  \"environment\": {\n    \"dependencies\": [\n      \"-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]\",\n      \"-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt\",\n      \"./dist/*.whl\"\n    ]\n  },\n  \"sources\": [\n    {\n      \"glob\": {\n        \"include\": \"/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**\"\n      }\n    }\n  ]\n}\n"
        	            	actual  : "\n=== Relative test paths resolve to the deployed workspace paths\n\n>>> [CLI] bundle validate -o json\nWarning: unknown field: testing\n  at resources.pipelines.orders\n  in databricks.yml:11:7\n\nnull\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,18 +4,7 @@
        	            	 >>> [CLI] bundle validate -o json
        	            	-{
        	            	-  "environment": {
        	            	-    "dependencies": [
        	            	-      "-e /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files[test]",
        	            	-      "-r /Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/requirements.txt",
        	            	-      "./dist/*.whl"
        	            	-    ]
        	            	-  },
        	            	-  "sources": [
        	            	-    {
        	            	-      "glob": {
        	            	-        "include": "/Workspace/Users/[USERNAME]/.bundle/pipeline-testing/default/files/tests/**"
        	            	-      }
        	            	-    }
        	            	-  ]
        	            	-}
        	            	+Warning: unknown field: testing
        	            	+  at resources.pipelines.orders
        	            	+  in databricks.yml:11:7
        	            	 
        	            	+null
        	            	+
        	Test:       	TestAccept/bundle/resources/pipelines/testing/DMS=true
        	Messages:   	bundle/resources/pipelines/testing/output.txt vs /tmp/TestAcceptbundleresourcespipelinestestingDMS=true3888015295/002/output.txt
FAIL

@eng-dev-ecosystem-bot

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

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 1706c59

Run: 44124290836

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 270 19 10:50
💚​ aws-windows-latest-4core-16gb 1 272 17 9:35
💚​ azure linux-2core-8gb 1 269 19 11:20
💚​ azure-windows-latest-4core-16gb 1 271 17 9:06
💚​ gcp linux-2core-8gb 1 270 19 8:34
💚​ gcp-windows-latest-4core-16gb 1 272 17 8:24
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 20 slowest tests (at least 2 minutes):
duration env testname
4:54 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
4:12 azure-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
3:50 aws-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
3:36 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
3:22 azure-windows-latest-4core-16gb TestAccept
3:15 aws-windows-latest-4core-16gb TestAccept
3:09 aws linux-2core-8gb TestFilerRecursiveDelete/workspace_files
3:08 gcp-windows-latest-4core-16gb TestAccept
3:05 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
3:04 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
2:52 aws-windows-latest-4core-16gb TestImportDirDoesNotOverwrite
2:42 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsDelete
2:31 azure linux-2core-8gb TestFilerWorkspaceFilesExtensionsRead
2:29 azure linux-2core-8gb TestImportDir
2:26 aws-windows-latest-4core-16gb TestFilerReadWrite/workspace_files_extensions
2:20 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
2:19 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsStat
2:13 aws linux-2core-8gb TestImportDirWithOverwriteFlag
2:07 aws-windows-latest-4core-16gb TestFilerWorkspaceNotebook/rJupyterNb.ipynb
2:02 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsStat

@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 239501f to bc013c0 Compare November 10, 2026 10:46
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from 48e4a95 to fd9fedb Compare November 10, 2026 10:46
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from bc013c0 to 08916f8 Compare November 10, 2026 16:49
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from fd9fedb to b10a21e Compare November 10, 2026 16:49
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 08916f8 to 4c21f8b Compare November 10, 2026 17:22
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from b10a21e to e5ff44c Compare November 10, 2026 17:22
@tharunbhuk-db
tharunbhuk-db marked this pull request as ready for review November 10, 2026 17:55
@tharunbhuk-db
tharunbhuk-db requested review from a team as code owners November 10, 2026 17:55
@tharunbhuk-db
tharunbhuk-db requested review from Sankalp-Mittal and renaudhartert-db and removed request for a team, Sankalp-Mittal and renaudhartert-db November 10, 2026 17:55

@pranshupand-db pranshupand-db left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM. The summary and notes for the stack are on #7300: #7300

@@ -1,3 +1,4 @@
title "Relative test paths resolve to the deployed workspace paths\n"
trace $CLI bundle validate -o json | jq .resources.pipelines.orders.testing

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.

Could you add a bundle deploy here (RecordRequests is already on in test.toml) so we see the test wheel uploaded and ./dist/*.whl rewritten to its .internal path? This test only runs validate, so the wheel stays ./dist/*.whl in the output, and the same-name test fails before upload, so nothing in the goldens shows the upload the description talks about. If that has to wait for #7438, worth a note in the script.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The deploy step is in #7438 (7401411), in this same script. Its golden shows the test wheel uploaded and the dependency rewritten to its .internal path. I kept this PR to validate only, so each PR shows one step.

},
// Test dependencies take the same forms as the pipeline's environment dependencies.
{
pattern: base.Append(dyn.Key("testing"), dyn.Key("environment"), dyn.Key("dependencies"), dyn.AnyIndex()),

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.

nit: the four dependency entries now differ only in the path prefix. Maybe loop over the two locations (environment and testing.environment) so the modes and skip functions live in one place?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in 2189384. The patterns are built in one loop over environment and testing.environment, and their order does not change.

@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 4c21f8b to 33085b7 Compare November 11, 2026 19:58
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from e5ff44c to 858d4df Compare November 11, 2026 20:00
@tharunbhuk-db
tharunbhuk-db marked this pull request as draft November 11, 2026 20:01
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 33085b7 to 86997dc Compare November 11, 2026 22:00
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from 858d4df to 52dc912 Compare November 11, 2026 22:00
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 86997dc to 5a146d7 Compare November 16, 2026 22:20
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from 52dc912 to 650fc96 Compare November 16, 2026 22:20
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 5a146d7 to 13c0eb2 Compare November 17, 2026 00:18
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from 650fc96 to 2189384 Compare November 17, 2026 00:18
@tharunbhuk-db
tharunbhuk-db marked this pull request as ready for review November 17, 2026 00:19
tharunbhuk-db and others added 4 commits November 17, 2026 15:51
Relative paths in testing.sources and testing.environment.dependencies resolve
to their deployed workspace paths, like libraries and environment dependencies.
Local wheels in test dependencies are uploaded like other libraries, and the
same-name check covers them.

The testing property is only accepted with
DATABRICKS_BUNDLE_ENABLE_EXPERIMENTAL_PIPELINE_TESTING=true, so bundles without
it are not changed.

Co-authored-by: Isaac <no-reply@databricks.com>
environment.dependencies and testing.environment.dependencies share the
translate modes and skip functions, so the patterns are built in one loop
over the two locations. The order of the patterns does not change.

Co-authored-by: Isaac <no-reply@databricks.com>
With dynamic_version, the deploy uploaded the patched wheel, but
testing.environment.dependencies kept the original file name, so tests
could run cached code.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-pr4-bundles branch from 13c0eb2 to 2c5d853 Compare November 17, 2026 16:00
@tharunbhuk-db
tharunbhuk-db force-pushed the tharun/pipelines-test-b3-testing-paths branch from 2189384 to 1c74f67 Compare November 17, 2026 16:00
dist/ is ignored, so the test now copies the wheel from the artifacts tests.

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants