Skip to content

Conversation

@choo121600
Copy link
Member

Problem

Second Vite dev server (Simple Auth Manager UI) never starts in breeze dev mode
image

image

Change

  • Change subprocess.run --> subprocess.Popen for the first pnpm dev
  • Add signal.pause() to keep the script alive so child processes stay in the same process group
Screenshot 2026-01-22 at 5 51 56 PM
Screen.Recording.2026-01-22.at.6.13.08.PM.mov

closes: #60930


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [claude] following the guidelines


  • 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 Jan 22, 2026
@ephraimbuddy
Copy link
Contributor

@pierrejeambrun, it seems I'm not alone in this issue. Similar to the reverted fix: #60786

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. TIl about pause()

@choo121600
Copy link
Member Author

Redirected prek output to file in dev mode.
Redirecting to file makes prek skip the indicator and keeps logs available for debugging.

image

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this problem is specific to --use-mprocs.

I tried both on main and can't reproduce, but if this fixes it for your setup go for it.

I tried this PR locally and both are working for me.

@choo121600
Copy link
Member Author

choo121600 commented Jan 24, 2026

@pierrejeambrun Thanks for checking!
From my investigation, this issue does not seem to be specific to the --use-mprocs option. I can reproduce the same behavior even when running inside a tmux session.

Screen.Recording.2026-01-24.at.2.29.32.PM.mov

Regarding the point @potiuk mentioned about “Compile UI assets in dev mode” being overridden in the terminal, this appears to be related to a prek version upgrade.
I did not see this behavior with prek==0.2.22, but started experiencing it after upgrading to 0.3.0.

Screen.Recording.2026-01-24.at.2.48.39.PM.mov
Screenshot 2026-01-24 at 2 49 29 PM

@choo121600
Copy link
Member Author

@ephraimbuddy would you mind checking this as well when you have time?

@choo121600 choo121600 merged commit ac765a6 into apache:main Jan 27, 2026
245 of 246 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 27, 2026
…eze (#60932)

* Fix Simple Auth Manager UI dev server not starting in breeze

* Redirected prek output to file in dev mode
(cherry picked from commit ac765a6)

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

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Jan 27, 2026
…eze (apache#60932)

* Fix Simple Auth Manager UI dev server not starting in breeze

* Redirected prek output to file in dev mode
(cherry picked from commit ac765a6)

Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
pierrejeambrun pushed a commit that referenced this pull request Jan 27, 2026
…eze (#60932) (#61107)

* Fix Simple Auth Manager UI dev server not starting in breeze

* Redirected prek output to file in dev mode
(cherry picked from commit ac765a6)

Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
shreyas-dev pushed a commit to shreyas-dev/airflow that referenced this pull request Jan 29, 2026
…60932)

* Fix Simple Auth Manager UI dev server not starting in breeze

* Redirected prek output to file in dev mode
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.

Second Vite dev server (Simple Auth Manager UI) never starts in breeze dev mode

5 participants