Description
Currently airlfow standalone multiplexes logs at the stdout, and while it is useful for non-interactive usage, when you run airflow standalone as an interactive user (for example when you want to do some Dag development related tasks, or even when you develop airflow itself), it's not really helpful to see those logs multiplexed.
Recently in breeze we switched to mprocs as a default terminal multiplexer and after discussion in https://lists.apache.org/thread/lj1lj2typ8mwj75pmjt3gs1o6k9p7dmf the conclusion is that mprocs would be a great terminal/log multiplexer for airflow standalone --interactive mode (new mode that we would like to add).
It has some nice featuers:
- intuitive TUI interface
- ability to control, restart and generally manage each of the sub-processes
- ability to see logs separately for each process
- intuitive keyboard and mouse navigation
- nice copy&paste support for issue reporting and diagnostics
Use case/motivation
Interactive airflow standalone would be nice for anyone using airflow standalone to test and debug Dags.
It is also good to test and debug airflow itself - for local virtualenve development it might be a convenien,t local equivalent of start-airflow without the need of having docker and docker compose (with limitations of course - only working for sqlite, and only supporting local executor).
Related issues
Are you willing to submit a PR?
Code of Conduct
Description
Currently airlfow standalone multiplexes logs at the stdout, and while it is useful for non-interactive usage, when you run
airflow standaloneas an interactive user (for example when you want to do some Dag development related tasks, or even when you develop airflow itself), it's not really helpful to see those logs multiplexed.Recently in
breezewe switched tomprocsas a default terminal multiplexer and after discussion in https://lists.apache.org/thread/lj1lj2typ8mwj75pmjt3gs1o6k9p7dmf the conclusion is thatmprocswould be a great terminal/log multiplexer forairflow standalone --interactivemode (new mode that we would like to add).It has some nice featuers:
Use case/motivation
Interactive
airflow standalonewould be nice for anyone usingairflow standaloneto test and debug Dags.It is also good to test and debug airflow itself - for local virtualenve development it might be a convenien,t local equivalent of
start-airflowwithout the need of having docker and docker compose (with limitations of course - only working for sqlite, and only supporting local executor).Related issues
breeze start-airflowcommand #58702Are you willing to submit a PR?
Code of Conduct