Skip to content

Add thumbnail_path to the apps resource - #7728

Open
fjakobs wants to merge 2 commits into
mainfrom
fjakobs/app-thumbnail
Open

fjakobs wants to merge 2 commits into
mainfrom
fjakobs/app-thumbnail

Conversation

@fjakobs

@fjakobs fjakobs commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Changes

New resources.apps.<key>.thumbnail_path: path of a local PNG or JPEG image, relative to the file that defines the app. bundle deploy uploads it as the app's thumbnail in the Apps UI (PATCH /api/2.0/apps/{name}/thumbnail).

  • The Apps API can't return the image, only thumbnail_url, so the direct engine keeps a hash of it in state (hashed_fields, as for dashboards.serialized_dashboard). An unchanged file makes no API call. New content uploads only the thumbnail, without an app update. Removing the field deletes the thumbnail (DELETE .../thumbnail). A bundle that never sets the field leaves a thumbnail uploaded in the UI alone.
  • The file is checked when the bundle loads, so bundle validate rejects a missing file, a file that isn't PNG or JPEG (detected by its signature, as the API does), or one over 250,000 bytes.
  • On create, the upload runs right after the app is created. If it fails, the deploy warns and leaves the thumbnail out of state, so the next deploy retries it. Failing the create there would leave the new app out of the state.
  • Fake server handlers for the two endpoints, schema annotation, and regenerated JSON schema, refschema and Python models.

Why

Apps can have a thumbnail, but bundles had no way to set it.

  • Name: thumbnail_path follows the _path naming of other local-file fields (source_code_path, file_path). It is also the name of the matching databricks_app argument in Add thumbnail_path to databricks_app terraform-provider-databricks#6196.
  • Limit: 250,000 bytes is the Apps UI's limit and the one the Terraform provider checks at plan time, so all clients accept the same images. The backend allows more (requests up to 1 MiB).

Tests

  • Unit tests for the file checks (PNG, JPEG, exactly 250,000 bytes accepted, 250,001 rejected, GIF, empty file, missing file) and the path visitor.
  • New acceptance tests:
    • bundle/resources/apps/thumbnail records the requests for: create plus upload, an unchanged redeploy (no thumbnail request), new content (thumbnail upload only), deploy --plan from a saved plan (uploads the image, not its hash), removal (delete), and destroy.
    • thumbnail-invalid covers bundle validate errors.
    • thumbnail-upload-fails covers the warn-and-retry path on create.
  • Ran ./task fmt, ./task checks and ./task lint, go test ./bundle/... ./libs/testserver/... and the full local acceptance suite.
  • Ran by hand against a live staging workspace with a locally built CLI:
    • Create sets thumbnail_url.
    • An unchanged redeploy only sends GET /apps/{name}.
    • New content sends a single PATCH .../thumbnail.
    • A JPEG works.
    • A GIF fails bundle validate.
    • Removing the field sends DELETE .../thumbnail.
    • Destroy works.

This pull request and its description were written by Isaac.

@fjakobs
fjakobs requested review from a team as code owners November 17, 2026 16:29
@github-actions github-actions Bot added the DABs DABs related issues label Nov 17, 2026
`resources.apps.<key>.thumbnail_path` points at a local PNG or JPEG image
that `bundle deploy` uploads as the app's thumbnail in the Apps UI. The
Apps API can't return the image, so the direct engine keeps only a hash of
it in state (hashed_fields): an unchanged file makes no API call, new
content uploads only the thumbnail (no app update), and removing the field
deletes the thumbnail.

The file is checked when the bundle is loaded, so `bundle validate` already
rejects files that aren't PNG or JPEG (by signature, like the API) or are
larger than 250,000 bytes, the limit of the Apps UI and of the Terraform
provider's databricks_app.thumbnail_path.

Co-authored-by: Isaac <no-reply@databricks.com>
@fjakobs
fjakobs force-pushed the fjakobs/app-thumbnail branch from bb827e0 to 8eac7c0 Compare November 17, 2026 16:29
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Commit: c670d2fca | 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 (a07d81e) latest (v1.26.0)
TestAccept/bundle/refschema/DMS= ✅ ❌ ❌
TestAccept/bundle/refschema/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/apps/thumbnail-invalid/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/apps/thumbnail-invalid/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/apps/thumbnail-upload-fails/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/apps/thumbnail-upload-fails/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/apps/thumbnail/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/apps/thumbnail/DMS=true ✅ ❌ ❌
TestAccept/bundle/refschema/DMS=: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/apps.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=1278103045/001/output/apps.txt
        @@ -230,9 +230,6 @@
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.logs_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.metrics_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.traces_table	string	ALL
        -resources.apps.*.thumbnail	string	STATE
        -resources.apps.*.thumbnail_content	string	INPUT
        -resources.apps.*.thumbnail_path	string	INPUT
         resources.apps.*.thumbnail_url	string	ALL
         resources.apps.*.update_time	string	ALL
         resources.apps.*.updater	string	ALL

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>>> [CLI] bundle debug refschema --help\nDumps all available fields of the bundle config and of each resource type by walking the relevant types. Each line is a path to a field, type and set of tags:\n- INPUT: field is present in bundle config.\n- STATE: field is present in the state of the resource (direct deployment only).\n- REMOTE: field is present in the remote state of the resource (direct deployment only).\n- ALL: shortcut for all three.\n\nUsage:\n  databricks bundle debug refschema [flags]\n\nFlags:\n  -h, --help[=true|false]   help for refschema\n\nGlobal Flags:\n      --debug[=true|false]   enable debug logging\n  -o, --output type          output type: text or json (default text)\n  -p, --profile string       ~/.databrickscfg profile\n  -t, --target string        bundle target to use (if applicable)\n      --var strings          set values for variables defined in bundle config. Example: --var=\"foo=bar\"\n"
        	            	actual  : "\n>>> [CLI] bundle debug refschema --help\nDumps all available fields of the bundle config and of each resource type by walking the relevant types. Each line is a path to a field, type and set of tags:\n- INPUT: field is present in bundle config.\n- STATE: field is present in the state of the resource (direct deployment only).\n- REMOTE: field is present in the remote state of the resource (direct deployment only).\n- ALL: shortcut for all three.\n\nUsage:\n  databricks bundle debug refschema [flags]\n\nFlags:\n  -h, --help   help for refschema\n\nGlobal Flags:\n      --debug            enable debug logging\n  -o, --output type      output type: text or json (default text)\n  -p, --profile string   ~/.databrickscfg profile\n  -t, --target string    bundle target to use (if applicable)\n      --var strings      set values for variables defined in bundle config. Example: --var=\"foo=bar\"\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -12,10 +12,10 @@
        	            	 Flags:
        	            	-  -h, --help[=true|false]   help for refschema
        	            	+  -h, --help   help for refschema
        	            	 
        	            	 Global Flags:
        	            	-      --debug[=true|false]   enable debug logging
        	            	-  -o, --output type          output type: text or json (default text)
        	            	-  -p, --profile string       ~/.databrickscfg profile
        	            	-  -t, --target string        bundle target to use (if applicable)
        	            	-      --var strings          set values for variables defined in bundle config. Example: --var="foo=bar"
        	            	+      --debug            enable debug logging
        	            	+  -o, --output type      output type: text or json (default text)
        	            	+  -p, --profile string   ~/.databrickscfg profile
        	            	+  -t, --target string    bundle target to use (if applicable)
        	            	+      --var strings      set values for variables defined in bundle config. Example: --var="foo=bar"
        	            	 
        	Test:       	TestAccept/bundle/refschema/DMS=
        	Messages:   	bundle/refschema/output.txt vs /tmp/TestAcceptbundlerefschemaDMS=2426430875/002/output.txt
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/volumes.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/volumes.txt
        @@ -24,7 +24,7 @@
         resources.volumes.*.updated_at	int64	REMOTE
         resources.volumes.*.updated_by	string	REMOTE
         resources.volumes.*.url	string	INPUT
        -resources.volumes.*.volume_id	string	REMOTE	STATE
        +resources.volumes.*.volume_id	string	REMOTE
         resources.volumes.*.volume_path	string	INPUT
         resources.volumes.*.volume_type	catalog.VolumeType	ALL
         resources.volumes.*.grants.full_name	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/jobs.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/jobs.txt
        @@ -51,7 +51,6 @@
         resources.jobs.*.environments[*].spec.dependencies	[]string	ALL
         resources.jobs.*.environments[*].spec.dependencies[*]	string	ALL
         resources.jobs.*.environments[*].spec.environment_version	string	ALL
        -resources.jobs.*.environments[*].spec.image_uri	string	ALL
         resources.jobs.*.environments[*].spec.java_dependencies	[]string	ALL
         resources.jobs.*.environments[*].spec.java_dependencies[*]	string	ALL
         resources.jobs.*.environments[*].spec.project_environment	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/pipelines.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/pipelines.txt
        @@ -867,14 +867,6 @@
         resources.pipelines.*.tags	map[string]string	ALL
         resources.pipelines.*.tags.*	string	ALL
         resources.pipelines.*.target	string	ALL
        -resources.pipelines.*.testing	*pipelines.PipelineTesting	ALL
        -resources.pipelines.*.testing.environment	*pipelines.PipelineTestEnvironment	ALL
        -resources.pipelines.*.testing.environment.dependencies	[]string	ALL
        -resources.pipelines.*.testing.environment.dependencies[*]	string	ALL
        -resources.pipelines.*.testing.sources	[]pipelines.PipelineTestSource	ALL
        -resources.pipelines.*.testing.sources[*]	pipelines.PipelineTestSource	ALL
        -resources.pipelines.*.testing.sources[*].glob	*pipelines.PathPattern	ALL
        -resources.pipelines.*.testing.sources[*].glob.include	string	ALL
         resources.pipelines.*.trigger	*pipelines.PipelineTrigger	ALL
         resources.pipelines.*.trigger.cron	*pipelines.CronTrigger	ALL
         resources.pipelines.*.trigger.cron.quartz_cron_schedule	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/features.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/features.txt
        @@ -115,11 +115,6 @@
         resources.features.*.source.feature_view_source.feature_references	[]ml.FeatureReference	ALL
         resources.features.*.source.feature_view_source.feature_references[*]	ml.FeatureReference	ALL
         resources.features.*.source.feature_view_source.feature_references[*].feature	string	ALL
        -resources.features.*.source.iceberg_table_source	*ml.IcebergTableSource	ALL
        -resources.features.*.source.iceberg_table_source.dataframe_schema	string	ALL
        -resources.features.*.source.iceberg_table_source.filter_condition	string	ALL
        -resources.features.*.source.iceberg_table_source.full_name	string	ALL
        -resources.features.*.source.iceberg_table_source.transformation_sql	string	ALL
         resources.features.*.source.kafka_source	*ml.KafkaSource	ALL
         resources.features.*.source.kafka_source.entity_column_identifiers	[]ml.ColumnIdentifier	ALL
         resources.features.*.source.kafka_source.entity_column_identifiers[*]	ml.ColumnIdentifier	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/catalogs.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/catalogs.txt
        @@ -12,7 +12,7 @@
         resources.catalogs.*.enable_predictive_optimization	catalog.EnablePredictiveOptimization	REMOTE
         resources.catalogs.*.full_name	string	REMOTE
         resources.catalogs.*.id	string	INPUT
        -resources.catalogs.*.isolation_mode	catalog.CatalogIsolationMode	ALL
        +resources.catalogs.*.isolation_mode	catalog.CatalogIsolationMode	REMOTE
         resources.catalogs.*.lifecycle	resources.Lifecycle	INPUT
         resources.catalogs.*.lifecycle.depends_on	[]resources.DependsOn	INPUT
         resources.catalogs.*.lifecycle.depends_on[*]	resources.DependsOn	INPUT
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/schemas.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/schemas.txt
        @@ -23,7 +23,7 @@
         resources.schemas.*.owner	string	REMOTE
         resources.schemas.*.properties	map[string]string	ALL
         resources.schemas.*.properties.*	string	ALL
        -resources.schemas.*.schema_id	string	REMOTE	STATE
        +resources.schemas.*.schema_id	string	REMOTE
         resources.schemas.*.storage_location	string	REMOTE
         resources.schemas.*.storage_root	string	ALL
         resources.schemas.*.updated_at	int64	REMOTE
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/apps.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=2426430875/001/output/apps.txt
        @@ -26,9 +26,6 @@
         resources.apps.*.active_deployment.health_check.path	string	ALL
         resources.apps.*.active_deployment.health_check.timeout	*duration.Duration	ALL
         resources.apps.*.active_deployment.mode	apps.AppDeploymentMode	ALL
        -resources.apps.*.active_deployment.scan_omitted_count_is_lower_bound	bool	ALL
        -resources.apps.*.active_deployment.scan_omitted_findings_count	int	ALL
        -resources.apps.*.active_deployment.scan_status	apps.AppDeploymentScanStatus	ALL
         resources.apps.*.active_deployment.source_code_path	string	ALL
         resources.apps.*.active_deployment.status	*apps.AppDeploymentStatus	ALL
         resources.apps.*.active_deployment.status.message	string	ALL
        @@ -70,46 +67,6 @@
         resources.apps.*.default_source_code_path	string	ALL
         resources.apps.*.description	string	ALL
         resources.apps.*.effective_budget_policy_id	string	ALL
        -resources.apps.*.effective_resources	[]apps.AppResource	ALL
        -resources.apps.*.effective_resources[*]	apps.AppResource	ALL
        -resources.apps.*.effective_resources[*].app	*apps.AppResourceApp	ALL
        -resources.apps.*.effective_resources[*].app.name	string	ALL
        -resources.apps.*.effective_resources[*].app.permission	apps.AppResourceAppAppPermission	ALL
        -resources.apps.*.effective_resources[*].database	*apps.AppResourceDatabase	ALL
        -resources.apps.*.effective_resources[*].database.database_name	string	ALL
        -resources.apps.*.effective_resources[*].database.instance_name	string	ALL
        -resources.apps.*.effective_resources[*].database.permission	apps.AppResourceDatabaseDatabasePermission	ALL
        -resources.apps.*.effective_resources[*].description	string	ALL
        -resources.apps.*.effective_resources[*].experiment	*apps.AppResourceExperiment	ALL
        -resources.apps.*.effective_resources[*].experiment.experiment_id	string	ALL
        -resources.apps.*.effective_resources[*].experiment.permission	apps.AppResourceExperimentExperimentPermission	ALL
        -resources.apps.*.effective_resources[*].genie_space	*apps.AppResourceGenieSpace	ALL
        -resources.apps.*.effective_resources[*].genie_space.name	string	ALL
        -resources.apps.*.effective_resources[*].genie_space.permission	apps.AppResourceGenieSpaceGenieSpacePermission	ALL
        -resources.apps.*.effective_resources[*].genie_space.space_id	string	ALL
        -resources.apps.*.effective_resources[*].job	*apps.AppResourceJob	ALL
        -resources.apps.*.effective_resources[*].job.id	string	ALL
        -resources.apps.*.effective_resources[*].job.permission	apps.AppResourceJobJobPermission	ALL
        -resources.apps.*.effective_resources[*].name	string	ALL
        -resources.apps.*.effective_resources[*].postgres	*apps.AppResourcePostgres	ALL
        -resources.apps.*.effective_resources[*].postgres.branch	string	ALL
        -resources.apps.*.effective_resources[*].postgres.database	string	ALL
        -resources.apps.*.effective_resources[*].postgres.permission	apps.AppResourcePostgresPostgresPermission	ALL
        -resources.apps.*.effective_resources[*].secret	*apps.AppResourceSecret	ALL
        -resources.apps.*.effective_resources[*].secret.key	string	ALL
        -resources.apps.*.effective_resources[*].secret.permission	apps.AppResourceSecretSecretPermission	ALL
        -resources.apps.*.effective_resources[*].secret.scope	string	ALL
        -resources.apps.*.effective_resources[*].serving_endpoint	*apps.AppResourceServingEndpoint	ALL
        -resources.apps.*.effective_resources[*].serving_endpoint.name	string	ALL
        -resources.apps.*.effective_resources[*].serving_endpoint.permission	apps.AppResourceServingEndpointServingEndpointPermission	ALL
        -resources.apps.*.effective_resources[*].sql_warehouse	*apps.AppResourceSqlWarehouse	ALL
        -resources.apps.*.effective_resources[*].sql_warehouse.id	string	ALL
        -resources.apps.*.effective_resources[*].sql_warehouse.permission	apps.AppResourceSqlWarehouseSqlWarehousePermission	ALL
        -resources.apps.*.effective_resources[*].uc_securable	*apps.AppResourceUcSecurable	ALL
        -resources.apps.*.effective_resources[*].uc_securable.permission	apps.AppResourceUcSecurableUcSecurablePermission	ALL
        -resources.apps.*.effective_resources[*].uc_securable.securable_full_name	string	ALL
        -resources.apps.*.effective_resources[*].uc_securable.securable_kind	string	ALL
        -resources.apps.*.effective_resources[*].uc_securable.securable_type	apps.AppResourceUcSecurableUcSecurableType	ALL
         resources.apps.*.effective_usage_policy_id	string	ALL
         resources.apps.*.effective_user_api_scopes	[]string	ALL
         resources.apps.*.effective_user_api_scopes[*]	string	ALL
        @@ -171,9 +128,6 @@
         resources.apps.*.pending_deployment.health_check.path	string	ALL
         resources.apps.*.pending_deployment.health_check.timeout	*duration.Duration	ALL
         resources.apps.*.pending_deployment.mode	apps.AppDeploymentMode	ALL
        -resources.apps.*.pending_deployment.scan_omitted_count_is_lower_bound	bool	ALL
        -resources.apps.*.pending_deployment.scan_omitted_findings_count	int	ALL
        -resources.apps.*.pending_deployment.scan_status	apps.AppDeploymentScanStatus	ALL
         resources.apps.*.pending_deployment.source_code_path	string	ALL
         resources.apps.*.pending_deployment.status	*apps.AppDeploymentStatus	ALL
         resources.apps.*.pending_deployment.status.message	string	ALL
        @@ -230,9 +184,6 @@
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.logs_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.metrics_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.traces_table	string	ALL
        -resources.apps.*.thumbnail	string	STATE
        -resources.apps.*.thumbnail_content	string	INPUT
        -resources.apps.*.thumbnail_path	string	INPUT
         resources.apps.*.thumbnail_url	string	ALL
         resources.apps.*.update_time	string	ALL
         resources.apps.*.updater	string	ALL
TestAccept/bundle/refschema/DMS=true: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/apps.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3319185451/001/output/apps.txt
        @@ -230,9 +230,6 @@
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.logs_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.metrics_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.traces_table	string	ALL
        -resources.apps.*.thumbnail	string	STATE
        -resources.apps.*.thumbnail_content	string	INPUT
        -resources.apps.*.thumbnail_path	string	INPUT
         resources.apps.*.thumbnail_url	string	ALL
         resources.apps.*.update_time	string	ALL
         resources.apps.*.updater	string	ALL

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>>> [CLI] bundle debug refschema --help\nDumps all available fields of the bundle config and of each resource type by walking the relevant types. Each line is a path to a field, type and set of tags:\n- INPUT: field is present in bundle config.\n- STATE: field is present in the state of the resource (direct deployment only).\n- REMOTE: field is present in the remote state of the resource (direct deployment only).\n- ALL: shortcut for all three.\n\nUsage:\n  databricks bundle debug refschema [flags]\n\nFlags:\n  -h, --help[=true|false]   help for refschema\n\nGlobal Flags:\n      --debug[=true|false]   enable debug logging\n  -o, --output type          output type: text or json (default text)\n  -p, --profile string       ~/.databrickscfg profile\n  -t, --target string        bundle target to use (if applicable)\n      --var strings          set values for variables defined in bundle config. Example: --var=\"foo=bar\"\n"
        	            	actual  : "\n>>> [CLI] bundle debug refschema --help\nDumps all available fields of the bundle config and of each resource type by walking the relevant types. Each line is a path to a field, type and set of tags:\n- INPUT: field is present in bundle config.\n- STATE: field is present in the state of the resource (direct deployment only).\n- REMOTE: field is present in the remote state of the resource (direct deployment only).\n- ALL: shortcut for all three.\n\nUsage:\n  databricks bundle debug refschema [flags]\n\nFlags:\n  -h, --help   help for refschema\n\nGlobal Flags:\n      --debug            enable debug logging\n  -o, --output type      output type: text or json (default text)\n  -p, --profile string   ~/.databrickscfg profile\n  -t, --target string    bundle target to use (if applicable)\n      --var strings      set values for variables defined in bundle config. Example: --var=\"foo=bar\"\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -12,10 +12,10 @@
        	            	 Flags:
        	            	-  -h, --help[=true|false]   help for refschema
        	            	+  -h, --help   help for refschema
        	            	 
        	            	 Global Flags:
        	            	-      --debug[=true|false]   enable debug logging
        	            	-  -o, --output type          output type: text or json (default text)
        	            	-  -p, --profile string       ~/.databrickscfg profile
        	            	-  -t, --target string        bundle target to use (if applicable)
        	            	-      --var strings          set values for variables defined in bundle config. Example: --var="foo=bar"
        	            	+      --debug            enable debug logging
        	            	+  -o, --output type      output type: text or json (default text)
        	            	+  -p, --profile string   ~/.databrickscfg profile
        	            	+  -t, --target string    bundle target to use (if applicable)
        	            	+      --var strings      set values for variables defined in bundle config. Example: --var="foo=bar"
        	            	 
        	Test:       	TestAccept/bundle/refschema/DMS=true
        	Messages:   	bundle/refschema/output.txt vs /tmp/TestAcceptbundlerefschemaDMS=true3075353089/002/output.txt
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/features.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/features.txt
        @@ -115,11 +115,6 @@
         resources.features.*.source.feature_view_source.feature_references	[]ml.FeatureReference	ALL
         resources.features.*.source.feature_view_source.feature_references[*]	ml.FeatureReference	ALL
         resources.features.*.source.feature_view_source.feature_references[*].feature	string	ALL
        -resources.features.*.source.iceberg_table_source	*ml.IcebergTableSource	ALL
        -resources.features.*.source.iceberg_table_source.dataframe_schema	string	ALL
        -resources.features.*.source.iceberg_table_source.filter_condition	string	ALL
        -resources.features.*.source.iceberg_table_source.full_name	string	ALL
        -resources.features.*.source.iceberg_table_source.transformation_sql	string	ALL
         resources.features.*.source.kafka_source	*ml.KafkaSource	ALL
         resources.features.*.source.kafka_source.entity_column_identifiers	[]ml.ColumnIdentifier	ALL
         resources.features.*.source.kafka_source.entity_column_identifiers[*]	ml.ColumnIdentifier	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/pipelines.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/pipelines.txt
        @@ -867,14 +867,6 @@
         resources.pipelines.*.tags	map[string]string	ALL
         resources.pipelines.*.tags.*	string	ALL
         resources.pipelines.*.target	string	ALL
        -resources.pipelines.*.testing	*pipelines.PipelineTesting	ALL
        -resources.pipelines.*.testing.environment	*pipelines.PipelineTestEnvironment	ALL
        -resources.pipelines.*.testing.environment.dependencies	[]string	ALL
        -resources.pipelines.*.testing.environment.dependencies[*]	string	ALL
        -resources.pipelines.*.testing.sources	[]pipelines.PipelineTestSource	ALL
        -resources.pipelines.*.testing.sources[*]	pipelines.PipelineTestSource	ALL
        -resources.pipelines.*.testing.sources[*].glob	*pipelines.PathPattern	ALL
        -resources.pipelines.*.testing.sources[*].glob.include	string	ALL
         resources.pipelines.*.trigger	*pipelines.PipelineTrigger	ALL
         resources.pipelines.*.trigger.cron	*pipelines.CronTrigger	ALL
         resources.pipelines.*.trigger.cron.quartz_cron_schedule	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/schemas.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/schemas.txt
        @@ -23,7 +23,7 @@
         resources.schemas.*.owner	string	REMOTE
         resources.schemas.*.properties	map[string]string	ALL
         resources.schemas.*.properties.*	string	ALL
        -resources.schemas.*.schema_id	string	REMOTE	STATE
        +resources.schemas.*.schema_id	string	REMOTE
         resources.schemas.*.storage_location	string	REMOTE
         resources.schemas.*.storage_root	string	ALL
         resources.schemas.*.updated_at	int64	REMOTE
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/apps.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/apps.txt
        @@ -26,9 +26,6 @@
         resources.apps.*.active_deployment.health_check.path	string	ALL
         resources.apps.*.active_deployment.health_check.timeout	*duration.Duration	ALL
         resources.apps.*.active_deployment.mode	apps.AppDeploymentMode	ALL
        -resources.apps.*.active_deployment.scan_omitted_count_is_lower_bound	bool	ALL
        -resources.apps.*.active_deployment.scan_omitted_findings_count	int	ALL
        -resources.apps.*.active_deployment.scan_status	apps.AppDeploymentScanStatus	ALL
         resources.apps.*.active_deployment.source_code_path	string	ALL
         resources.apps.*.active_deployment.status	*apps.AppDeploymentStatus	ALL
         resources.apps.*.active_deployment.status.message	string	ALL
        @@ -70,46 +67,6 @@
         resources.apps.*.default_source_code_path	string	ALL
         resources.apps.*.description	string	ALL
         resources.apps.*.effective_budget_policy_id	string	ALL
        -resources.apps.*.effective_resources	[]apps.AppResource	ALL
        -resources.apps.*.effective_resources[*]	apps.AppResource	ALL
        -resources.apps.*.effective_resources[*].app	*apps.AppResourceApp	ALL
        -resources.apps.*.effective_resources[*].app.name	string	ALL
        -resources.apps.*.effective_resources[*].app.permission	apps.AppResourceAppAppPermission	ALL
        -resources.apps.*.effective_resources[*].database	*apps.AppResourceDatabase	ALL
        -resources.apps.*.effective_resources[*].database.database_name	string	ALL
        -resources.apps.*.effective_resources[*].database.instance_name	string	ALL
        -resources.apps.*.effective_resources[*].database.permission	apps.AppResourceDatabaseDatabasePermission	ALL
        -resources.apps.*.effective_resources[*].description	string	ALL
        -resources.apps.*.effective_resources[*].experiment	*apps.AppResourceExperiment	ALL
        -resources.apps.*.effective_resources[*].experiment.experiment_id	string	ALL
        -resources.apps.*.effective_resources[*].experiment.permission	apps.AppResourceExperimentExperimentPermission	ALL
        -resources.apps.*.effective_resources[*].genie_space	*apps.AppResourceGenieSpace	ALL
        -resources.apps.*.effective_resources[*].genie_space.name	string	ALL
        -resources.apps.*.effective_resources[*].genie_space.permission	apps.AppResourceGenieSpaceGenieSpacePermission	ALL
        -resources.apps.*.effective_resources[*].genie_space.space_id	string	ALL
        -resources.apps.*.effective_resources[*].job	*apps.AppResourceJob	ALL
        -resources.apps.*.effective_resources[*].job.id	string	ALL
        -resources.apps.*.effective_resources[*].job.permission	apps.AppResourceJobJobPermission	ALL
        -resources.apps.*.effective_resources[*].name	string	ALL
        -resources.apps.*.effective_resources[*].postgres	*apps.AppResourcePostgres	ALL
        -resources.apps.*.effective_resources[*].postgres.branch	string	ALL
        -resources.apps.*.effective_resources[*].postgres.database	string	ALL
        -resources.apps.*.effective_resources[*].postgres.permission	apps.AppResourcePostgresPostgresPermission	ALL
        -resources.apps.*.effective_resources[*].secret	*apps.AppResourceSecret	ALL
        -resources.apps.*.effective_resources[*].secret.key	string	ALL
        -resources.apps.*.effective_resources[*].secret.permission	apps.AppResourceSecretSecretPermission	ALL
        -resources.apps.*.effective_resources[*].secret.scope	string	ALL
        -resources.apps.*.effective_resources[*].serving_endpoint	*apps.AppResourceServingEndpoint	ALL
        -resources.apps.*.effective_resources[*].serving_endpoint.name	string	ALL
        -resources.apps.*.effective_resources[*].serving_endpoint.permission	apps.AppResourceServingEndpointServingEndpointPermission	ALL
        -resources.apps.*.effective_resources[*].sql_warehouse	*apps.AppResourceSqlWarehouse	ALL
        -resources.apps.*.effective_resources[*].sql_warehouse.id	string	ALL
        -resources.apps.*.effective_resources[*].sql_warehouse.permission	apps.AppResourceSqlWarehouseSqlWarehousePermission	ALL
        -resources.apps.*.effective_resources[*].uc_securable	*apps.AppResourceUcSecurable	ALL
        -resources.apps.*.effective_resources[*].uc_securable.permission	apps.AppResourceUcSecurableUcSecurablePermission	ALL
        -resources.apps.*.effective_resources[*].uc_securable.securable_full_name	string	ALL
        -resources.apps.*.effective_resources[*].uc_securable.securable_kind	string	ALL
        -resources.apps.*.effective_resources[*].uc_securable.securable_type	apps.AppResourceUcSecurableUcSecurableType	ALL
         resources.apps.*.effective_usage_policy_id	string	ALL
         resources.apps.*.effective_user_api_scopes	[]string	ALL
         resources.apps.*.effective_user_api_scopes[*]	string	ALL
        @@ -171,9 +128,6 @@
         resources.apps.*.pending_deployment.health_check.path	string	ALL
         resources.apps.*.pending_deployment.health_check.timeout	*duration.Duration	ALL
         resources.apps.*.pending_deployment.mode	apps.AppDeploymentMode	ALL
        -resources.apps.*.pending_deployment.scan_omitted_count_is_lower_bound	bool	ALL
        -resources.apps.*.pending_deployment.scan_omitted_findings_count	int	ALL
        -resources.apps.*.pending_deployment.scan_status	apps.AppDeploymentScanStatus	ALL
         resources.apps.*.pending_deployment.source_code_path	string	ALL
         resources.apps.*.pending_deployment.status	*apps.AppDeploymentStatus	ALL
         resources.apps.*.pending_deployment.status.message	string	ALL
        @@ -230,9 +184,6 @@
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.logs_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.metrics_table	string	ALL
         resources.apps.*.telemetry_export_destinations[*].unity_catalog.traces_table	string	ALL
        -resources.apps.*.thumbnail	string	STATE
        -resources.apps.*.thumbnail_content	string	INPUT
        -resources.apps.*.thumbnail_path	string	INPUT
         resources.apps.*.thumbnail_url	string	ALL
         resources.apps.*.update_time	string	ALL
         resources.apps.*.updater	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/volumes.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/volumes.txt
        @@ -24,7 +24,7 @@
         resources.volumes.*.updated_at	int64	REMOTE
         resources.volumes.*.updated_by	string	REMOTE
         resources.volumes.*.url	string	INPUT
        -resources.volumes.*.volume_id	string	REMOTE	STATE
        +resources.volumes.*.volume_id	string	REMOTE
         resources.volumes.*.volume_path	string	INPUT
         resources.volumes.*.volume_type	catalog.VolumeType	ALL
         resources.volumes.*.grants.full_name	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/jobs.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/jobs.txt
        @@ -51,7 +51,6 @@
         resources.jobs.*.environments[*].spec.dependencies	[]string	ALL
         resources.jobs.*.environments[*].spec.dependencies[*]	string	ALL
         resources.jobs.*.environments[*].spec.environment_version	string	ALL
        -resources.jobs.*.environments[*].spec.image_uri	string	ALL
         resources.jobs.*.environments[*].spec.java_dependencies	[]string	ALL
         resources.jobs.*.environments[*].spec.java_dependencies[*]	string	ALL
         resources.jobs.*.environments[*].spec.project_environment	string	ALL
        
    acceptance_test.go:1380: Diff:
        --- bundle/refschema/output/catalogs.txt
        +++ /tmp/TestAcceptbundlerefschemaDMS=true3075353089/001/output/catalogs.txt
        @@ -12,7 +12,7 @@
         resources.catalogs.*.enable_predictive_optimization	catalog.EnablePredictiveOptimization	REMOTE
         resources.catalogs.*.full_name	string	REMOTE
         resources.catalogs.*.id	string	INPUT
        -resources.catalogs.*.isolation_mode	catalog.CatalogIsolationMode	ALL
        +resources.catalogs.*.isolation_mode	catalog.CatalogIsolationMode	REMOTE
         resources.catalogs.*.lifecycle	resources.Lifecycle	INPUT
         resources.catalogs.*.lifecycle.depends_on	[]resources.DependsOn	INPUT
         resources.catalogs.*.lifecycle.depends_on[*]	resources.DependsOn	INPUT
