This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit b47f11c09c81c2a03f8153e16cc913161acd0f99
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 4 02:50:33 2025 +0100
[v3-1-test] Add prek check before compiling assets in start-airflow
(#58979) (#58996)
(cherry picked from commit 08813da0d696c0f663c0f5b312ac6dfb3d2a72e1)
Co-authored-by: Jarek Potiuk <[email protected]>
---
dev/breeze/src/airflow_breeze/commands/developer_commands.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/src/airflow_breeze/commands/developer_commands.py
b/dev/breeze/src/airflow_breeze/commands/developer_commands.py
index ceb6b701da2..71ab14516b6 100644
--- a/dev/breeze/src/airflow_breeze/commands/developer_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/developer_commands.py
@@ -635,7 +635,9 @@ def start_airflow(
"[info]Detected WSL environment. Automatically enabled
CHOKIDAR_USEPOLLING for hot reloading."
)
+ perform_environment_checks(quiet=False)
if use_airflow_version is None and not skip_assets_compilation:
+ assert_prek_installed()
# Now with the /ui project, lets only do a static build of /www and
focus on the /ui
run_compile_ui_assets(dev=dev_mode, run_in_background=True,
force_clean=False)
airflow_constraints_reference = _determine_constraint_branch_used(
@@ -701,7 +703,6 @@ def start_airflow(
use_uv=use_uv,
uv_http_timeout=uv_http_timeout,
)
- perform_environment_checks(quiet=shell_params.quiet)
rebuild_or_pull_ci_image_if_needed(command_params=shell_params)
result = enter_shell(shell_params=shell_params)
fix_ownership_using_docker()