cli icon indicating copy to clipboard operation
cli copied to clipboard

Add support for .dbalert.json files

Open shreyas-goenka opened this issue 3 months ago β€’ 2 comments

Changes

Why

Tests

shreyas-goenka avatar Sep 15 '25 09:09 shreyas-goenka

Commit: https://github.com/databricks/cli/pull/3602/commits/d1e03f8e98b14a4ec265a720bde6ffad6f147b29

Run: 20103454605

Env πŸͺ²β€‹BUG πŸŸ¨β€‹KNOWN πŸ”„β€‹flaky πŸ’šβ€‹RECOVERED πŸ™ˆβ€‹SKIP βœ…β€‹pass πŸ™ˆβ€‹skip Time
πŸͺ²β€‹ aws linux 3 1 6 2 380 642 21:46
πŸͺ²β€‹ aws windows 3 1 6 2 382 640 20:26
πŸͺ²β€‹ aws-ucws linux 3 1 6 2 523 527 29:01
πŸͺ²β€‹ aws-ucws windows 3 1 6 2 525 525 25:15
πŸͺ²β€‹ azure linux 3 1 4 381 640 22:58
πŸͺ²β€‹ azure windows 3 1 4 383 638 22:27
πŸͺ²β€‹ azure-ucws linux 3 1 2 4 518 525 28:38
πŸͺ²β€‹ azure-ucws windows 3 1 4 522 523 27:13
πŸͺ²β€‹ gcp linux 3 1 4 370 646 22:45
πŸͺ²β€‹ gcp windows 3 1 4 372 644 21:35
14 interesting tests: 6 RECOVERED, 3 BUG, 2 SKIP, 2 flaky, 1 KNOWN
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
πŸŸ¨β€‹ TestAccept πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K
πŸͺ²β€‹ TestAccept/bundle/resources/alerts/with_file πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B
πŸͺ²β€‹ TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=direct πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B
πŸͺ²β€‹ TestAccept/bundle/resources/alerts/with_file/DATABRICKS_BUNDLE_ENGINE=terraform πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B πŸͺ²β€‹B
πŸ™ˆβ€‹ TestAccept/bundle/resources/permissions πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
πŸ’šβ€‹ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
πŸ’šβ€‹ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R
πŸ’šβ€‹ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R
πŸ’šβ€‹ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
πŸ’šβ€‹ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R
πŸ’šβ€‹ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R
πŸ”„β€‹ TestAccept/bundle/resources/secret_scopes/permissions βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p πŸ”„β€‹f βœ…β€‹p πŸ™ˆβ€‹s πŸ™ˆβ€‹s
πŸ”„β€‹ TestAccept/bundle/resources/secret_scopes/permissions/DATABRICKS_BUNDLE_ENGINE=terraform βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p πŸ”„β€‹f βœ…β€‹p
πŸ™ˆβ€‹ TestAccept/bundle/run/app-with-job πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
Top 24 slowest tests (at least 2 minutes):
duration env testname
7:00 aws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
6:43 aws-ucws windows TestAccept/bundle/resources/synced_database_tables/basic
6:25 gcp linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
6:21 gcp linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
6:18 aws-ucws linux TestAccept/bundle/resources/synced_database_tables/basic
6:13 aws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
6:03 aws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
6:00 aws-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:42 aws-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:42 aws-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:29 aws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:26 gcp windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:25 aws-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:25 gcp windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:02 azure-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:02 azure-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:45 azure-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
4:42 azure-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
4:12 azure windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
4:09 azure windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
3:35 azure-ucws linux TestAccept/bundle/resources/synced_database_tables/basic
3:30 azure-ucws windows TestAccept/bundle/resources/synced_database_tables/basic
2:10 gcp windows TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.11
2:07 azure linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform

eng-dev-ecosystem-bot avatar Sep 15 '25 09:09 eng-dev-ecosystem-bot

This PR has not received an update in a while. If you want to keep this PR open, please leave a comment below or push a new commit and auto-close will be canceled.

github-actions[bot] avatar Nov 15 '25 00:11 github-actions[bot]

Updated alerts/with_file to include exporting the alert and asserting that it's content did not change.

shreyas-goenka avatar Dec 10 '25 15:12 shreyas-goenka