-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Fix task removal when there's serdag change in versioned bundle #48956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7a5b293
49e12d0
c412057
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what's the purpose of this? I thought that with dag file processing, we are always tracking the latest version and we don't specify it here intentionally -- and i'm not even sure where this argument goes to in the interface
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 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 |
||
| callbacks=callback_to_execute_for_file, | ||
| selector=self.selector, | ||
| logger=logger, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.