atul-astronomer opened a new issue, #53002:
URL: https://github.com/apache/airflow/issues/53002

   ### Apache Airflow version
   
   3.0.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Skipped EmptyOperator task logs are giving 404 error
   
   <img width="1216" height="468" alt="Image" 
src="https://github.com/user-attachments/assets/f5879601-e76c-4c46-abbc-961b865066e4";
 />
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Have a dag which has EmptyOperator which is supposed to be skipped:
   
   ```python
   from datetime import datetime
   
   from airflow import Dataset
   from airflow.decorators import dag
   from airflow.providers.standard.operators.python import BranchPythonOperator
   from airflow.providers.standard.operators.empty import EmptyOperator
   
   # these two will have downstream dags
   left = Dataset("left")
   right = Dataset("right")
   
   
   @dag(start_date=datetime(1970, 1, 1), schedule=None)
   def branch_empty():
       l = EmptyOperator(task_id="left", outlets=[left])
       c = EmptyOperator(task_id="center", outlets=[])
       r = EmptyOperator(task_id="right", outlets=[right])
       BranchPythonOperator(
           task_id="decide", python_callable=lambda: ["left", "center"]
       ) >> [l, c, r]
   
   
   branch_empty()
   
   ``` 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### 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