Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?

The trigger_rule of task_one_success is one_success. When the upstream node of task_one_success has not yet run, task_one_success is skipped. According to the semantics of one_success, task_one_success should be able to run.
The final result is as follows

My code is
from airflow import DAG
from airflow.operators.bash import BashOperator
from airflow.operators.python import BranchPythonOperator
with DAG(dag_id='error_test', schedule=None, default_args={}, ) as dag:
branch = BranchPythonOperator(task_id='branch', python_callable=lambda: 'task_run')
task_run = BashOperator(task_id='task_run', bash_command='echo 0')
task_skip = BashOperator(task_id='task_skip', bash_command='echo 0')
task_1 = BashOperator(task_id='task_1', bash_command='echo 0')
task_one_success = BashOperator(task_id='task_one_success', bash_command='echo 0', trigger_rule='one_success')
task_2 = BashOperator(task_id='task_2', bash_command='echo 0')
task_1 >> task_2
branch >> task_skip
branch >> task_run
task_run >> task_one_success
task_skip >> task_one_success
task_one_success >> task_2
task_skip >> task_2
What you think should happen instead?
No response
How to reproduce
The task_one_success node should be run
Operating System
centos and macos
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
The trigger_rule of
task_one_successisone_success. When the upstream node oftask_one_successhas not yet run,task_one_successis skipped. According to the semantics ofone_success,task_one_successshould be able to run.The final result is as follows

My code is
What you think should happen instead?
No response
How to reproduce
The task_one_success node should be run
Operating System
centos and macos
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct