Jozef Fekiac created AIRFLOW-3553:
-------------------------------------

             Summary: Microseconds in manually triggered tasks break "mark as 
success" 
                 Key: AIRFLOW-3553
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3553
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: 1.10.1, 1.9.0, 2.0.0
            Reporter: Jozef Fekiac


 

If a user wants to mark success on a dagRun with microseconds (I.e. manually 
triggered from GUI), user can't mark tasks as success. 

 

in 1.9, replace microseconds is a default behaviour, as per code, but 

[https://github.com/apache/incubator-airflow/blob/v1-9-stable/airflow/www/views.py#L915]

doesn't handle the microseconds, setting run_id

resulting in **

[https://github.com/apache/incubator-airflow/blob/v1-9-stable/airflow/api/common/experimental/trigger_dag.py#L37]

that has run_id with microseconds, disabling the "mark as success function".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to