TestAccept/bundle/resources/apps/thumbnail-invalid/DMS=: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

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=== thumbnail_path: ./thumbnail.gif\n\n>>> [CLI] bundle validate\nError: app thumbnail thumbnail.gif must be a PNG or JPEG image, got image/gif\n  in databricks.yml:9:23\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 error\n\nExit code: 1\n\n=== thumbnail_path: ./large.png\n\n>>> [CLI] bundle validate\nError: app thumbnail large.png is 250001 bytes, larger than the limit of 250000 bytes\n  in databricks.yml:9:23\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 error\n\nExit code: 1\n\n=== thumbnail_path: ./missing.png\n\n>>> [CLI] bundle validate\nError: failed to read app thumbnail missing.png: open missing.png: no such file or directory\n  in databricks.yml:9:23\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 error\n\nExit code: 1\n"
        	            	actual  : "\n=== thumbnail_path: ./thumbnail.gif\n\n>>> [CLI] bundle validate\nWarning: unknown field: thumbnail_path\n  at resources.apps.myapp\n  in databricks.yml:9:7\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 warning\n\n=== thumbnail_path: ./large.png\n\n>>> [CLI] bundle validate\nWarning: unknown field: thumbnail_path\n  at resources.apps.myapp\n  in databricks.yml:9:7\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 warning\n\n=== thumbnail_path: ./missing.png\n\n>>> [CLI] bundle validate\nWarning: unknown field: thumbnail_path\n  at resources.apps.myapp\n  in databricks.yml:9:7\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 warning\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,4 +4,5 @@
        	            	 >>> [CLI] bundle validate
        	            	-Error: app thumbnail thumbnail.gif must be a PNG or JPEG image, got image/gif
        	            	-  in databricks.yml:9:23
        	            	+Warning: unknown field: thumbnail_path
        	            	+  at resources.apps.myapp
        	            	+  in databricks.yml:9:7
        	            	 
        	            	@@ -13,5 +14,3 @@
        	            	 
        	            	-Found 1 error
        	            	-
        	            	-Exit code: 1
        	            	+Found 1 warning
        	            	 
        	            	@@ -20,4 +19,5 @@
        	            	 >>> [CLI] bundle validate
        	            	-Error: app thumbnail large.png is 250001 bytes, larger than the limit of 250000 bytes
        	            	-  in databricks.yml:9:23
        	            	+Warning: unknown field: thumbnail_path
        	            	+  at resources.apps.myapp
        	            	+  in databricks.yml:9:7
        	            	 
        	            	@@ -29,5 +29,3 @@
        	            	 
        	            	-Found 1 error
        	            	-
        	            	-Exit code: 1
        	            	+Found 1 warning
        	            	 
        	            	@@ -36,4 +34,5 @@
        	            	 >>> [CLI] bundle validate
        	            	-Error: failed to read app thumbnail missing.png: open missing.png: no such file or directory
        	            	-  in databricks.yml:9:23
        	            	+Warning: unknown field: thumbnail_path
        	            	+  at resources.apps.myapp
        	            	+  in databricks.yml:9:7
        	            	 
        	            	@@ -45,5 +44,3 @@
        	            	 
        	            	-Found 1 error
        	            	+Found 1 warning
        	            	 
        	            	-Exit code: 1
        	            	-
        	Test:       	TestAccept/bundle/resources/apps/thumbnail-invalid/DMS=
        	Messages:   	bundle/resources/apps/thumbnail-invalid/output.txt vs /tmp/TestAcceptbundleresourcesappsthumbnail-invalidDMS=924001190/002/output.txt

