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 294cd86e5b4 When UI files change in PR we build CI image / run all
static checks (#52009)
294cd86e5b4 is described below
commit 294cd86e5b42457e135e6c1be045badc45514329
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Jun 22 09:08:01 2025 +0200
When UI files change in PR we build CI image / run all static checks
(#52009)
Previously when only UI files changed (for example when dependabot
bumped UI dependencies), the CI image was not built and only
basic static checks were run - which did not show error when
dependency upgrade caused different results when compiling ui assets
---
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 1 +
dev/breeze/tests/test_selective_checks.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 45a3549984a..0393d39d49b 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -834,6 +834,7 @@ class SelectiveChecks:
or self.docs_build
or self.run_kubernetes_tests
or self.needs_helm_tests
+ or self.run_ui_tests
or self.pyproject_toml_changed
or self.any_provider_yaml_or_pyproject_toml_changed
)
diff --git a/dev/breeze/tests/test_selective_checks.py
b/dev/breeze/tests/test_selective_checks.py
index e2bb068aa86..9b67138a9a7 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -1167,7 +1167,7 @@ def assert_outputs_are_printed(expected_outputs:
dict[str, str], stderr: str):
"all-python-versions-list-as-string":
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
"python-versions":
f"['{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}']",
"python-versions-list-as-string":
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
- "ci-image-build": "false",
+ "ci-image-build": "true",
"prod-image-build": "false",
"needs-helm-tests": "false",
"run-tests": "false",