You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/11/27 15:02:09 UTC

[PR] Stop converting state to TaskInstanceState when it's None [airflow]

hussein-awala opened a new pull request, #35891:
URL: https://github.com/apache/airflow/pull/35891

   This PR fixes a bug introduced by #32627, where we try to get the state from the database when it's None in the executor, and for some reason, it's None in the database(maybe the task is cleared or its state is set manually to None...); in this case, we cannot convert it to `TaskInstanceState`, and we should use None as before the mentioned PR.
   
   closes: #35888


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


Re: [PR] Stop converting state to TaskInstanceState when it's None [airflow]

Posted by "tirkarthi (via GitHub)" <gi...@apache.org>.
tirkarthi commented on PR #35891:
URL: https://github.com/apache/airflow/pull/35891#issuecomment-1828173818

   Thanks @hussein-awala for the quick fix. We will try to test this patch in next Kubernetes provider release since this missed the current RC provider candidate.


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


Re: [PR] Stop converting state to TaskInstanceState when it's None [airflow]

Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala merged PR #35891:
URL: https://github.com/apache/airflow/pull/35891


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