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

   ### Body
   
   As mentioned in https://github.com/apache/airflow/pull/53035
   
   Simply running the following dag and trying to access the graph fails:
   ```
   from __future__ import annotations
   
   import datetime
   
   from airflow.providers.standard.operators.hitl import ApprovalOperator
   from airflow.sdk import DAG, task
   
   with DAG(
       dag_id="aip_90_dag",
       start_date=datetime.datetime(2021, 1, 1),
       schedule="@daily",
   ):
       approve_or_reject = ApprovalOperator(
           task_id="approve_or_reject",
           subject="This is subject",
           body="This is body",
       )
   
       approve_if_timeout = ApprovalOperator(
           task_id="approve_if_timeout",
           subject="This is subject",
           defaults="Approve",
           execution_timeout=datetime.timedelta(seconds=1),
       )
   
       @task
       def run_after_approve() -> None:
           pass
   
       reject_if_timeout = ApprovalOperator(
           task_id="reject_if_timeout",
           subject="This is subject",
           defaults="Reject",
           execution_timeout=datetime.timedelta(seconds=1),
       )
   
       @task
       def skip_due_to_reject() -> None:
           pass
   
       @task
       def skip_due_to_upstream_skip() -> None:
           pass
   
       approve_if_timeout >> run_after_approve()
       reject_if_timeout >> skip_due_to_reject() >> skip_due_to_upstream_skip()
   
   ```
   There is a short flickering where we can see the graph, and then the page 
goes blank:
   
   <img width="988" height="926" alt="Image" 
src="https://github.com/user-attachments/assets/6ec9b245-9de7-4978-9408-51d43538aa10";
 />
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
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