Skip to content

Wrong timeout value for ExternalTaskSensor running in deferrable mode #43948

Description

@kien-truong

Apache Airflow version

2.10.3

If "Other Airflow 2 version" selected, which one?

No response

What happened?

The WorkflowTrigger used by ExternalTaskSensor should have a time limit set from timeout attribute instead of execution_timeout

timeout=self.execution_timeout,

What you think should happen instead?

No response

How to reproduce

  1. Start an ExternalTaskSensor in deferrable mode to monitor a non-running DAG, using default arguments.
  2. The Sensor never timeout because the monitored DAGs do not update, and the timeout value is wrongly set from execution_timeout instead of timeout

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Google Cloud Composer

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:async-operatorsAIP-40: Deferrable ("Async") Operatorsarea:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetpending-responsestaleStale PRs per the .github/workflows/stale.yml policy file

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions