sanwar47 opened a new pull request, #66955: URL: https://github.com/apache/airflow/pull/66955
The polling loop introduced in #66144 to wait for the supervisor process to fully exit after grabbing results from the queue used the pattern `while job.is_running: await sleep(0.1)`. This trips ruff's ASYNC110 rule (flake8-async: avoid await inside a while-condition loop) and was causing the static-checks CI job to fail on every open PR. Fix: refactor to the equivalent while True / if not break form, which is ASYNC110-clean and has identical runtime behaviour. -- 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]
