Repository navigation
Conversation
This adds a new view under each dag that provides quick access to a table of the most recent dag runs and their status. The previous views providing similar functionality are - Tree, which can be a bit hard to navigate for new users and if you are looking for one specific dagrun where you care more about input arguments or results, rather than execution date. - DAG Runs under the browse menu, which can be very hard to reach and requires user to fill in the dag id as search parameter each time to not get too many results. This new view is intended to provide a middle ground, containing all the details (and more) of that under DAG Runs, but with equally easy access as the tree view. Included is also a proof of concept for allow DAG authors to provide custom formatters to add arbitary columns in this new dagrun table. As example, you can provide links to downlaod results or logs, and can visualize the most important values of their specific dag, such as the input config. For dags which are more depending on user input, rather than the logical date and time tables. The idea is that adding new columns should be equally easy as writing a DAG and not require rebuilding webserver or providers. This final step is not finalized and is left open for suggestions on how to best proceed, given AIP-38 is in progress this might not be worth pursuing further.
|
Note that this change is just a very rough draft to get initial feedback on the direction of how to proceed. There is another PR raised today also, providing the same thing #19921. |
|
Two PRs doing the same thing in the same day? What a coincidence. My feedback to this PR is the same. I think we can achieve this within the new tree view. I will write out a roadmap to prevent confusion in the future. For the extra columns, I do think it would be helpful to put any of that in the new dag run details page that was added in #19705 Edit: I'll keep this project board updated from now on: https://github.com/apache/airflow/projects/9 |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
This adds a new view under each dag that provides
quick access to a table of the most recent dag runs
and their status.
The previous views providing similar functionality are
if you are looking for one specific dagrun where you care
more about input arguments or results, rather than execution date.
and requires user to fill in the dag id as search parameter
each time to not get too many results.
This new view is intended to provide a middle ground, containing all
the details (and more) of that under DAG Runs, but with equally easy
access as the tree view.
Included is also a proof of concept for allow DAG authors to provide
custom formatters to add arbitary columns in this new dagrun table.
As example, you can provide links to downlaod results or logs, and
can visualize the most important values of their specific dag, such
as the input config. For dags which are more depending on user input,
rather than the logical date and time tables.
The idea is that adding new columns should be equally easy as writing
a DAG and not require rebuilding webserver or providers.
This final step is not finalized and is left open for suggestions
on how to best proceed, given AIP-38 is in progress this might
not be worth pursuing further.
How it looks: