anmolxlight opened a new pull request, #77382: URL: https://github.com/apache/airflow/pull/77382
Refs #77381 `_refresh_dag_bundles()` refreshes bundles serially inside the manager loop, so with many slow (e.g. Git) bundles the loop neither drains parser sockets nor collects results for the whole pass. This makes the loop call `_service_processor_sockets(timeout=0)` and `_collect_results()` between individual bundle refreshes. Parser children no longer stall on IPC and finished results are handled promptly during long passes. Not done here: parallel/out-of-process fetches (the issue's other options) - larger design change, left for follow-up. Test: new unit test asserts collection runs between two bundle refreshes. `uv run --project airflow-core pytest airflow-core/tests/unit/dag_processing/test_manager.py -k refresh_dag_bundles` -> 15 passed. -- 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]
