use AIRFLOW__CELERY__POOL=solo when debugging celery-worker#56868
Merged
potiuk merged 2 commits intoapache:mainfrom Oct 21, 2025
Merged
use AIRFLOW__CELERY__POOL=solo when debugging celery-worker#56868potiuk merged 2 commits intoapache:mainfrom
potiuk merged 2 commits intoapache:mainfrom
Conversation
Contributor
Author
|
Edit: It is possible to debug. But, as multiple tasks are going to be run in parallel, its very hard to debug. IDE jumps between processes and its confusing. Having pool set to Solo made my experience much easier |
rawwar
commented
Oct 21, 2025
Jonpaco23
pushed a commit
to Jonpaco23/airflow
that referenced
this pull request
Oct 21, 2025
…6868) * use AIRFLOW__CELERY__POOL=solo when debugging celery-worker * Update scripts/in_container/bin/run_tmux
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.
by default, we use pre-fork and
Its not possibleto debug these as each of them run in separate process. Changing it to solo as this makes tasks to run in main thread in sequential order. Should be helpful when debugging. I'm trying to make this work. But, as of now, #56865 is blocking me to continue.