latest (v1.26.0): same output as main (a07d81e)

TestAccept/bundle/resources/apps/thumbnail-invalid/DMS=true: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

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=== thumbnail_path: ./thumbnail.gif\n\n>>> [CLI] bundle validate\nError: app thumbnail thumbnail.gif must be a PNG or JPEG image, got image/gif\n  in databricks.yml:9:23\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 error\n\nExit code: 1\n\n=== thumbnail_path: ./large.png\n\n>>> [CLI] bundle validate\nError: app thumbnail large.png is 250001 bytes, larger than the limit of 250000 bytes\n  in databricks.yml:9:23\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 error\n\nExit code: 1\n\n=== thumbnail_path: ./missing.png\n\n>>> [CLI] bundle validate\nError: failed to read app thumbnail missing.png: open missing.png: no such file or directory\n  in databricks.yml:9:23\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 error\n\nExit code: 1\n"
        	            	actual  : "\n=== thumbnail_path: ./thumbnail.gif\n\n>>> [CLI] bundle validate\nWarning: unknown field: thumbnail_path\n  at resources.apps.myapp\n  in databricks.yml:9:7\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 warning\n\n=== thumbnail_path: ./large.png\n\n>>> [CLI] bundle validate\nWarning: unknown field: thumbnail_path\n  at resources.apps.myapp\n  in databricks.yml:9:7\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 warning\n\n=== thumbnail_path: ./missing.png\n\n>>> [CLI] bundle validate\nWarning: unknown field: thumbnail_path\n  at resources.apps.myapp\n  in databricks.yml:9:7\n\nName: test-bundle\nTarget: default\nWorkspace:\n  User: [USERNAME]\n  Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default\n\nFound 1 warning\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,4 +4,5 @@
        	            	 >>> [CLI] bundle validate
        	            	-Error: app thumbnail thumbnail.gif must be a PNG or JPEG image, got image/gif
        	            	-  in databricks.yml:9:23
        	            	+Warning: unknown field: thumbnail_path
        	            	+  at resources.apps.myapp
        	            	+  in databricks.yml:9:7
        	            	 
        	            	@@ -13,5 +14,3 @@
        	            	 
        	            	-Found 1 error
        	            	-
        	            	-Exit code: 1
        	            	+Found 1 warning
        	            	 
        	            	@@ -20,4 +19,5 @@
        	            	 >>> [CLI] bundle validate
        	            	-Error: app thumbnail large.png is 250001 bytes, larger than the limit of 250000 bytes
        	            	-  in databricks.yml:9:23
        	            	+Warning: unknown field: thumbnail_path
        	            	+  at resources.apps.myapp
        	            	+  in databricks.yml:9:7
        	            	 
        	            	@@ -29,5 +29,3 @@
        	            	 
        	            	-Found 1 error
        	            	-
        	            	-Exit code: 1
        	            	+Found 1 warning
        	            	 
        	            	@@ -36,4 +34,5 @@
        	            	 >>> [CLI] bundle validate
        	            	-Error: failed to read app thumbnail missing.png: open missing.png: no such file or directory
        	            	-  in databricks.yml:9:23
        	            	+Warning: unknown field: thumbnail_path
        	            	+  at resources.apps.myapp
        	            	+  in databricks.yml:9:7
        	            	 
        	            	@@ -45,5 +44,3 @@
        	            	 
        	            	-Found 1 error
        	            	+Found 1 warning
        	            	 
        	            	-Exit code: 1
        	            	-
        	Test:       	TestAccept/bundle/resources/apps/thumbnail-invalid/DMS=true
        	Messages:   	bundle/resources/apps/thumbnail-invalid/output.txt vs /tmp/TestAcceptbundleresourcesappsthumbnail-invalidDMS=true469425667/002/output.txt

