gvergnolle opened a new issue, #58335:
URL: https://github.com/apache/airflow/issues/58335

   ### Apache Airflow version
   
   3.1.2
   
   ### If "Other Airflow 2/3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When a task is in running state, the screen that shows past/current tasks 
runs duration doesn't update. It is useful to get an idea how it's doing 
compared to previous run or get an idea of when it will finish.
   
   ### What you think should happen instead?
   
   The graph should update to reflect the current duration of the task, similar 
to the DAG Run graph.
   
   ### How to reproduce
   
   Here's a simple DAG and a video to demonstrate the steps for reproduction.
   
   ```[python]
   import time
   import pendulum
   from airflow.sdk import (
       task,
       DAG,
   )
   
   with DAG(
       dag_id="test",
       schedule="@daily",
       catchup=True,
       start_date=pendulum.datetime(2025, 11, 1),
       max_active_runs=1,
       is_paused_upon_creation=True,
   ) as dag:
   
       @task()
       def sleep_task():
           time.sleep(10)
   
       sleep_task()
   ```
   
   
https://github.com/user-attachments/assets/7d70f55e-4592-41c4-9632-a9eccc445090
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-standard==1.9.1
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   This is just a hint... I wonder if it's related to the fact that the running 
task doesn't update its duration while it's running. It's only defined once the 
task stops... 
   
   ### 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]

Reply via email to