Repository navigation
Clear retry policy state when a TI is cleared - #73889
Merged
vatsrahul1001 merged 4 commits intoOct 26, 2026
Merged
vatsrahul1001 merged 4 commits into
vatsrahul1001 merged 4 commits into
Conversation
Contributor
Author
|
@kaxil 3.4 item, can I get a review here? |
kaxil
reviewed
Oct 6, 2026
amoghrajesh
requested review from
bugraoz93,
choo121600,
dheerajturaga,
ephraimbuddy,
guan404ming,
henry3260,
jason810496,
pierrejeambrun,
potiuk,
rawwar,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
October 12, 2026 13:00
kaxil
reviewed
Oct 12, 2026
kaxil
approved these changes
Oct 12, 2026
Member
|
fyi @amoghrajesh this one is waiting on you |
Contributor
Author
|
Thnx ill take a look today |
Contributor
Backport successfully created: v3-4-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
kaxil
pushed a commit
that referenced
this pull request
Oct 26, 2026
…75646) * Clear retry policy state when a TI is cleared * fixing review from kaxil * review comments from kaxil (cherry picked from commit 0df5500) Co-authored-by: Amogh Desai <[email protected]>
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.
Was generative AI tooling used to co-author this PR?
Follow up from #73030
A retry policy's decision describes one attempt, but both columns holding it outlived that attempt. Clearing a task reset its state and left them behind, and scheduling the next try bumped try_number without touching them, so a task that failed before it started reported the previous attempt's reason under the new attempt's number.
retry_delay_overrideis the one that changes behaviour rather than display:next_retry_datetime()prefers it over the task's own retry_delay, so a value left over from an earlier attempt silently retimed the next retry.Clearing at both points is safe because the retry path archives the finished try, with its reason, into task_instance_history first.
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.