This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new c81c570ecfb add ui e2e condtion for prod image build (#59523)
c81c570ecfb is described below
commit c81c570ecfbd3ea6f2a42c192f6aeb967b2574d6
Author: Rahul Vats <[email protected]>
AuthorDate: Tue Dec 16 23:51:59 2025 +0530
add ui e2e condtion for prod image build (#59523)
---
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 7 ++++++-
dev/breeze/tests/test_selective_checks.py | 3 ++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index e7ed94e27c9..088e2e6a035 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -959,7 +959,12 @@ class SelectiveChecks:
@cached_property
def prod_image_build(self) -> bool:
- return self.run_kubernetes_tests or self.run_helm_tests or
self.run_task_sdk_integration_tests
+ return (
+ self.run_kubernetes_tests
+ or self.run_helm_tests
+ or self.run_task_sdk_integration_tests
+ or self.run_ui_e2e_tests
+ )
def _select_test_type_if_matching(
self, test_types: set[str], test_type: SelectiveCoreTestType
diff --git a/dev/breeze/tests/test_selective_checks.py
b/dev/breeze/tests/test_selective_checks.py
index 9376131dd25..270fccf5929 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -1087,7 +1087,7 @@ def assert_outputs_are_printed(expected_outputs:
dict[str, str], stderr: str):
"python-versions":
f"['{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}']",
"python-versions-list-as-string":
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
"ci-image-build": "true",
- "prod-image-build": "false",
+ "prod-image-build": "true",
"docs-build": "false",
"full-tests-needed": "false",
"skip-prek-hooks":
ALL_SKIPPED_COMMITS_IF_NO_CODE_PROVIDERS_AND_HELM_TESTS,
@@ -1096,6 +1096,7 @@ def assert_outputs_are_printed(expected_outputs:
dict[str, str], stderr: str):
"mypy-checks": "[]",
"run-helm-tests": "false",
"run-ui-tests": "true",
+ "run-ui-e2e-tests": "true",
"run-unit-tests": "false",
"run-go-sdk-tests": "false",
"run-airflow-ctl-tests": "false",