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

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.10.2
   
   ### What happened?
   
   We use @short_circuit_task inside a mapped task group and we noticed that if 
at least one mapped short circuit out of the total resolves to skipping 
downstream tasks it skips all downstream tasks even ones belonging to different 
map index in which the short circuit didn't skip
   
   ### What you think should happen instead?
   
   Short circuit should only skip downstream tasks in the same task group
   
   ### How to reproduce
   
   @task_group
   def test_group(val):
       @task
        def test_task():
            return val==6
   
        @short_circuit_task
         def sc(v):
              return v
   
          sc(test_task()) >> EmptyOperator(....)
   
   test_group.expand(list(range(7)))
   
   the empty operator will always be skipped even though it should only be 
skipped in one mapped instance
   
   ### Operating System
   
   the os that's in apache/airflow:2.10.2-python3.9
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### 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