Block retry_policy argument for StubOperator#68551
Merged
jason810496 merged 2 commits intoJun 15, 2026
Merged
Conversation
phanikumv
reviewed
Jun 15, 2026
phanikumv
reviewed
Jun 15, 2026
264bc84 to
999e9c9
Compare
phanikumv
approved these changes
Jun 15, 2026
pgagnon
pushed a commit
to pgagnon/airflow
that referenced
this pull request
Jun 15, 2026
* Block retry_policy argument for StubOperator * Guard retry_policy check for Airflow < 3.3 compatibility
imrichardwu
pushed a commit
to imrichardwu/airflow
that referenced
this pull request
Jun 16, 2026
* Block retry_policy argument for StubOperator * Guard retry_policy check for Airflow < 3.3 compatibility
dingo4dev
pushed a commit
to dingo4dev/airflow
that referenced
this pull request
Jun 16, 2026
* Block retry_policy argument for StubOperator * Guard retry_policy check for Airflow < 3.3 compatibility
RulerChen
pushed a commit
to RulerChen/airflow
that referenced
this pull request
Jun 16, 2026
* Block retry_policy argument for StubOperator * Guard retry_policy check for Airflow < 3.3 compatibility
75 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
While reading through how the
retriessetup for Task Execution. I found that we should block the newretry_policyargument in the first place for StubOperator.Unless all the lang-sdk runtime implement the handling
RetryPolicy(but that will not happen in the near future) so fail fast at authoring level.Was generative AI tooling used to co-author this PR?