Skip to content

Conversation

@jaketf
Copy link
Contributor

@jaketf jaketf commented Apr 1, 2025

There are no longer any single process executors so this field is not needed.
This field is False in existing executors, which means we currently have a runtime dependency in the task runner on the executor just to check a field that is always false and does nothing.

This allows us to remove this runtime dependency of the task runner on loading the executor class when running sensors which used to override the prepare_for_execution to load the executor class to perform this no longer necessary check

There are no longer any single process executors so this field is
not needed.

This allows us to remove a runtime dependency of the task runner
on loading the executor class when running sensors which used to
override the prepare_for_execution to load the executor class to
check this field which is False in all supported executors.
@ashb ashb removed area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues provider:celery labels Apr 1, 2025
@kaxil kaxil merged commit 69f8682 into apache:main Apr 2, 2025
72 checks passed
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
)

There are no longer any single process executors so this field is
not needed.

This allows us to remove a runtime dependency of the task runner
on loading the executor class when running sensors which used to
override the prepare_for_execution to load the executor class to
check this field which is False in all supported executors.
diogotrodrigues pushed a commit to diogotrodrigues/airflow that referenced this pull request Apr 6, 2025
)

There are no longer any single process executors so this field is
not needed.

This allows us to remove a runtime dependency of the task runner
on loading the executor class when running sensors which used to
override the prepare_for_execution to load the executor class to
check this field which is False in all supported executors.
simonprydden pushed a commit to simonprydden/airflow that referenced this pull request Apr 8, 2025
)

There are no longer any single process executors so this field is
not needed.

This allows us to remove a runtime dependency of the task runner
on loading the executor class when running sensors which used to
override the prepare_for_execution to load the executor class to
check this field which is False in all supported executors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Executors-core LocalExecutor & SequentialExecutor area:task-sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants