Skip to content

bundle: report deployment history in deploy telemetry - #6779

Draft
shreyas-goenka wants to merge 1 commit into
shreyas-goenka/cli-managed-state-flagfrom
shreyas-goenka/deployment-history-telemetry
Draft

shreyas-goenka wants to merge 1 commit into
shreyas-goenka/cli-managed-state-flagfrom
shreyas-goenka/deployment-history-telemetry

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

Summary

Add deployment_history_enabled to bundle deploy telemetry using the existing IsDirectWithHistory predicate. Emit both true and false and update the affected telemetry golden files.

Based on #5365, which supplies the engine predicate.

Testing

go test ./bundle ./bundle/config/engine ./bundle/phases and all seven affected telemetry acceptance cases pass.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: fbe852b

Run: 35617932044

Env ❌​FAIL 🔄​flaky ✅​pass 🙈​skip Time
❌​ aws-cli-is linux 12 1 345 835 20:15
❌​ aws-cli-is windows 12 1 347 833 30:43
❌​ azure-cli-is linux 2 1 352 835 10:53
❌​ azure-cli-is windows 2 1 354 833 14:14
❌​ gcp-cli-is linux 8 341 838 19:12
❌​ gcp-cli-is windows 8 343 836 21:30
23 interesting tests: 23 FAIL
Test Name aws-cli-is linux aws-cli-is windows azure-cli-is linux azure-cli-is windows gcp-cli-is linux gcp-cli-is windows
❌​ TestAccept ❌​F ❌​F ✅​p ✅​p ❌​F ❌​F
❌​ TestAccept/bundle/resources/model_serving_endpoints/basic ❌​F ❌​F ✅​p ✅​p ❌​F ❌​F
❌​ TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=direct ❌​F ❌​F ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=terraform ❌​F ❌​F ✅​p ✅​p ❌​F ❌​F
❌​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions ❌​F ❌​F 🙈​s 🙈​s 🙈​s 🙈​s
❌​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct ❌​F ❌​F
❌​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform ❌​F ❌​F
❌​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions ❌​F ❌​F 🙈​s 🙈​s 🙈​s 🙈​s
❌​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct ❌​F ❌​F
❌​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform ❌​F ❌​F
❌​ TestFilerReadWrite ✅​p ✅​p ✅​p ✅​p ❌​F ❌​F
❌​ TestFilerReadWrite/files ✅​p ✅​p ✅​p ✅​p ❌​F ❌​F
❌​ TestFilerRecursiveDelete ✅​p ✅​p ✅​p ✅​p ❌​F ❌​F
❌​ TestFilerRecursiveDelete/files ✅​p ✅​p ✅​p ✅​p ❌​F ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo 🔄​f 🔄​f 🔄​f 🔄​f ❌​F ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/b7914419-a576-4a98-ab9c-43aede661b1b/integration-test-8b879cf27a08494fb94415cc5be46ca3 ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/b7914419-a576-4a98-ab9c-43aede661b1b/integration-test-8b879cf27a08494fb94415cc5be46ca3/knowledge_base/dashboard_nyc_taxi ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/b7914419-a576-4a98-ab9c-43aede661b1b/integration-test-a349a0860a4f4776a7c5c326887519e4 ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/b7914419-a576-4a98-ab9c-43aede661b1b/integration-test-a349a0860a4f4776a7c5c326887519e4/knowledge_base/dashboard_nyc_taxi ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/c05e85f6-38fa-4f85-ad14-290b1d68ae91/integration-test-2cbe5fb441d34d80b000aa98ac0c8364 ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/c05e85f6-38fa-4f85-ad14-290b1d68ae91/integration-test-2cbe5fb441d34d80b000aa98ac0c8364/knowledge_base/dashboard_nyc_taxi ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/c05e85f6-38fa-4f85-ad14-290b1d68ae91/integration-test-ae2219ecad984b4c9d2441ca08ab67b4 ❌​F
❌​ TestFetchRepositoryInfoAPI_FromRepo//Workspace/Repos/c05e85f6-38fa-4f85-ad14-290b1d68ae91/integration-test-ae2219ecad984b4c9d2441ca08ab67b4/knowledge_base/dashboard_nyc_taxi ❌​F
Top 15 slowest tests (at least 2 minutes):
duration env testname
5:48 azure-cli-is windows TestAccept
5:38 gcp-cli-is linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
5:11 gcp-cli-is windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
5:04 gcp-cli-is windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:43 aws-cli-is windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:25 aws-cli-is windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:13 azure-cli-is linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:03 azure-cli-is windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:58 gcp-cli-is linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:49 azure-cli-is windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:45 aws-cli-is linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:43 azure-cli-is linux TestAccept
2:34 aws-cli-is linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:33 azure-cli-is linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:15 gcp-cli-is linux TestAccept/bundle/resources/volumes/recreate/DATABRICKS_BUNDLE_ENGINE=terraform

This branch was successfully deployed

1 active deployment
test-trigger-is fbe852b6 Deployed Sep 21, 2026 by shreyas-goenka via trigger-tests #35092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants