-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
[AIRFLOW-3591] Fix start date, end date, duration for rescheduled tasks #4502
[AIRFLOW-3591] Fix start date, end date, duration for rescheduled tasks #4502
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4502 +/- ##
==========================================
+ Coverage 74.76% 74.79% +0.03%
==========================================
Files 429 429
Lines 29648 29638 -10
==========================================
+ Hits 22165 22167 +2
+ Misses 7483 7471 -12
Continue to review full report at Codecov.
|
* Use first start date when running a rescheduled task, this also fixes the duration. Use actual start date to record reschedule requests. * Simplify gantt view code now that start date and duration are correct in `task_instance` table
LGTM, PTAL @ashb and see if he has any other comments. |
gantt_bar_items.append((ti.task_id, ti.start_date, end_date, ti.state)) | ||
for tf in ti_fails: | ||
end_date = tf.end_date or timezone.utcnow() | ||
gantt_bar_items.append((tf.task_id, tf.start_date, end_date, State.FAILED)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol so much easier :D
…ks (apache#4502) * Use first start date when running a rescheduled task, this also fixes the duration. Use actual start date to record reschedule requests. * Simplify gantt view code now that start date and duration are correct in `task_instance` table
…ks (apache#4502) * Use first start date when running a rescheduled task, this also fixes the duration. Use actual start date to record reschedule requests. * Simplify gantt view code now that start date and duration are correct in `task_instance` table
Jira
Description
task_instance
tableTests
Commits
Documentation
Code Quality
flake8