You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/04 12:48:41 UTC

[GitHub] [airflow] mongakshay opened a new issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

mongakshay opened a new issue #17413:
URL: https://github.com/apache/airflow/issues/17413


   When clicking the "Update" button in the "Tree View" of a DAG ID, I notice that the below listed DAG runs get cleared on every click, and if I keep clicking, it first clears all the runs, and continued clicking brings them back. 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi edited a comment on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi edited a comment on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823






-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] uranusjr commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-949375013


   Do we use timestamp to pass datetimes from Python to JavaScript? I know there are some leap second implementation differences between Python's `datetime` and JavaScript `Date` that may cause differences at the second level (although that does not explain _three_ seconds; I think the difference is thirty something)


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] uranusjr commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941641096


   I wonder why that's the case. `get_latest_execution_date` simply fetches the `execution_date` from the database, which *should* match the value in the dropdown... Do we do addition cleanup in the dropdown?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823






-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-942343656


   Ignore the 10 vs 1 second thing. That is just a coincidence with the DAG runs I was testing on.
   
   They mostly appear to be off-by-one errors of the date provided to the dropdown. We should to make sure to round the second up instead of down.
   
   I don't know yet where the 3 second difference in the screenshot is coming from though...


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi edited a comment on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi edited a comment on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823






-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi edited a comment on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi edited a comment on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823


   ![Screen Shot 2021-10-12 at 11 25 36 AM](https://user-images.githubusercontent.com/4600967/136995930-d291125c-326b-4a22-9cb5-ea47de84f04c.png)
   
   ~~It seems that `dag.get_latest_execution_date()` is only precise to 10 second intervals. So an execution date at :11 will be rounded to :10 and no longer be <= the base_date form.~~
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823


   ![Screen Shot 2021-10-12 at 11 25 36 AM](https://user-images.githubusercontent.com/4600967/136995930-d291125c-326b-4a22-9cb5-ea47de84f04c.png)
   
   It seems that `dag.get_latest_execution_date()` is only precise to the 10 second intervals. So an execution date at :11 will be rounded to :10 and no longer be <= the base_date form. 
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] uranusjr commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941641096


   I wonder why that's the case. `get_latest_execution_date` simply fetches the `execution_date` from the database, which *should* match the value in the dropdown... Do we do addition cleanup in the dropdown?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi edited a comment on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi edited a comment on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823


   ![Screen Shot 2021-10-12 at 11 25 36 AM](https://user-images.githubusercontent.com/4600967/136995930-d291125c-326b-4a22-9cb5-ea47de84f04c.png)
   
   It seems that `dag.get_latest_execution_date()` is only precise to 10 second intervals. So an execution date at :11 will be rounded to :10 and no longer be <= the base_date form. 
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-929076178


   Nevermind, I have now replicated the issue.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] johnson-jay-l commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
johnson-jay-l commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-1064525363


   I reproduced the issue with the following steps:
   
   1. Go to any dag and click the "update" button next to the "runs" drop-down, with or without changing the value in the drop-down. 
   2. Go to the "graph view" and them back to the "tree view"
   3. The URL now has the base_date hardcoded.  When the next dagrun starts it will be hidden because of the base_date hardcoding in the url, and the previous dagrun will appear as if it's the current dagrun.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-892629143


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-929076178


   Nevermind, I have now replicated the issue.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-892646712


   @mongakshay Could you provide more details?
   - What version of Airflow are you using?
   - Which button are you pressing? The refresh button in the graph below or the one that sits with the Run and Delete buttons?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-892629143


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi edited a comment on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi edited a comment on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-941191823






-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #17413: Clicking the "Update" button in the "Tree View" of the DAG deletes the DAG runs from UI

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #17413:
URL: https://github.com/apache/airflow/issues/17413#issuecomment-892646712


   @mongakshay Could you provide more details?
   - What version of Airflow are you using?
   - Which button are you pressing? The refresh button in the graph below or the one that sits with the Run and Delete buttons?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org