Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

respect soft_fail argument when ExternalTaskSensor runs in deferrable mode #33196

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Aug 8, 2023

We notice that not all the sensors respect soft_fail. This PR is meant to demonstrate how I'd like to address this issue. Will send PRs to fix other sensors when we finalize the way to fix it.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:core-operators Operators, Sensors and hooks within Core Airflow label Aug 8, 2023
@Lee-W Lee-W changed the title respect soft_fail argument when ExternalTskSensor runs in deferrable mode respect soft_fail argument when ExternalTaskSensor runs in deferrable mode Aug 8, 2023
@eladkal eladkal added this to the Airflow 2.7.1 milestone Aug 8, 2023
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Aug 8, 2023
airflow/sensors/base.py Outdated Show resolved Hide resolved
@Lee-W Lee-W force-pushed the respect-soft_fail-when-ExternalTaskSensor-run-in-deferrable-mode branch from 7fb0d8d to d9c385f Compare August 14, 2023 00:03
airflow/sensors/base.py Outdated Show resolved Hide resolved
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nitpick

@potiuk potiuk merged commit a1b5bdb into apache:main Aug 14, 2023
42 checks passed
amoghrajesh pushed a commit to amoghrajesh/airflow that referenced this pull request Aug 14, 2023
hussein-awala added a commit to hussein-awala/airflow that referenced this pull request Aug 16, 2023
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 17, 2023
hussein-awala added a commit that referenced this pull request Aug 22, 2023
ephraimbuddy pushed a commit that referenced this pull request Aug 28, 2023
ephraimbuddy pushed a commit that referenced this pull request Aug 28, 2023
…ferrable mode (#33196)" (#33458)

This reverts commit a1b5bdb.

(cherry picked from commit 85a5677)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core-operators Operators, Sensors and hooks within Core Airflow type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants