Voldurk opened a new issue, #44911:
URL: https://github.com/apache/airflow/issues/44911

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.9.1
   
   ### What happened?
   
   The new graph view seems to be ignoring set TaskGroup ui_color value, 
displays the default 
   
![image](https://github.com/user-attachments/assets/f2e67704-7df9-47af-9062-85d231b447d0)
   
![image](https://github.com/user-attachments/assets/9173f0de-c9df-4ddd-95da-b1375882580a)
   
   
   ### What you think should happen instead?
   
   Display specified color, as in the old graph view
   
   ### How to reproduce
   
   Recreate the following DAG and check its graph view in the UI
   
   ```
   from datetime import datetime
   from airflow.decorators import dag, task_group
   from airflow.operators.empty import EmptyOperator
   
   @dag(dag_id="task_group_color", start_date=datetime(2024, 12, 1), 
schedule=None)
   def generate_dag():
       @task_group(ui_color="orange")
       def group():
           EmptyOperator(task_id="task")
       group()
   generate_dag()
   ```
   
   ### Operating System
   
   composer-2.8.8-airflow-2.9.1
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Google Cloud Composer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to