latest (v1.26.0): same output as main (a07d81e)

TestAccept/bundle/resources/apps/thumbnail-upload-fails/DMS=: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

acceptance_test.go:1380: Diff:
        --- bundle/resources/apps/thumbnail-upload-fails/output.txt
        +++ /tmp/TestAcceptbundleresourcesappsthumbnail-upload-failsDMS=995991423/002/output.txt
        @@ -2,8 +2,11 @@
         === A failed upload after create keeps the app in state and leaves the thumbnail out of it
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Warning: failed to upload the thumbnail of app myappname, the next deploy retries it: Unsupported image
         Created apps.mykey
         Files: 2 uploaded, 0 deleted
         Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        @@ -14,24 +16,26 @@
         === The next deploy retries the upload
         
         >>> [CLI] bundle plan
        -update apps.mykey
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        -Plan: 0 to add, 1 to change, 0 to delete, 0 unchanged
        +Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged
         
         >>> [CLI] bundle deploy
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Error: cannot update resources.apps.mykey: updating id=myappname: Unsupported image (400 INVALID_PARAMETER_VALUE)
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/apps/myappname/thumbnail
        -HTTP Status: 400 Bad Request
        -API error_code: INVALID_PARAMETER_VALUE
        -API message: Unsupported image
        -
        +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
         Files: 0 uploaded, 0 deleted
        +Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
         
        -Exit code: 1
        -
         >>> [CLI] bundle destroy --auto-approve
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         The following resources will be deleted:
           delete resources.apps.mykey

