-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Internal] Automatically trigger integration tests on PR #800
Conversation
208254a
to
15581e2
Compare
15581e2
to
c7a4981
Compare
# The hash for the merge queue may not be the same as the hash for the PR. | ||
# Auto approve the check for the merge queue for two reasons: | ||
# * Queue times out due to duration of tests. | ||
# * Avoid running integration tests twice. | ||
auto-approve: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we even need to trigger the workflow for the merge queues if we then auto-approve it? Can we add an explanation to the comment too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it. In short, the "required checks" are shared between PRs and Merge Queue.
c7a4981
to
5719e77
Compare
Test status: success |
### Bug Fixes * Correctly generate classes with nested body fields ([#808](#808)). ### Internal Changes * Add `cleanrooms` package ([#806](#806)). * Add test instructions for external contributors ([#804](#804)). * Always write message for manual test execution ([#811](#811)). * Automatically trigger integration tests on PR ([#800](#800)). * Better isolate ML serving auth unit tests ([#803](#803)). * Move templates in the code generator ([#809](#809)). ### API Changes: * Added [w.aibi_dashboard_embedding_access_policy](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_access_policy.html) workspace-level service and [w.aibi_dashboard_embedding_approved_domains](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_approved_domains.html) workspace-level service. * Added [w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html) workspace-level service. * Added `app_deployment` field for `databricks.sdk.service.apps.CreateAppDeploymentRequest`. * Added `app` field for `databricks.sdk.service.apps.CreateAppRequest`. * Added `app` field for `databricks.sdk.service.apps.UpdateAppRequest`. * Added `table` field for `databricks.sdk.service.catalog.CreateOnlineTableRequest`. * Added `azure_aad` field for `databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`. * Added `full_name` field for `databricks.sdk.service.catalog.StorageCredentialInfo`. * Added `dashboard` field for `databricks.sdk.service.dashboards.CreateDashboardRequest`. * Added `schedule` field for `databricks.sdk.service.dashboards.CreateScheduleRequest`. * Added `subscription` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`. * Added `warehouse_id` field for `databricks.sdk.service.dashboards.Schedule`. * Added `dashboard` field for `databricks.sdk.service.dashboards.UpdateDashboardRequest`. * Added `schedule` field for `databricks.sdk.service.dashboards.UpdateScheduleRequest`. * Added `page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest`. * Added `next_page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse`. * Added `connection_name` field for `databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition`. * Added `is_no_public_ip_enabled` field for `databricks.sdk.service.provisioning.CreateWorkspaceRequest`. * Added `external_customer_info` and `is_no_public_ip_enabled` fields for `databricks.sdk.service.provisioning.Workspace`. * Added `last_used_day` field for `databricks.sdk.service.settings.TokenInfo`. * Changed `create()` method for [w.apps](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/apps.html) workspace-level service with new required argument order. * Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service . New request type is `databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest` dataclass. * Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service to type `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service. * Changed `create()`, `create_schedule()`, `create_subscription()` and `update_schedule()` methods for [w.lakeview](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/lakeview.html) workspace-level service with new required argument order. * Removed [w.clean_rooms](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/clean_rooms.html) workspace-level service. * Removed `deployment_id`, `mode` and `source_code_path` fields for `databricks.sdk.service.apps.CreateAppDeploymentRequest`. * Removed `description`, `name` and `resources` fields for `databricks.sdk.service.apps.CreateAppRequest`. * Removed `description` and `resources` fields for `databricks.sdk.service.apps.UpdateAppRequest`. * Removed `name` and `spec` fields for `databricks.sdk.service.catalog.CreateOnlineTableRequest`. * Removed `display_name`, `parent_path`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.CreateDashboardRequest`. * Removed `cron_schedule`, `display_name` and `pause_status` fields for `databricks.sdk.service.dashboards.CreateScheduleRequest`. * Removed `subscriber` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`. * Removed `display_name`, `etag`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.UpdateDashboardRequest`. * Removed `cron_schedule`, `display_name`, `etag` and `pause_status` fields for `databricks.sdk.service.dashboards.UpdateScheduleRequest`. * Removed `prev_page_token` field for `databricks.sdk.service.jobs.Run`. OpenAPI SHA: 5285ce76f81314f342c1702d5c2ad4ef42488781, Date: 2024-11-04
### Bug Fixes * Correctly generate classes with nested body fields ([#808](#808)). ### Internal Changes * Add `cleanrooms` package ([#806](#806)). * Add test instructions for external contributors ([#804](#804)). * Always write message for manual test execution ([#811](#811)). * Automatically trigger integration tests on PR ([#800](#800)). * Better isolate ML serving auth unit tests ([#803](#803)). * Move templates in the code generator ([#809](#809)). ### API Changes: * Added [w.aibi_dashboard_embedding_access_policy](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_access_policy.html) workspace-level service and [w.aibi_dashboard_embedding_approved_domains](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_approved_domains.html) workspace-level service. * Added [w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html) workspace-level service. * Added `app_deployment` field for `databricks.sdk.service.apps.CreateAppDeploymentRequest`. * Added `app` field for `databricks.sdk.service.apps.CreateAppRequest`. * Added `app` field for `databricks.sdk.service.apps.UpdateAppRequest`. * Added `table` field for `databricks.sdk.service.catalog.CreateOnlineTableRequest`. * Added `azure_aad` field for `databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`. * Added `full_name` field for `databricks.sdk.service.catalog.StorageCredentialInfo`. * Added `dashboard` field for `databricks.sdk.service.dashboards.CreateDashboardRequest`. * Added `schedule` field for `databricks.sdk.service.dashboards.CreateScheduleRequest`. * Added `subscription` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`. * Added `warehouse_id` field for `databricks.sdk.service.dashboards.Schedule`. * Added `dashboard` field for `databricks.sdk.service.dashboards.UpdateDashboardRequest`. * Added `schedule` field for `databricks.sdk.service.dashboards.UpdateScheduleRequest`. * Added `page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest`. * Added `next_page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse`. * Added `connection_name` field for `databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition`. * Added `is_no_public_ip_enabled` field for `databricks.sdk.service.provisioning.CreateWorkspaceRequest`. * Added `external_customer_info` and `is_no_public_ip_enabled` fields for `databricks.sdk.service.provisioning.Workspace`. * Added `last_used_day` field for `databricks.sdk.service.settings.TokenInfo`. * Changed `create()` method for [w.apps](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/apps.html) workspace-level service with new required argument order. * Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service . New request type is `databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest` dataclass. * Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service to type `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service. * Changed `create()`, `create_schedule()`, `create_subscription()` and `update_schedule()` methods for [w.lakeview](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/lakeview.html) workspace-level service with new required argument order. * Removed [w.clean_rooms](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/clean_rooms.html) workspace-level service. * Removed `prev_page_token` field for `databricks.sdk.service.jobs.Run`. * Removed `deployment_id`, `mode` and `source_code_path` fields for `databricks.sdk.service.apps.CreateAppDeploymentRequest`. * Removed `description`, `name` and `resources` fields for `databricks.sdk.service.apps.CreateAppRequest`. * Removed `description` and `resources` fields for `databricks.sdk.service.apps.UpdateAppRequest`. * Removed `name` and `spec` fields for `databricks.sdk.service.catalog.CreateOnlineTableRequest`. * Removed `display_name`, `parent_path`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.CreateDashboardRequest`. * Removed `cron_schedule`, `display_name` and `pause_status` fields for `databricks.sdk.service.dashboards.CreateScheduleRequest`. * Removed `subscriber` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`. * Removed `display_name`, `etag`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.UpdateDashboardRequest`. * Removed `cron_schedule`, `display_name`, `etag` and `pause_status` fields for `databricks.sdk.service.dashboards.UpdateScheduleRequest`. OpenAPI SHA: 5285ce76f81314f342c1702d5c2ad4ef42488781, Date: 2024-11-04
Changes
Automatically trigger integration tests when a PR is opened or updated
Tests
Updated workflow triggered the tests. On success, the tests marked the check as succesfull.
make test
passingmake fmt
applied