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/07/22 21:10:46 UTC

[GitHub] [airflow] Jorricks opened a new pull request #17179: FIX Task Instance details not showing queued_by_job_id and external_executor_id values

Jorricks opened a new pull request #17179:
URL: https://github.com/apache/airflow/pull/17179


   **Description of the problem:**
   Currently there is a BUG inside the Task Instance details (/task) view.
   It loads the TaskInstance by calling `TI(task, execution_date)` and then uses `refresh_from_db()` to refresh many fields that are no filled in yet.
   However, the assumption is made in that case that it refreshes all values, which it does not.
   `external_executor_id` and `queued_by_job_id` are not updated at all and `executor_config` is only instantiated by the original `TI(task, execution_date)` call but also not updated in `refresh_from_db()`.
   This also shows in the UI where these values are always showing None, while the TaskInstance view shows you these values are not None.
   
   **The changes in the PR:**
   1. Changes to the `update_from_db()` method to include the missing three values.
   2. A new test that checks we are really updating ALL values in `update_from_db()`
   3. Removal of an incorrect comment as we do need the `execution_date` for that view.
   


-- 
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] kaxil merged pull request #17179: FIX Task Instance details not showing queued_by_job_id and external_executor_id values

Posted by GitBox <gi...@apache.org>.
kaxil merged pull request #17179:
URL: https://github.com/apache/airflow/pull/17179


   


-- 
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] github-actions[bot] commented on pull request #17179: FIX Task Instance details not showing queued_by_job_id and external_executor_id values

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #17179:
URL: https://github.com/apache/airflow/pull/17179#issuecomment-885257847


   The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.


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