Executor Synchronous callback workload#61153
Merged
ferruzzi merged 32 commits intoapache:mainfrom Feb 28, 2026
Merged
Conversation
o-nikolas
reviewed
Jan 28, 2026
jscheffl
reviewed
Jan 29, 2026
providers/celery/src/airflow/providers/celery/executors/celery_executor.py
Outdated
Show resolved
Hide resolved
e39a3b2 to
eab0d0f
Compare
o-nikolas
reviewed
Feb 11, 2026
Contributor
o-nikolas
left a comment
There was a problem hiding this comment.
Left some comments, but overall a large/comprehensive PR that's doing some heavy lifting. Pretty cool what's being setup here, but needs careful review by some more folks I think.
@ramitkataria should have a look through the callbacks stuff
And then maybe @jscheffl for another pair of eyes on the executor/scheduler bits?
2e1dbde to
a322da1
Compare
It was a much more invasive change than intended and may be considered breaking. We can do that later if we decide we want it.
dbf3a52 to
e7622f1
Compare
This was referenced Feb 28, 2026
1 task
55 tasks
dominikhei
pushed a commit
to dominikhei/airflow
that referenced
this pull request
Mar 11, 2026
* Synchronous callback support for BaseExecutor, LocalExecutor, and CeleryExecutor Add support for the Callback workload to be run in the executors. Other executors will need to be updated before the can support the workload, but I tried to make it as non-invasive as I could. Co-authored-by: Sean Ghaeli <seanghaeli@gmail.com> Co-authored-by: Ramit Kataria <ramitkat@amazon.com>
1 task
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for the Callback workload to be run in the executors. Other executors will need to be updated before they can support the workload, but I tried to make it as non-invasive as I could.
This is the bulk of the work required to allow synchronous callbacks to be used in DeadlineAlerts. For example, this now works in LocalExecutor:
Co-author: Builds on work handed off by @seanghaeli and research from @ramitkataria; if I did this right then they should be getting co-author credits, I think?
Was generative AI tooling used to co-author this PR?
Cline (Claude Sonnet 4.5) was used for debugging and suggesting some unit test edge cases.
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.