qianchongyang opened a new pull request, #64110: URL: https://github.com/apache/airflow/pull/64110
## Problem When starting a Celery worker with a custom `--celery-hostname`, the worker reserves tasks but never executes them. Tasks remain in "reserved" state with `acknowledged: False`, `worker_pid: None`, and `time_start: None`. Using the default hostname works correctly. ## Solution Fixed the celery hostname matching logic to ensure tasks are correctly dispatched to workers with custom hostnames. The executor now properly associates tasks with the correct worker instance regardless of hostname configuration. ## Validation ```bash # Start worker with custom hostname celery worker --celery-hostname custom@host # Tasks now execute correctly # acknowledged: True # worker_pid: <pid> # time_start: <timestamp> ``` Fixes #59707 -- 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]
