You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The Next Run column name and tooltip is misleading #31365
Expected date/time of the next DAG Run, or for dataset triggered DAGs, how many datasets have been updated since the last DAG Run
"Expected date/time of the next DAG Run" to me sounds like Run After.
Should the tooltip indicate something along the lines of "start interval of the next dagrun" or maybe the header Next Run is outdated? Something like "Next Data Interval"?
On the same vein, "Last Run" is equally as confusing. The header can be "Last Data Interval" in additional to a tool tip that describe it is the data interval start of the last dagrun.
Use case/motivation
Users confused "Next Run" as when the next dagrun will be queued and ran and does not interpret it as the next dagrun's data interval start.
+1 to this. This was raised by our internal users after Airflow upgrade. The Next Run was assumed by many as the date the execution should happen though it is only data interval start and many missed the hover over part thinking it's a plain button. We modified it to show next_dagrun_create_after as more users wanted to know the next time the dag will be executed than the data interval start.
@wolfier@hussein-awala@bbovenzi I would like to take this up if nobody is working actively towards it.
The consensus here is to re word the tooltip text, right?
As of Airflow 2.6.3 the "Next Run" listed on the DAG page is still in the past. For example, I have a DAG that runs on the first of the month at 8PM. The next run is 2023-09-01, 20:00:00, but the DAG UI for "Next Run" show 2023-08-01, 20:00:00, which is the data_interval_start, and is in the past. Wouldn't it be more accurate for this UI component to display the data_interval_end, which is the actual datetime of the next run?
It appears the commit in #31467 just changes the tooltip text, however I believe the true change needed is to change the actual UI component to use data_interval_end instead of data_interval_start for its "Next Run". Any thoughts?
Activity
tirkarthi commentedon May 17, 2023
+1 to this. This was raised by our internal users after Airflow upgrade. The Next Run was assumed by many as the date the execution should happen though it is only data interval start and many missed the hover over part thinking it's a plain button. We modified it to show
next_dagrun_create_afteras more users wanted to know the next time the dag will be executed than the data interval start.tirkarthi commentedon May 17, 2023
Prior discussion :
#17732
#21493
amoghrajesh commentedon May 22, 2023
@wolfier @hussein-awala @bbovenzi I would like to take this up if nobody is working actively towards it.
The consensus here is to re word the tooltip text, right?
potiuk commentedon May 22, 2023
Looks like. Propose in PR and then it might be fine-tuned :)
amoghrajesh commentedon May 23, 2023
@potiuk it got assigned to @wolfier. I dont think @wolfier is taking this issue up.
Rafnel commentedon Aug 2, 2023
As of Airflow 2.6.3 the "Next Run" listed on the DAG page is still in the past. For example, I have a DAG that runs on the first of the month at 8PM. The next run is 2023-09-01, 20:00:00, but the DAG UI for "Next Run" show 2023-08-01, 20:00:00, which is the data_interval_start, and is in the past. Wouldn't it be more accurate for this UI component to display the data_interval_end, which is the actual datetime of the next run?
It appears the commit in #31467 just changes the tooltip text, however I believe the true change needed is to change the actual UI component to use data_interval_end instead of data_interval_start for its "Next Run". Any thoughts?
calebAtIspot commentedon Jun 14, 2024
Agreed, UI is still confusing to a newcomer (speaking as a newcomer).