bbovenzi commented on issue #50501:
URL: https://github.com/apache/airflow/issues/50501#issuecomment-2877536068
Here is what I am thinking:
API changes:
- Add `deadline?: string` to the DagRunResponse
- In list dagruns, add deadline to`order_by`
- In list dagruns, add `missed_deadlines` filter for dagruns with a deadline
but that deadline is before the `last_scheduling_decision`
- In list dagruns, add `upcoming deadlines` filter for dagruns with a
deadline that is after datetime.now()
- In `{dag_id}/details` add `deadline?: { reference: string, interval:
string }` to DAGDetailsResponse
UI changes:
- Dag Details tab: Show the deadline reference and interval in the table
just like we do for latest dag version
- Dashboard: Add a list of upcoming deadlines under "stats" and a list of
missed deadlines underneath "history"
- Dag Runs table: Add a deadline column and style it with a "deadline state"
badge with an icon and color so a user can quickly see if the deadline is
upcoming, missed or successful
- Dag Run view: If a run has a deadline show it in the header card with the
same "deadline state" badge
- Dag Runs bar chart in DagCard and Dag Overview page: include some
indication for dag runs which missed their deadline
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]