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 a5c041ddf81 fix: Ensure parent directory exists before writing UI 
asset dev mode file (#62313)
a5c041ddf81 is described below

commit a5c041ddf818c9a05b99e1d748dd4a7f4c1dc5dc
Author: Yeonguk Choo <[email protected]>
AuthorDate: Sun Feb 22 23:43:13 2026 +0900

    fix: Ensure parent directory exists before writing UI asset dev mode file 
(#62313)
---
 dev/breeze/src/airflow_breeze/utils/run_utils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev/breeze/src/airflow_breeze/utils/run_utils.py 
b/dev/breeze/src/airflow_breeze/utils/run_utils.py
index 8e55b71888f..65dfe99aaff 100644
--- a/dev/breeze/src/airflow_breeze/utils/run_utils.py
+++ b/dev/breeze/src/airflow_breeze/utils/run_utils.py
@@ -458,6 +458,7 @@ def _run_compile_internally(
     if dev:
         # Clean up stale lock file
         compile_lock.unlink(missing_ok=True)
+        UI_ASSET_OUT_DEV_MODE_FILE.parent.mkdir(parents=True, exist_ok=True)
         with open(UI_ASSET_OUT_DEV_MODE_FILE, "w") as output_file:
             return run_command(
                 command_to_execute,

Reply via email to