adrianrego opened a new issue, #41613: URL: https://github.com/apache/airflow/issues/41613
### Apache Airflow version 2.10.0rc1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? Using new `end_from_trigger` option leaves successful tasks without an end_date. This doesn't impact downstream operations, but the "duration" for the task in the UI is now considered as from the start of the DagRun to "now" and updates with each reload. This minimizes the utility of the the Gannt Chart and Task Duration views. ### What you think should happen instead? Tasks that are ended from a Trigger should be updated with a proper end_date in order to properly assess task duration (including deferred time). ### How to reproduce Defer a task with `end_from_trigger = True`. After task is completed check task duration in Tree View or Gantt Chart. Duration updates everytime UI is reloaded and is considered from the the time of the DagRun until now. ### Operating System All ### Versions of Apache Airflow Providers Latest release versions. ### Deployment Official Apache Airflow Helm Chart ### Deployment details K8S with KubernetesExecutor ### Anything else? _No response_ ### Are you willing to submit 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) -- 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]
