-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Clarify graph view dynamic task labels #29042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify graph view dynamic task labels #29042
Conversation
|
hi |
|
Sure. You can build your own airflow package and install it. Look at the INSTALL and https://github.com/apache/airflow/blob/main/INSTALL#L114 . You can also use breeze CLI https://github.com/apache/airflow/blob/main/BREEZE.rst#preparing-airflow-packages to build packages in consistent way. |
|
thanks @potiuk |
|
I have cherry-picked the commit and applied it to the docker image, still I don't see the graph |
|
Hello @KarthikRajashekaran, Front end assets are built/bundled using webpack. So you would need to rebuild this part in your image for it to work. (python setup.py compile_assets command pointed by Jarek or directly using yarn) As Jarek mentioned, you can also use breeze to build docker images and python packages in a consistent way. Here you could rebuild your own version of the airflow package with this patch, then extend your docker image to use this patched airflow version. I believe you could also directly build the docker image from the patched source by customising your image. But keeping a version of the patched package is preferable I think. Hope this helps. |
(cherry picked from commit 33ba242)
(cherry picked from commit 33ba242)
Fixing an issue reported in #28973
Closes: #29105
Skipped dynamic tasks put us in a position where a task was mapped but it had not mapped states and updating the graph labels would fail.
Also, handling mapped tasks vs mapped task groups were confusing. This PR aims to simplify that.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.