You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/06 01:44:00 UTC

[GitHub] [airflow] RNHTTR removed a comment on issue #21972: Cycle detected in dag when there is no cycle using taskgroups and the taskflow api

RNHTTR removed a comment on issue #21972:
URL: https://github.com/apache/airflow/issues/21972#issuecomment-1059846990


   Interestingly, this also happens for me using the image `quay.io/astronomer/astro-runtime:4.1.0` (airflow version 2.2.4) with the DAG included in `astrocloud dev init`, `example-dag-advanced.py`, which I believe has the following graph:
   
   ```mermaid
   graph LR
       %% A[begin] -->|Get money| B(Go shopping)
       begin --> check_day_of_week
       check_day_of_week --> weekday --> weekday_activities
       check_day_of_week --> weekend --> weekend_activities
       weekday_activities --> Z[end]
       weekend_activities --> Z[end]
       
       X{weekday_activities} --> which_weekday_activity_day
       which_weekday_activity_day --> |monday| guitar_lessons
       which_weekday_activity_day --> |tuesday| studying
       which_weekday_activity_day --> |wednesday| soccer_practice
       which_weekday_activity_day --> |thursday| contributing_to_Airflow
       which_weekday_activity_day --> |friday| family_dinner
   
       Y{weekend_activities} --> which_weekend_activity_day
       which_weekend_activity_day --> |saturday| going_to_the_beach
       which_weekend_activity_day --> |sunday| sleeping_in
   ```
   
   I'm not sure why this would result in a cycle being detected.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org