gyli commented on code in PR #49439:
URL: https://github.com/apache/airflow/pull/49439#discussion_r2051628157
##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -1168,16 +1169,29 @@ def set_state(self, state: str | None, session: Session
= NEW_SESSION) -> bool:
current_time = timezone.utcnow()
self.log.debug("Setting task state for %s to %s", self, state)
- if self not in session:
Review Comment:
This seems to be still useful after the refactoring. Why is it also deleted?
--
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]