latest (v1.26.0): same output as main (a07d81e)

TestAccept/bundle/resources/apps/thumbnail-upload-fails/DMS=true: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

acceptance_test.go:1380: Diff:
        --- bundle/resources/apps/thumbnail-upload-fails/output.txt
        +++ /tmp/TestAcceptbundleresourcesappsthumbnail-upload-failsDMS=true1465290187/002/output.txt
        @@ -2,8 +2,11 @@
         === A failed upload after create keeps the app in state and leaves the thumbnail out of it
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Warning: failed to upload the thumbnail of app myappname, the next deploy retries it: Unsupported image
         Created apps.mykey
         Files: 2 uploaded, 0 deleted
         Resources: 1 created, 0 changed, 0 deleted, 0 unchanged
        @@ -14,24 +16,26 @@
         === The next deploy retries the upload
         
         >>> [CLI] bundle plan
        -update apps.mykey
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        -Plan: 0 to add, 1 to change, 0 to delete, 0 unchanged
        +Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged
         
         >>> [CLI] bundle deploy
        -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Error: cannot update resources.apps.mykey: updating id=myappname: Unsupported image (400 INVALID_PARAMETER_VALUE)
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        -Endpoint: PATCH [DATABRICKS_URL]/api/2.0/apps/myappname/thumbnail
        -HTTP Status: 400 Bad Request
        -API error_code: INVALID_PARAMETER_VALUE
        -API message: Unsupported image
        -
        +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
         Files: 0 uploaded, 0 deleted
        +Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
         
        -Exit code: 1
        -
         >>> [CLI] bundle destroy --auto-approve
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         The following resources will be deleted:
           delete resources.apps.mykey

latest (v1.26.0): same output as main (a07d81e)

TestAccept/bundle/resources/apps/thumbnail/DMS=: branch ✅ | main (a07d81e) ❌ | latest (v1.26.0) ❌

main (a07d81e):

acceptance_test.go:1380: Diff:
        --- bundle/resources/apps/thumbnail/output.txt
        +++ /tmp/TestAcceptbundleresourcesappsthumbnailDMS=2152303971/002/output.txt
        @@ -2,6 +2,10 @@
         === Deploy with a thumbnail: the image is uploaded after the app is created
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
         Created apps.mykey
         Files: 5 uploaded, 0 deleted
        @@ -10,19 +14,31 @@
         >>> print_requests
         
         >>> [CLI] apps get myappname
        -"/ajax-api/2.0/thumbnails/raw/apps/1000/SMALL_DEFAULT.png"
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        +null
        +
         === State keeps only a hash of the image
         
         >>> jq .state["resources.apps.mykey"].state.thumbnail .databricks/bundle/default/resources.json
        -"sha256:[HASH]"
        +null
         
         === Redeploy with an unchanged image: no thumbnail request
         
         >>> [CLI] bundle plan
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
         Files: 1 uploaded, 0 deleted
         Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        @@ -32,41 +37,49 @@
         === New content at the same path: only the thumbnail is uploaded
         
         >>> [CLI] bundle plan
        -update apps.mykey
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        -Plan: 0 to add, 1 to change, 0 to delete, 0 unchanged
        +Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged
         
         >>> [CLI] bundle deploy
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Updated apps.mykey
         Files: 1 uploaded, 0 deleted
        -Resources: 0 created, 1 changed, 0 deleted, 0 unchanged
        +Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
         
         >>> print_requests
         
         === Deploy from a saved plan: the plan carries the image, not its hash
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
         
        +
         >>> [CLI] bundle deploy --plan tmp.plan.json
        +Warning: unknown field: thumbnail_path
        +  at resources.apps.mykey
        +  in databricks.yml:9:7
        +
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Updated apps.mykey
        -Files: 3 uploaded, 0 deleted
        -Resources: 0 created, 1 changed, 0 deleted, 0 unchanged
        +Files: 2 uploaded, 0 deleted
        +Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
         
         >>> print_requests.py //apps ^//api/2.0/bundle
        -iVBORw0KGgoA
         
         === Remove thumbnail_path: the thumbnail is deleted
         
         >>> [CLI] bundle plan
        -update apps.mykey
        +Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged
         
        -Plan: 0 to add, 1 to change, 0 to delete, 0 unchanged
        -
         >>> [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
        -Updated apps.mykey
         Files: 1 uploaded, 0 deleted
        -Resources: 0 created, 1 changed, 0 deleted, 0 unchanged
        +Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
         
         >>> print_requests
         
        
    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:1133
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:684
        	Error:      	Not equal: 
        	            	expected: "{\n  \"method\": \"POST\",\n  \"path\": \"/api/2.0/apps\",\n  \"q\": {\n    \"no_compute\": \"true\"\n  },\n  \"body\": {\n    \"description\": \"\",\n    \"name\": \"myappname\"\n  }\n}\n{\n  \"method\": \"PATCH\",\n  \"path\": \"/api/2.0/apps/myappname/thumbnail\",\n  \"body\": {\n    \"app_thumbnail\": {\n      \"thumbnail\": \"iVBORw0KGgoAAAANSUhEUgAAACAAAAASCAIAAAC1qksFAAAAHklEQVR42mNgYPhPYzRqwagFoxaMWjBqwagFdLAAAM9QPd+sTeHpAAAAAElFTkSuQmCC\"\n    }\n  }\n}\n{\n  \"method\": \"PATCH\",\n  \"path\": \"/api/2.0/apps/myappname/thumbnail\",\n  \"body\": {\n    \"app_thumbnail\": {\n      \"thumbnail\": \"iVBORw0KGgoAAAANSUhEUgAAACAAAAASCAIAAAC1qksFAAAAH0lEQVR42mP4z8BAU8QwasGoBaMWjFowasGoBfSwAABLGz3fTe+jHwAAAABJRU5ErkJggg==\"\n    }\n  }\n}\n{\n  \"method\": \"DELETE\",\n  \"path\": \"/api/2.0/apps/myappname/thumbnail\"\n}\n{\n  \"method\": \"DELETE\",\n  \"path\": \"/api/2.0/apps/myappname\"\n}\n"
        	            	actual  : "{\n  \"method\": \"POST\",\n  \"path\": \"/api/2.0/apps\",\n  \"q\": {\n    \"no_compute\": \"true\"\n  },\n  \"body\": {\n    \"description\": \"\",\n    \"name\": \"myappname\"\n  }\n}\n{\n  \"method\": \"DELETE\",\n  \"path\": \"/api/2.0/apps/myappname\"\n}\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -12,24 +12,2 @@
        	            	 {
        	            	-  "method": "PATCH",
        	            	-  "path": "/api/2.0/apps/myappname/thumbnail",
        	            	-  "body": {
        	            	-    "app_thumbnail": {
        	            	-      "thumbnail": "iVBORw0KGgoAAAANSUhEUgAAACAAAAASCAIAAAC1qksFAAAAHklEQVR42mNgYPhPYzRqwagFoxaMWjBqwagFdLAAAM9QPd+sTeHpAAAAAElFTkSuQmCC"
        	            	-    }
        	            	-  }
        	            	-}
        	            	-{
        	            	-  "method": "PATCH",
        	            	-  "path": "/api/2.0/apps/myappname/thumbnail",
        	            	-  "body": {
        	            	-    "app_thumbnail": {
        	            	-      "thumbnail": "iVBORw0KGgoAAAANSUhEUgAAACAAAAASCAIAAAC1qksFAAAAH0lEQVR42mP4z8BAU8QwasGoBaMWjFowasGoBfSwAABLGz3fTe+jHwAAAABJRU5ErkJggg=="
        	            	-    }
        	            	-  }
        	            	-}
        	            	-{
        	            	-  "method": "DELETE",
        	            	-  "path": "/api/2.0/apps/myappname/thumbnail"
        	            	-}
        	            	-{
        	            	   "method": "DELETE",
        	Test:       	TestAccept/bundle/resources/apps/thumbnail/DMS=
        	Messages:   	bundle/resources/apps/thumbnail/out.requests.json vs /tmp/TestAcceptbundleresourcesappsthumbnailDMS=2152303971/001/out.requests.json

latest (v1.26.0): same output as main (a07d81e)

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

@eng-dev-ecosystem-bot

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

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: c670d2f

Run: 44134097876

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 270 19 15:25
💚​ aws-windows-latest-4core-16gb 1 272 17 10:06
💚​ azure linux-2core-8gb 1 269 19 10:35
💚​ azure-windows-latest-4core-16gb 1 271 17 10:16
💚​ gcp linux-2core-8gb 1 270 19 14:45
💚​ gcp-windows-latest-4core-16gb 1 272 17 10:34
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 28 slowest tests (at least 2 minutes):
duration env testname
6:54 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
3:56 gcp-windows-latest-4core-16gb TestAccept
3:52 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
3:25 aws-windows-latest-4core-16gb TestImportDirWithOverwriteFlag
3:23 azure linux-2core-8gb TestFilerRecursiveDelete/workspace_files
3:21 gcp-windows-latest-4core-16gb TestSyncFullFileSync
3:20 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsDelete
3:18 aws-windows-latest-4core-16gb TestAccept
3:17 gcp-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead
3:17 gcp linux-2core-8gb TestExportWithFileFlag
3:16 aws-windows-latest-4core-16gb TestLock
3:13 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsReadDir
3:13 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsStat
3:12 aws linux-2core-8gb TestFilerReadWrite/workspace_files
3:11 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsRead
3:11 azure-windows-latest-4core-16gb TestAccept
3:07 gcp-windows-latest-4core-16gb TestImportDir
3:03 gcp-windows-latest-4core-16gb TestFilerRecursiveDelete/workspace_files
2:59 aws-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsStat
2:58 gcp linux-2core-8gb TestFilerWorkspaceFilesExtensionsReadDir
2:54 aws-windows-latest-4core-16gb TestImportDirDoesNotOverwrite
2:50 aws linux-2core-8gb TestFilerWorkspaceFilesExtensionsStat
2:48 gcp-windows-latest-4core-16gb TestFilerReadWrite/workspace_files_extensions
2:36 azure linux-2core-8gb TestFilerRecursiveDelete/workspace_files_extensions
2:35 azure-windows-latest-4core-16gb TestWorkspaceFilesExtensions_ExportFormatIsPreserved/source_sql
2:14 aws linux-2core-8gb TestFilerRecursiveDelete/workspace_files
2:06 gcp linux-2core-8gb TestFilerRecursiveDelete/workspace_files_extensions
2:01 azure-windows-latest-4core-16gb TestFilerWorkspaceFilesExtensionsRead

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants