kaxil commented on a change in pull request #14452:
URL: https://github.com/apache/airflow/pull/14452#discussion_r582808739
##########
File path: airflow/www/views.py
##########
@@ -3302,7 +3302,7 @@ class DagRunModelView(AirflowModelView):
'external_trigger',
'conf',
]
- edit_columns = ['state', 'dag_id', 'execution_date', 'run_id', 'conf']
+ edit_columns = ['state', 'dag_id', 'execution_date', 'start_date',
'end_date', 'run_id', 'conf']
Review comment:
I see this in the PR description but not sure if I understand it -- when
you mark a DagRun to state the Scheduler should set the appropriate date
instead of the user
>An issue with the DagRunEditForm, which would clear the start_date and
end_date for a DagRun, if the form was used to transition a DagRun from a
failed state back into a running state (or any other state). In the event where
the scheduler would determine the DagRun should've been in the failed or
success state (e.g. because the task instances weren't cleared), then this
would lead to a scheduler crash.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]