fat-catTW commented on code in PR #69830:
URL: https://github.com/apache/airflow/pull/69830#discussion_r3589806447
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -815,7 +815,6 @@ def _refresh_dag_bundles(self, known_files: dict[str,
set[DagFileInfo]]):
except AirflowException as e:
self.log.exception("Error initializing bundle %s: %s",
bundle.name, e)
continue
- # TODO: AIP-66 test to make sure we get a fresh record from the db
and it's not cached
Review Comment:
Thank you for reviewing.
Yes. The change implements this TODO.
The lookup now avoid loading a cached ORM entity, and the added regression
test verifies that the manager reads updated bundle state from another session.
That is why the TODO is removed.
--
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]