Skip to content

fix(Breeze): Ensure parent directory exists before writing UI asset dev mode file#62313

Merged
potiuk merged 1 commit intoapache:mainfrom
choo121600:fix/breeze-ui-build-folder
Feb 22, 2026
Merged

fix(Breeze): Ensure parent directory exists before writing UI asset dev mode file#62313
potiuk merged 1 commit intoapache:mainfrom
choo121600:fix/breeze-ui-build-folder

Conversation

@choo121600
Copy link
Member

@choo121600 choo121600 commented Feb 22, 2026

summary

  • Ensure the parent directory of UI_ASSET_OUT_DEV_MODE_FILE is created before opening it for writing in dev mode.

Why

This issue became visible after running breeze doctor, which removes the .build/ui directory. Since the dev path did not recreate the parent directory, attempting to write the file could raise a FileNotFoundError.

Before

Screenshot 2026-02-22 at 4 02 28 PM image

After

Screenshot 2026-02-22 at 4 03 50 PM image
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Feb 22, 2026
@choo121600 choo121600 changed the title fix: Ensure parent directory exists before writing UI asset dev mode file fix(Breeze): Ensure parent directory exists before writing UI asset dev mode file Feb 22, 2026
@potiuk potiuk merged commit a5c041d into apache:main Feb 22, 2026
247 of 248 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 22, 2026
…et dev mode file (#62313)

(cherry picked from commit a5c041d)

Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-1-test PR Link

choo121600 added a commit that referenced this pull request Feb 23, 2026
…et dev mode file (#62313) (#62323)

(cherry picked from commit a5c041d)

Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants