Skip to content

Conversation

vatsrahul1001
Copy link
Contributor

Reschedule sensors go into and out of running repeatedly within each try_number. Because the requeue logic allows 3 requeues per try_number, a reschedule sensor that experiences the need for requeues many hours apart can still fail. This PR changes that so that only requeues after the last time the task was running (if ever) are included.

Backport of : #51410
^ 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 airflow-core/newsfragments.

@vatsrahul1001 vatsrahul1001 requested a review from kaxil July 2, 2025 12:04
@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Jul 2, 2025
@kaxil kaxil merged commit 3ffe991 into v3-0-test Jul 2, 2025
55 checks passed
@kaxil kaxil deleted the backport-51410-v3 branch July 2, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler including HA (high availability) scheduler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants