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

Do not let EventsTimetable schedule past events if catchup=False #36134

Conversation

avkirilishin
Copy link
Contributor

closes: #33948

Fixed the bug and added some more tests.

Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Did a regressio with the example included in the bug report and this PR fixed it.

@jscheffl
Copy link
Contributor

@uranusjr As you are tagged as Codeowner, can you make another review before merge? Alternatively @Taragolis please make a second pass and then OK to merge?

@uranusjr uranusjr changed the title EventsTimetable schedules past events even if catchup=False Do not let EventsTimetable schedule past events if catchup=False Dec 13, 2023
@uranusjr
Copy link
Member

Looks right to me in general, just a minor idea on implementation. I also pushed a commit to improve typing slightly.

@eladkal eladkal added this to the Airflow 2.8.1 milestone Dec 13, 2023
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Dec 13, 2023
@eladkal eladkal force-pushed the 33948_bug_eventstimetable_schedules_past_events branch from 26a7a09 to d659a4f Compare January 10, 2024 15:37
@eladkal eladkal merged commit c01daf8 into apache:main Jan 10, 2024
53 checks passed
ephraimbuddy pushed a commit that referenced this pull request Jan 11, 2024
)

* Fix the EventsTimetable schedules past events bug
---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit c01daf8)
ephraimbuddy pushed a commit that referenced this pull request Jan 15, 2024
)

* Fix the EventsTimetable schedules past events bug
---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit c01daf8)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
…che#36134)

* Fix the EventsTimetable schedules past events bug
---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EventsTimetable schedules past events even if catchup=False
5 participants