apache / apache/airflow

Find and display the longest path

Open
#39,938 4 comments 0 reactions 0 assignees View on GitHub
area:UI kind:feature
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:

![Screenshot 2024-05-30 at 11 47 45](https://github.com/apache/airflow/assets/131352704/62a1a2e5-33ef-439f-99af-efc36f44d1da)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.