JGoldman110 commented on PR #30267: URL: https://github.com/apache/airflow/pull/30267#issuecomment-1486062171
> Does this not apply to basically all attributes on `task`? The fix would be no more than a band-aid (and too easy to be undone) if that is the case. @uranusjr I don't look at it as a band-aid, my understanding is that a `queue` is assigned not to a task but to the instance of a task that relates to a particular DagRun. `task_instance_mutation_hook` is not called again when clearing a task instance, so any changes you make to a `queue` in the hook will no longer apply after clearing that task instance. Maybe a better approach would be to call `task_instance_mutation_hook` on clear to be able to apply same logic when task instance is first being created? -- 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]
