Find and display the longest path
- Dominant language
- Python
- Stars
- 46.9k
- Forks
- 17.8k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 483
Description
### Description
Create a view in the graph UI by pressing two tasks that are dependent on one another and show the longest path and how much time it will take(by using task duration over the recent history).
We created this feature in our own old airflow but I don't see why this cannot be in apache airflow.
Here is an example:

### Use case/motivation
I'm trying to achieve a better visibility over the graph UI which I believe is the important UI in airflow.
This feature will help the oncalls figure out what the ETA of a certain flow
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Research direction
No file, test, or entry point is named. Start by locating the graph UI and the recent task-duration history used for the ETA, then clarify how selecting two dependent tasks defines the longest path; done means the path and estimated duration are displayed and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100