ephraimbuddy commented on code in PR #48956:
URL: https://github.com/apache/airflow/pull/48956#discussion_r2036034191
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -871,6 +871,7 @@ def _create_process(self, dag_file: DagFileInfo) ->
DagFileProcessorProcess:
id=id,
path=dag_file.absolute_path,
bundle_path=cast("Path", dag_file.bundle_path),
+ bundle_version=dag_file.bundle_version,
Review Comment:
This is needed so that we specifically store dag_id and the version in
dagbag.dags.
If you have two dagruns running, with different number of task instances,
you will notice that when the Scheduler does `dag_run.update_state`, some task
will be marked removed because the retrieved dag from dagbag has fewer tasks
--
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]