The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
7661f34869e44e9550455d0411c127889acb6b34 / Jarek Potiuk <[email protected]>
Improve 'start-airflow' experience for users and ui developers (#26341)

Since we moved the "compile-www-assets" to host (and deferred it
to pre-commit to prepare and manage appropriate node virtualenv),
starting airflow via `start-airflow` command had become slower,
adding quite a few seconds always when you run the command. Also
it was a bit convoluted to start dev mode - you had to stop
and restart webserver and run dev asset recompilation.

This change improves the `start-airflow` experience in several ways:

* the compile-www-assets pre-commit in start airflow runs in a
  background, daemon thread. This allows start-airflow command
  to continue even if asset compilation takes quite some time.
  By the time webserver starts and database initializes and the user
  launches browser it should be completed anyway.
* the assets are not recompiled if none of the "www" files changed which
  for most people who run airflow without modifying the UI part
  will make it really fast to re-run start-airflow
* we have a new flag --skip-assets-compilation added that will skip
  asset compilation even if the www files were modified
* finally we have a new "--dev-mode" when starting airflow that will
  run the "dev" mode of assets compilation. And thanks to the
  background, daemon thread, assets compilation in dev mode will
  continue running as long as the `start-airflow` command is running

All this should naturally plug in the exisitng start-airflow usage
and add new capabilities for those who develop UI (you can run
dev mode now without manually restarting anything).

Report URL: https://github.com/apache/airflow/actions/runs/3066208119

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to