Skip to content

Fix dashboard tests for Lakeview API behavior change - #4640

Merged
pietern merged 2 commits into
mainfrom
fix-dashboard-tests
Mar 3, 2026
Merged

Fix dashboard tests for Lakeview API behavior change#4640
pietern merged 2 commits into
mainfrom
fix-dashboard-tests

Conversation

@pietern

Copy link
Copy Markdown
Contributor

Changes

The server-side Lakeview API changed behavior in two ways:

  1. lakeview update now returns the full serialized_dashboard in its response, even when the update only changed other fields (e.g. display_name). Previously it returned "{}".

  2. lakeview update now clears fields not included in the request (e.g. warehouse_id). Previously unspecified fields were preserved.

Both changes are consistent with a move from partial update (merge) to full replace semantics on the Lakeview API's mutable fields.

Tests

Update acceptance tests, testserver, and integration test to match.

The server-side Lakeview API changed behavior in two ways:
1. `lakeview update` now returns the full `serialized_dashboard` in its
response, even when the update only changed other fields (e.g.
`display_name`). Previously it returned "{}".
2. `lakeview update` now clears fields not included in the request
(e.g. `warehouse_id`). Previously unspecified fields were preserved.
Both changes are consistent with a move from partial update (merge) to
full replace semantics on the Lakeview API's mutable fields.
Update acceptance tests, testserver, and integration test to match.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator

Commit: dfe4e88

Run: 22623154768

Env🪲​BUG❌​FAIL🟨​KNOWN🔄​flaky💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
🪲​aws linux17172677768:26
🪲​aws windows17172697747:15
🪲​aws-ucws linux127736369113:59
🪲​aws-ucws windows127736568911:45
🪲​azure linux161119263774105:19
🪲​azure windows171219263772114:44
🪲​azure-ucws linux131936768718:11
🪲​azure-ucws windows141936868516:01
🪲​gcp linux161219258777117:26
29 interesting tests: 9 FAIL, 7 KNOWN, 7 SKIP, 5 flaky, 1 BUG
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linux
🟨​TestAccept🟨​K🟨​K💚​R🔄​f🟨​K🟨​K🔄​f💚​R🟨​K
❌​TestAccept/bundle/deployment/bind/alert🙈​s🙈​s🙈​s🙈​s❌​F❌​F✅​p✅​p❌​F
❌​TestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=direct❌​F🔄​f✅​p✅​p❌​F
❌​TestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=terraform✅​p❌​F✅​p✅​p❌​F
❌​TestAccept/bundle/generate/alert✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p❌​F
❌​TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p❌​F
❌​TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p🔄​f🔄​f✅​p✅​p❌​F
❌​TestAccept/bundle/resources/alerts/with_file✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p🔄​f
❌​TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p🔄​f
❌​TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p✅​p
🙈​TestAccept/bundle/resources/permissions🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🔄​TestAccept/bundle/resources/permissions/jobs/delete_one/cloud🙈​s🙈​s✅​p✅​p🙈​s🙈​s✅​p🔄​f🙈​s
🔄​TestAccept/bundle/resources/permissions/jobs/delete_one/cloud/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p🔄​f
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions🟨​K🟨​K💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions🟨​K🟨​K💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
🙈​TestAccept/bundle/resources/postgres_branches/basic🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/recreate🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/update_protected🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/without_branch_id🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_endpoints/recreate🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/synced_database_tables/basic🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🔄​TestAccept/ssh/connect-serverless-gpu🙈​s🙈​s🔄​f🔄​f🙈​s🙈​s🔄​f🔄​f🙈​s
🔄​TestAccept/ssh/connection💚​R💚​R🔄​f💚​R💚​R💚​R💚​R🔄​f💚​R
🔄​TestSyncNestedFolderDoesntFailOnNonEmptyDirectory✅​p✅​p✅​p✅​p✅​p✅​p🔄​f✅​p✅​p
🪲​TestImportFileFormatSource🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B
Top 36 slowest tests (at least 2 minutes):
durationenvtestname
9:36azure linuxTestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=terraform
9:34gcp linuxTestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=terraform
7:56azure linuxTestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=direct
6:59azure linuxTestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=terraform
4:51azure windowsTestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=direct
4:48aws-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
4:22gcp linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:58aws-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:44aws-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:41azure-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:33azure-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:31azure windowsTestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=terraform
3:18gcp linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:17azure-ucws linuxTestAccept/bundle/resources/permissions/jobs/delete_one/cloud/DATABRICKS_BUNDLE_ENGINE=terraform
3:15aws-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:09azure-ucws windowsTestAccept/bundle/resources/volumes/recreate/DATABRICKS_BUNDLE_ENGINE=direct
3:05azure-ucws windowsTestAccept/bundle/resources/permissions/jobs/delete_one/cloud/DATABRICKS_BUNDLE_ENGINE=direct
3:04aws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:57azure-ucws linuxTestAccept/bundle/deploy/files/no-snapshot-sync/DATABRICKS_BUNDLE_ENGINE=terraform
2:56azure-ucws linuxTestAccept/bundle/resources/dashboards/generate_inplace/DATABRICKS_BUNDLE_ENGINE=direct
2:54aws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:52azure linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:52aws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:48azure-ucws linuxTestAccept/bundle/deployment/bind/job/generate-and-bind/DATABRICKS_BUNDLE_ENGINE=terraform
2:47azure-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:46aws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:38azure-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:31aws-ucws linuxTestAccept/bundle/deploy/files/no-snapshot-sync/DATABRICKS_BUNDLE_ENGINE=terraform
2:30aws-ucws linuxTestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=terraform
2:21azure linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:21azure-ucws windowsTestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=terraform
2:19azure-ucws linuxTestAccept/bundle/deploy/files/no-snapshot-sync/DATABRICKS_BUNDLE_ENGINE=direct
2:17azure windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:07azure-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=direct
2:05azure windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:03azure-ucws windowsTestAccept/bundle/resources/jobs/check-metadata/DATABRICKS_BUNDLE_ENGINE=direct

The testserver's DashboardUpdate now clears warehouse_id when not
provided in the update request, matching the new Lakeview API behavior.
Update expected output accordingly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pietern
pieterntemporarily deployed to test-trigger-is March 3, 2026 12:31 — with GitHub Actions Inactive
if updateReq.WarehouseId != "" {
dashboard.WarehouseId = updateReq.WarehouseId
}
dashboard.WarehouseId = updateReq.WarehouseId

@anton-107anton-107Mar 3, 2026

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.

Update dashboard API is using the PATCH semantics (see https://docs.databricks.com/api/workspace/lakeview/update). If the field is missing from the request the previous values should be left intact.

The generate/dashboard-inplace was failing in the original commit because of this, but I could not find: which local test was failing prior to this change?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

It doesn't have an update_mask field to select which fields to update though.

This testserver change aligns the local test with the remote observed behavior.

@pietern
pietern merged commit 3ef5948 into mainMar 3, 2026
19 of 20 checks passed
@pietern
pietern deleted the fix-dashboard-tests branch March 3, 2026 13:17
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Commit: 3ef5948

Run: 22624743877

Env🪲​BUG❌​FAIL🟨​KNOWN🤯​MISS🔄​flaky💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
🪲​aws linux1371749273060:27
🪲​aws windows1721746273955:25
🪲​aws-ucws linux12231759579119:05
🪲​aws-ucws windows14231720590117:26
🪲​azure linux22011947772880:12
🪲​azure windows21411945273781:37
🪲​azure-ucws linux113648722582120:00
🪲​azure-ucws windows220238680595114:58
🪲​gcp linux21611946173773:18
🪲​gcp windows211119435746235:56
69 interesting tests: 36 FAIL, 16 RECOVERED, 8 KNOWN, 4 flaky, 2 BUG, 2 MISS, 1 SKIP
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp windows
🟨​TestAccept🟨​K🟨​K🔄​f💚​R🟨​K🟨​K🤯​M🟨​K🟨​K🟨​K
❌​TestAccept/bundle/config-remote-sync/cli_defaults✅​p🙈​s✅​p🙈​s❌​F🙈​s✅​p🙈​s✅​p🙈​s
❌​TestAccept/bundle/config-remote-sync/cli_defaults/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/config-remote-sync/multiple_resources❌​F🙈​s✅​p🙈​s❌​F🙈​s✅​p🙈​s❌​F🙈​s
❌​TestAccept/bundle/config-remote-sync/multiple_resources/DATABRICKS_BUNDLE_ENGINE=direct❌​F✅​p❌​F✅​p❌​F
❌​TestAccept/bundle/config-remote-sync/multiple_resources/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p❌​F✅​p❌​F
🪲​TestAccept/bundle/deployment/bind/alert🙈​s🙈​s🙈​s🙈​s🪲​B🪲​B🤯​M🪲​B🪲​B🪲​B
❌​TestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F🤯​M❌​F❌​F❌​F
❌​TestAccept/bundle/deployment/bind/alert/DATABRICKS_BUNDLE_ENGINE=terraform❌​F❌​F🤯​M❌​F❌​F❌​F
❌​TestAccept/bundle/generate/alert✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/generate/alert/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_single_user✅​p✅​p✅​p✅​p❌​F✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/invariant/migrate🙈​s🙈​s✅​p✅​p🙈​s🙈​s❌​F❌​F🙈​s🙈​s
❌​TestAccept/bundle/invariant/migrate/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=database_catalog.yml.tmpl✅​p✅​p❌​F✅​p
❌​TestAccept/bundle/invariant/migrate/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=database_instance.yml.tmpl✅​p✅​p✅​p❌​F
❌​TestAccept/bundle/resources/alerts/basic✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/resources/alerts/basic/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F❌​F❌​F✅​p❌​F❌​F
❌​TestAccept/bundle/resources/alerts/basic/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/resources/alerts/with_file✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p❌​F❌​F❌​F❌​F❌​F❌​F
❌​TestAccept/bundle/resources/clusters/run/spark_python_task✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/clusters/run/spark_python_task/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/database_catalogs/basic🙈​s🙈​s✅​p✅​p🙈​s🙈​s❌​F✅​p🙈​s🙈​s
❌​TestAccept/bundle/resources/database_catalogs/basic/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p❌​F✅​p
🙈​TestAccept/bundle/resources/permissions🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions🟨​K🟨​K💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions🟨​K🟨​K💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/basic🙈​S🙈​S💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/postgres_branches/basic/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/basic/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/recreate🙈​S🙈​S💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/postgres_branches/recreate/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/recreate/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/update_protected🙈​S🙈​S💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/postgres_branches/update_protected/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/update_protected/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/without_branch_id🙈​S🙈​S💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/postgres_branches/without_branch_id/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R
💚​TestAccept/bundle/resources/postgres_branches/without_branch_id/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R
💚​TestAccept/bundle/resources/postgres_endpoints/recreate🙈​S🙈​S💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/synced_database_tables/basic🙈​S🙈​S💚​R💚​R🙈​S🙈​S💚​R💚​R🙈​S🙈​S
💚​TestAccept/bundle/resources/synced_database_tables/basic/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R💚​R💚​R
💚​TestAccept/bundle/resources/synced_database_tables/basic/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R💚​R💚​R
🔄​TestAccept/bundle/run/app-with-job✅​p✅​p✅​p🔄​f✅​p✅​p✅​p✅​p✅​p✅​p
🔄​TestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p🔄​f✅​p✅​p✅​p✅​p✅​p✅​p
🔄​TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=yes/PY=yes/READPLAN=✅​p🔄​f✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p
🔄​TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=yes/PY=no/READPLAN=✅​p🔄​f✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/templates/default-python/integration_classic✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct/UV_PYTHON=3.11✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct/UV_PYTHON=3.9✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/ssh/connect-serverless-gpu🙈​s🙈​s🔄​f🔄​f🙈​s🙈​s✅​p❌​F🙈​s🙈​s
🟨​TestAccept/ssh/connection💚​R💚​R💚​R🔄​f💚​R💚​R💚​R🟨​K💚​R💚​R
🤯​TestDbrAcceptance🙈​s🙈​s🙈​s🙈​s🙈​s🙈​s🤯​M🙈​s🙈​s🙈​s
🤯​TestInprocessMode🙈​s🙈​s🙈​s🙈​s🙈​s🙈​s🤯​M🙈​s🙈​s🙈​s
🪲​TestImportFileFormatSource🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B🪲​B
❌​TestFilerWorkspaceNotebook✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
❌​TestFilerWorkspaceNotebook/sqlJupyterNotebook.ipynb✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
Top 50 slowest tests (at least 2 minutes):
durationenvtestname
20:17azure-ucws linuxTestAccept/bundle/resources/database_catalogs/basic/DATABRICKS_BUNDLE_ENGINE=terraform
19:01azure windowsTestAccept/bundle/resources/permissions/factcheck/DATABRICKS_BUNDLE_ENGINE=terraform
16:47azure linuxTestAccept/bundle/resources/permissions/factcheck/DATABRICKS_BUNDLE_ENGINE=terraform
14:41azure-ucws windowsTestAccept/bundle/resources/synced_database_tables/basic/DATABRICKS_BUNDLE_ENGINE=direct
13:39aws windowsTestSparkJarTaskDeployAndRunOnWorkspace/Databricks_Runtime_14.3_LTS
13:13gcp linuxTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
13:01azure linuxTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
12:47azure-ucws linuxTestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=synced_database_table.yml.tmpl
12:34azure-ucws windowsTestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=database_instance.yml.tmpl
11:42azure windowsTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
10:40gcp windowsTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
10:33gcp windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
10:30aws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
10:27aws-ucws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
10:16gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
10:15azure linuxTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
9:54azure-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
9:49azure-ucws windowsTestAccept/bundle/resources/alerts/basic/DATABRICKS_BUNDLE_ENGINE=direct
9:36aws-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=terraform
9:30aws-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
9:27azure-ucws linuxTestAccept/bundle/invariant/migrate/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=database_instance.yml.tmpl
9:23azure-ucws linuxTestAccept/bundle/resources/synced_database_tables/basic/DATABRICKS_BUNDLE_ENGINE=terraform
8:55gcp windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
8:41aws windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
8:34gcp windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
8:24gcp windowsTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=direct
8:21gcp windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
8:20aws-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
8:18aws-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
8:08azure-ucws windowsTestAccept/bundle/resources/permissions/factcheck/DATABRICKS_BUNDLE_ENGINE=terraform
8:04gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
8:04gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
8:02gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
7:57gcp windowsTestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=direct
7:55azure-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=direct
7:51azure-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
7:50gcp windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
7:50gcp linuxTestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=direct
7:49gcp windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=direct
7:38aws-ucws linuxTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
7:36gcp windowsTestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=terraform
7:31gcp linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
7:30aws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
7:30aws windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=direct
7:27aws linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
7:25aws-ucws windowsTestAccept/bundle/resources/synced_database_tables/basic/DATABRICKS_BUNDLE_ENGINE=terraform
7:25aws windowsTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
7:24aws-ucws windowsTestAccept/bundle/resources/synced_database_tables/basic/DATABRICKS_BUNDLE_ENGINE=direct
7:23aws-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
7:19gcp linuxTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform

simonfaltum added a commit that referenced this pull request Apr 23, 2026
## Why
Integration test nightlies (`cli-isolated-pr.yml`) have been red on
every main run since 2026-04-02, when `#4899` temporarily disabled the
trigger. The trigger was re-enabled in `#5034` and all accumulated
failures surfaced at once. Nothing in any in-flight feature PR is to
blame; this PR just clears the backlog so nightly signal goes green
again.
Two independent regressions:
1. The host-metadata cache (`#5011`) regenerated goldens for tests that
run locally, but could not touch `Cloud=true, Local=false` suites.
`acceptance/selftest/record_cloud/{pipeline-crud,workspace-file-io}`
still expected the pre-cache `/.well-known/databricks-config` calls.
2. Lakeview server behavior now varies by cloud on workspace import. AWS
staging includes `serialized_dashboard` in the updated fields; GCP
production no longer clears `warehouse_id`. The exact-match assertions
in `TestDashboardAssumptions_WorkspaceImport` fail differently on each
cloud.
## Changes
**Before:** `record_cloud` goldens include redundant
`/.well-known/databricks-config` GETs; dashboard test hard-codes exact
updated/deleted fields.
**Now:** goldens regenerated against e2-dogfood (only diff is removal of
the cached requests); dashboard assertions use `assert.Subset` so they
tolerate cross-cloud drift but still fail on anything outside the
known-allowed set.
- `acceptance/selftest/record_cloud/pipeline-crud/output.txt`,
`acceptance/selftest/record_cloud/workspace-file-io/output.txt`: rerun
with `-update` under `CLOUD_ENV=aws` against e2-dogfood. Both terraform
and direct variants produce identical output.
- `integration/assumptions/dashboard_assumptions_test.go`: `etag` and
`update_time` must appear in updated fields; `serialized_dashboard` is
allowed; `warehouse_id` is the only allowed deletion. Comment points to
the observed cross-cloud split so the next reader knows why.
Follows the pattern of the previous Lakeview-behavior-change fix in
`#4640`.
## Test plan
- [x] `make checks` clean
- [x] `make lint` clean (0 issues)
- [x] `go test ./acceptance -run
'TestAccept/selftest/record_cloud/{workspace-file-io,pipeline-crud}'`
passes against e2-dogfood (both terraform and direct variants)
- [x] `go test ./integration/assumptions -run
TestDashboardAssumptions_WorkspaceImport` passes against e2-dogfood
- [ ] cli-isolated-pr.yml integration run on this branch comes back
green
denik pushed a commit that referenced this pull request May 20, 2026
## Changes
The server-side Lakeview API changed behavior in two ways:
1. `lakeview update` now returns the full `serialized_dashboard` in its
response, even when the update only changed other fields (e.g.
`display_name`). Previously it returned "{}".
2. `lakeview update` now clears fields not included in the request (e.g.
`warehouse_id`). Previously unspecified fields were preserved.
Both changes are consistent with a move from partial update (merge) to
full replace semantics on the Lakeview API's mutable fields.
## Tests
Update acceptance tests, testserver, and integration test to match.
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
denik pushed a commit that referenced this pull request May 20, 2026
## Why
Integration test nightlies (`cli-isolated-pr.yml`) have been red on
every main run since 2026-04-02, when `#4899` temporarily disabled the
trigger. The trigger was re-enabled in `#5034` and all accumulated
failures surfaced at once. Nothing in any in-flight feature PR is to
blame; this PR just clears the backlog so nightly signal goes green
again.
Two independent regressions:
1. The host-metadata cache (`#5011`) regenerated goldens for tests that
run locally, but could not touch `Cloud=true, Local=false` suites.
`acceptance/selftest/record_cloud/{pipeline-crud,workspace-file-io}`
still expected the pre-cache `/.well-known/databricks-config` calls.
2. Lakeview server behavior now varies by cloud on workspace import. AWS
staging includes `serialized_dashboard` in the updated fields; GCP
production no longer clears `warehouse_id`. The exact-match assertions
in `TestDashboardAssumptions_WorkspaceImport` fail differently on each
cloud.
## Changes
**Before:** `record_cloud` goldens include redundant
`/.well-known/databricks-config` GETs; dashboard test hard-codes exact
updated/deleted fields.
**Now:** goldens regenerated against e2-dogfood (only diff is removal of
the cached requests); dashboard assertions use `assert.Subset` so they
tolerate cross-cloud drift but still fail on anything outside the
known-allowed set.
- `acceptance/selftest/record_cloud/pipeline-crud/output.txt`,
`acceptance/selftest/record_cloud/workspace-file-io/output.txt`: rerun
with `-update` under `CLOUD_ENV=aws` against e2-dogfood. Both terraform
and direct variants produce identical output.
- `integration/assumptions/dashboard_assumptions_test.go`: `etag` and
`update_time` must appear in updated fields; `serialized_dashboard` is
allowed; `warehouse_id` is the only allowed deletion. Comment points to
the observed cross-cloud split so the next reader knows why.
Follows the pattern of the previous Lakeview-behavior-change fix in
`#4640`.
## Test plan
- [x] `make checks` clean
- [x] `make lint` clean (0 issues)
- [x] `go test ./acceptance -run
'TestAccept/selftest/record_cloud/{workspace-file-io,pipeline-crud}'`
passes against e2-dogfood (both terraform and direct variants)
- [x] `go test ./integration/assumptions -run
TestDashboardAssumptions_WorkspaceImport` passes against e2-dogfood
- [ ] cli-isolated-pr.yml integration run on this branch comes back
green
Sign up for freeto 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

@pietern@eng-dev-ecosystem-bot@anton-107@andrewnester